Skip to Content
avatar image
Former Member

SOAP TO REST configuration

Hi,

I have scenario SOAP TO REST,I have a end url and i want post the data to end point .

not yet used REST adapter can any tell me the how to configure the REST receiver adapter.

what are the fields have to configure.

Thanks,

Kumar

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Apr 17, 2017 at 12:50 PM

    Hello Kumar,

    Let's put the things straight.

    As your requirement consists in SOAP to REST scenario, I will cover only the required fields, so bear in mind:

    - On the sender side: SOAP adapter: Just create a single sender adapter type SOAP

    - On the receiver side: REST adapter:

    • REST URL tab: Place the endpoint on URL pattern field
      You're able to set param values during this step, for example, a field in xml sender which must be filled in the url.
    https://<endpoint>?id={id}

    In the Pattern Variable Replacement block, you should configure the XPath which points to the url param.

    • REST operation tab: What type of HTTP operation is request used for? Unfortunatellly, only CRUD operations are allowed
    • Data format tab: In this tab, you should tell to the adapter what type of data are being transported. The adapter will be able to transform the messagem into xml or json depending of the integration direction. For synchronous scenarios, Response Format block should be fill with the response message type and namespace.

    • HTTP Header tab: If header values are necessary, they should be set on this tab. For instance, Authorzation for access in security connections in GET requests, or Content-type for POST
    • For HTTPS, download the root certificate and upload it in NWA>Certificate and keys>TrustedCAs. Adapter will check the certificate automatically while integrating.
    • Very important: Handshake failure may occurs during integration due to unmatch TSL or missing SSL protocol. Goto module tab and set the parameter useJDKSSF as true.

    It's all you need to know about required fields in rest adapter

    Best regards,
    Arthur Silva

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks for your solution for rest adapter..The below point is very much useful..

      • For HTTPS, download the root certificate and upload it in NWA>Certificate and keys>TrustedCAs. Adapter will check the certificate automatically while integrating.
      • Very important: Handshake failure may occurs during integration due to unmatch TSL or missing SSL protocol. Goto module tab and set the parameter useJDKSSF as true.
  • Jan 31 at 04:44 AM

    You can check the below link it should have all the details required

    https://blogs.sap.com/2014/12/18/pi-rest-adapter-dont-be-afraid/

    Add comment
    10|10000 characters needed characters exceeded