
Naming Java Proxy Objects
Use
Compared to ABAP, Java has fewer restrictions regarding names for labels (for example, for classes or data types). This documentation deals with cases where proxy generation cannot copy names without making adjustments.
Features
The length of labels in Java is practically unlimited and a distinction is made between uppercase and lowercase. For this reason, naming conflicts are very unlikely. If a naming collision occurs, proxy generation terminates and triggers an error message.
The following conversions are made during generation:
Name Conversions in Java Proxy Generation
|
Conversion |
Reason |
|
In class names the first letter is changed to uppercase. |
Mapping of names based on Java conventions and the JAX Rpc specification ( http://java.sun.com/xml/downloads/jaxrpc.html).These mappings should avoid naming conflicts. |
|
Java key words are preceded by an underscore (for example, ‘ _private'). |
|
|
The system attaches the WSDL tags '_ PortType', '_Type' and '_Message' to the corresponding label name. |
|
|
The Java package name is derived from the namespace that the object is assigned to. |

Some operating systems have fixed conventions for file names. In Windows, for example, uppercase characters within a file name are replaced by lowercase characters. Therefore, the file name FlightBooking would become Flightbooking.