cancel
Showing results for 
Search instead for 
Did you mean: 

Problems in managing SOAP response messages

Former Member
0 Kudos

Hi experts,

in a receiver SYNC SOAP Scenario I have problems in managing SOAP response. We are on XI 7.0 SP14.

Response are of two differents types showed below. As you can see the 2 messages have different tags.

I'm able to manage first (successful) message, but I don't know how to manage the second.

Could you help me?

Thanks

Fabio

Response after successfully receiving and processing a digital COC

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

  <soap:Body>

    <UploadIviDataResponse xmlns="http://iviservice.rdw.nl/" />

  </soap:Body>

</soap:Envelope>

Response returned in case an error occurs

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

  <soap:Body>

    <soap:Fault>

      <faultcode>soap:Client</faultcode>

      <faultstring>Exception in UploadIviData</faultstring>

      <detail>

        <ServerMessages xmlns="http://iviservice.rdw.nl/">

          <ExceptionMessage>No client certificate received</ExceptionMessage>  ß other errors can be mentioned here

        </ServerMessages>

      </detail>

    </soap:Fault>

  </soap:Body>

</soap:Envelope>

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member186851
Active Contributor
0 Kudos

Hello Fabio,

You can try with Fault messages as well.Below discussion might be helpful.

Ho to process Fault Message (RFC-PI-SOAP) | SCN

former_member182412
Active Contributor
0 Kudos

Hi Fabio,

If the web service return 500 with system error then you need to do below

  • enable 'Do Not Use Soap Envelope' in receiver channel
  • add the parameter XMBWS.NoSOAPIgnoreStatusCode = true
  • you can handle both responses using java mapping.

Regards,

Praveen.