Application Platform 10.3 | Developing with Application Platform in Designer | About Using Services in Application Platform | Generating POJO Wrappers for IS Document Types and Specifications
 
Generating POJO Wrappers for IS Document Types and Specifications
 
Coding Considerations
When using Integration Server services with Application Platform projects, Application Platform generates the input and output signatures of the services inline. Instead of using these inline references with individual services, you can generate Plain Old Java Object (POJO) classes that wrap Integration Server native data structures, such as IS document types and specifications, and publish the generated wrapper packages to Integration Server. With POJOs, multiple Application Platform projects can reference those packages as dependencies.
*To generate POJO wrappers for IS document types and specifications:
1. In the Package Explorer view, right-click your project and select App Platform > IS Tools > IS Service Wizard.
Tip:
You can start the IS Service Wizard by pressing Ctrl+Shift+Z.
2. Select a destination project from the Project drop-down list.
You can select only projects for which the IS Service Extensions project facet is enabled.
3. Select the required IS document type or specification reference.
4. Click Finish.
Application Platform creates a package that contains the generated POJO wrapper for the IS document type or specification. You can find the package in the source directory, defined for the IS Service Extensions project facet. The default location is /genSource. The name of the package is: pub.parent_folder_name.reference_name.