Quantcast
Channel: WCF, ASMX and other Web Services
Viewing all articles
Browse latest Browse all 555

generate custom SOAP envelops

$
0
0

Hi i want to generate the soap envelop exactly like below...

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Header>
<ECPAh:login xmlns:ECPAh=[destination IP]></ECPAh:login>
<ECPAh:password xmlns:ECPAh=[destination IP]></ ECPAh:password>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<RSM:ReceiveSM xmlns:RSM=[destination IP]>
<message_type></message_type>
<application_id><application_id>
<timestamp></timestamp>
<message_id></message_id>
<language></language>
<message_text></message_text>
<originating_address></originating_address>
<destination_address></destination_address>
<telco></telco>
</RSM:ReceiveSM>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

There is a requirement where the requst and response from the wcf service should be exchanged in the above mentioned SOAP envelop format. How to write the message contract for this kind of requirement


Viewing all articles
Browse latest Browse all 555

Trending Articles



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