Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

Fault message structure at PI

$
0
0

Hi,

 

In one of our scenario my Webservice client said that they will return a SOAP fault message in case of any application error.

 

The structure will look like as below.

 

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
  <faultcode>SOAP-ENV:Server</faultcode>
<faultstring xml:lang="en">error message</faultstring>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

How do I define my SOAP fault message structure at PI.

I use some XML/xsd converter to convert client fault xml to xds, but it is not giving me correct xsd. faultcode and faultstring getting created as two separate MT.

 

Regards,

Navneet


Viewing all articles
Browse latest Browse all 7030

Trending Articles