Discussion

349
Views
Close popover
Deepak Chhabra (DeepakC9)
Kaiser Permanente

Kaiser Permanente
US
DeepakC9 Member since 2012 1 post
Kaiser Permanente
Posted: October 6, 2015
Last activity: October 6, 2015
Closed

How to customize SOAP fault messages in 5.5? And, How to add fault tag in the generated WSDL?

We are working on V5.5 sp2. We are facing the below challenges. There is a solution for below issues in 6.x. Can anyone help find the workaround or a solution to get around this issue?

1. How can we customize SOAP fault messages like below to have a <detail> tag under <Fault> tag ?

<soapenv:Fault>
         <faultcode>soapenv:Server</faultcode>
         <faultstring>Nation Rating Tool Exception</faultstring>
         <detail>
            <ns3:ServiceException xmlns:ns3="http://abc.org/dummy/services/test/v1" xmlns:ns2="http://abc.org/dummy/services/test/v1/types">
               <ns2:exception>
                  <ns2:severity>ERROR</ns2:severity>
                  <ns2:type>BUSINESS</ns2:type>
                  <ns2:code>4004</ns2:code>
            </ns3:ServiceException>
         </detail>
      </soapenv:Fault>
 

2. How can the generated WSDL show fault tags?

 

 

Data Integration
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Discussion, please write a new Discussion.