Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8538

Read SOAP Header Information

$
0
0

Hello All,


We want to read SOAP header from incoming message. We followed blog from William to use the option "Do not use SOAP Envelop". However, we are not sure if we need to modify Sender Interface to include Envelope / Header in the message structure itself.

 

How to Read SOAP Header Information

 

If we modify the message structure , it changes the WSDL as well and generating request message something like below :

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:aif="urn://transport.nsw.gov.au/test/poc/aif">

   <soapenv:Header/>

   <soapenv:Body>

      <aif:Envelope>   <------- Added by Modifying the structure

         <Header>

            <FileType>?</FileType>

         </Header>

         <Body>

            <MessageHeader>

               <!--Optional:-->

 

 

How can we use  "Do not use SOAP Envelop" feature without modifying the WSDL structure?

 

If we don't modify the message structure , it is failing to identify the receiver and also we would not be able to see the fields while doing graphical mapping.


Thanks !!


Viewing all articles
Browse latest Browse all 8538

Trending Articles



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