vikaskalra
Technical User
Hi !
I have a SOAP - XML string :-
<SOAP-ENV:Envelope xmlns:xsi=" xmlns:xsd=" xmlns:SOAP-ENC=" xmlns:SOAP-ENV=" xmlns:clr=" SOAP-ENV:encodingStyle="<SOAP-ENV:Body>
<a1:iStruct id="ref-1" xmlns:a1=" <CustomerID id="ref-3">WOLZA</CustomerID>
<CompanyName id="ref-4">Wolski Zajazd</CompanyName>
<ContactName id="ref-5">Zbyszek Piestrzeniewicz</ContactName>
<ContactTitle id="ref-6">Owner</ContactTitle>
<Address id="ref-7">ul. Filtrowa 68</Address>
<City id="ref-8">Warszawa</City>
<Region id="ref-9">Test Region</Region>
<PostalCode id="ref-10">01-012</PostalCode>
<Country id="ref-11">Poland</Country>
<Phone id="ref-12">(26) 642-7012</Phone>
<Fax id="ref-13">(26) 642-7012</Fax>
</a1:iStruct>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Now I want to remove the headers i.e. <SOAP-ENV:Envelope> and <SOAP-ENV:Body> tags, as I want to extract the other data inside these tags. In XML, I was able to do this by using DocElement.SelectNodes, and find the exact node and then extract the content Using OuterXml.
Is there any way I can do this in SOAP ?
Thanx in advance for the help,
Vikas
I have a SOAP - XML string :-
<SOAP-ENV:Envelope xmlns:xsi=" xmlns:xsd=" xmlns:SOAP-ENC=" xmlns:SOAP-ENV=" xmlns:clr=" SOAP-ENV:encodingStyle="<SOAP-ENV:Body>
<a1:iStruct id="ref-1" xmlns:a1=" <CustomerID id="ref-3">WOLZA</CustomerID>
<CompanyName id="ref-4">Wolski Zajazd</CompanyName>
<ContactName id="ref-5">Zbyszek Piestrzeniewicz</ContactName>
<ContactTitle id="ref-6">Owner</ContactTitle>
<Address id="ref-7">ul. Filtrowa 68</Address>
<City id="ref-8">Warszawa</City>
<Region id="ref-9">Test Region</Region>
<PostalCode id="ref-10">01-012</PostalCode>
<Country id="ref-11">Poland</Country>
<Phone id="ref-12">(26) 642-7012</Phone>
<Fax id="ref-13">(26) 642-7012</Fax>
</a1:iStruct>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Now I want to remove the headers i.e. <SOAP-ENV:Envelope> and <SOAP-ENV:Body> tags, as I want to extract the other data inside these tags. In XML, I was able to do this by using DocElement.SelectNodes, and find the exact node and then extract the content Using OuterXml.
Is there any way I can do this in SOAP ?
Thanx in advance for the help,
Vikas