Examples in this guide use the Java versions of the APIs mentioned above. This convention of using the Java APIs has an important implication in the code examples:

Most types of identifiers are set in the constuctor rather than in a setter method. For example:

 ModuleId moduleId = new ModuleId("File System");

If you are generating client stubs, most types of identifiers are set using a setter method. For example:

 ModuleId moduleId = new ModuleId();
 moduleId.setId();

The specific setter usage depends on the application you use to generate client stubs. For example, setter usage varies in stubs generate with Apache Axis and Apache CXF.


Copyright © Legal Notices