[Home] [By Thread] [By Date] [Recent Entries]

  • To: <xml-dev@l...>
  • Subject: Extracting the SOAP body
  • From: <babu.eshwaramoorthy@w...>
  • Date: Thu, 31 Mar 2005 01:18:09 +0530
  • Thread-index: AcU1YWZ9TsdwCG8+S/W79+4jAL2NVA==
  • Thread-topic: Extracting the SOAP body


I am getting the below SOAP response. Is there any way to convert the
below SOAP response to my actual message(below) o extract the body of
soapoperation by removing all namespace arrtibute


From--SOAP Response->

<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<soapenv:Body>
		<stopRunningMandateResponse xmlns="urn:css">
			<McomStopRunningMandateResponse xmlns="">
				<ns1:Error_Code
xmlns:ns1="urn:css.simpay.er.mobile.belgacom.be">0</ns1:Error_Code>
			</McomStopRunningMandateResponse>
		</stopRunningMandateResponse>
	</soapenv:Body>
</soapenv:Envelope>


To- -----ACTUAL MESSAGE-->

<?xml version="1.0" encoding="UTF-8"?>
<!--Sample XML file generated by XMLSPY v2004 rel. 3 U
(http://www.xmlspy.com)--> <McomStopRunningMandateResponse
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="C:\jakarta-tomcat-5.0.28\webapps\ROOT\rm_
cc\css\pub\request_message_mandatedetails_css\css\Main.xsd">
	<Error_Code>0</Error_Code>
	<Error_Description>String</Error_Description>
</McomStopRunningMandateResponse>


Thanks in advance,
Babu



Confidentiality Notice

The information contained in this electronic message and any attachments to this message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or Mailadmin@w... immediately
and destroy all copies of this message and any attachments.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member