The following are the steps to test and implement WS Consumer:
- Try to hit the endpoint of the Web Service with the XML request in the body using any third-party tool like SOAP UI, PostMan, etc., and check if you are getting the correct response or not.
- If you are able to get the desired outcome from Step 1 then create a test flow in Adeptia and use the below activities in a given sequence in the process flow.
Context Source > put-context-var > REST webservice Consumer > Context Target
Define the Parameter restRequest in Context Source and restResponse in Context Target. Refer to this document for more information. - Again, define the variable 'restRequest' in put-context-var and add the complete XML request in the value section.
If you are able to fetch the response from the above steps then implement this solution as per the requirement in the process flow so that the correct stream will reach to the Ws Consumer.
Comments
0 comments
Article is closed for comments.