Posted: 22 May 2018 17:08 EDT Last activity: 30 May 2018 10:03 EDT
Can SOAP accept REST API Status Code? I have a system to which i interact through a ESB Layer Service
I have a requirement, where I need to send the SOAP XML to ESB Layer which will convert the SOAP request into REST JSON Request and Pass it to the External Service. External Service in turn passes the ESB Layer service with JSON response and ESB Layer convert that JSON response to SOAP XML Response. In between all these conversion , ESB Layer does not convert the status code as received from the External System.
My question, can Pega SOAP service accepts REST API status code? If yes, How it does that? If No, How can we achieve it.
Do you see http header as above when testing the soap service in SOAP UI? click on "Raw" tab in response right panel.
If you are getting the http header woith status code & content-type returned then it is fine other wise you have to create http header at ESB layer with valid values since pega will expect those header values.