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

handle soap response message in single structure where either response or fault is received

$
0
0

I have a no-soap scenario, where i need to handle the soap response and the soap fault using the same xslt/structure.

Either the SOAP response comes or the fault message comes.

I need to remove the soap envelope.

And accomodate both the messages using a single structure.

I do have the flexibility of changing the target hierarchy.

 

The response is like this

 

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

<soapenv:Envelope>

     <soapenv:Header>

     </soapenv:Header>

     <soapenv:Body>

               <out6:struct1>

                         <struct2>

                                   ...

                                   ...

                       </struct2>                 

               </out6:struct1>

     <s/oapenv:Body>

</soapenv:Envelope>


My fault message is as follows


<soapenv:Envelope>

     <soapenv:Header>

     </soapenv:Header>

     <soapenv:Body>

<soapenv:Fault>

          ...

</soapenv:Fault>

     <s/oapenv:Body>

</soapenv:Envelope>




Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>