xsl-list
[Top] [All Lists]

Question on SOAP

2005-03-30 12:44:18


Hi All,

I am invoking a webservice and getting the below response.
Can anyone tell me why the elements in the response message contains the
attribute "xmlns".



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

This "xmlns" attribute is creating problem when I try to parse the
response message. I am getting the below errror "The document is not
well-formed xml document . Unrecoverable errors encountered while
parsing:org.xml.sax.SAXParseException: Attribute "xmlns" was already
specified for element "stopRunnigMandateResponse".

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(_at_)wipro(_dot_)com immediately
and destroy all copies of this message and any attachments.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>