Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Figure 24: Schema of port parent_child1_GET_Response

Functional Demonstration

Image Removed
Figure 25: Invoking Yahoo RESTful search API using RESTConsumer.

Above figure illustrates using RESTConsumer to invoke the Yahoo Search API. The WADL is populated from the sample invocation of yahoo API using Load from URL functionality described in the configuration section. The sample request and response messages are as shown in the subsequent figures below respectively.

Image Removed
Figure 26: Sample request

Image Removed
Figure 27: Sample response

 

Refer to the REST Services section for a detailed demonstration of functionalities of each of the below:

Note

These scenarios involve the RESTStub microservice as well, which works in conjunction with RESTStub. Refer to the RESTStub documentation to configure and run the event processes.

Useful Tips

  • To invoke URL of a RESTful service, use the functionality Load WADL from URL as demonstrated in Functional Demonstration section.
  • If RESTConsumer is used to invoke RESTStub which is running on a peer server with both jms ssl enabled and jetty ssl enabled, the keystore used to connect to jetty ssl is to be imported into jms ssl keystore %FIORANO_HOME%\esb\server\profiles\certs\jssecacerts.
  • When the content type of request is application/octet-stream the content is sent as bytes content in the message, this will be present as bytes property. This can be retrieved as Base 64 encoded string in mapper using the funclet Byte-Content in JMS Message funclets.
  • For invocation of RESTful services whose base URL is dynamic, use the elements ResourceURL and Parameters from the request schema.
  • For dynamic invocation, if empty values are allowed in the query parameters, they need to be concatenated to the ResourceURL element.

...

Adaptavist ThemeBuilder EngineAtlassian Confluence