1. Enable the Generate XML Beans option in the Ports Schema Structure panel.



  2. After creating the microservice, register the microservice.

  3. In eStudio open Java Perspective and navigate to the microservice in the Package Explorer panel.

    Java Classes related to the schema gets generated.

  4. In the BookStore document, the input can be parsed in different ways (XML as string, file, etc) as seen in the fgure above.

  5. Open the "RequestProcessor.java" class under the com.fiorano.esb.service package.

  6. Users can access input in this class and can modify it accordingly.

    Sample

  7. Re-register the microservice again.

  8. A sample application is created with Feeder, custom microservice and Display as below.

    Sample Application

  9. When the application is launched, the following scenario can be seen; the ouput is generated in the Display microservice according to the input processed in RequestProcessor.java class as mentioned in Step 6.

Icon

Refer to the Creating Microservices from Fiorano eStudio for steps involved in creating custom microservice.

Adaptavist ThemeBuilder EngineAtlassian Confluence