SOAP Envelope namespace not seen in response
Posted: Mon Aug 25, 2008 6:33 pm
Hello
For logging requirement, i am creating a log message of type SOAP that contains request to our application and response from theapplication. These request and response messages are of type SOAP. The request and response messages are enclosed in CDATA tags.
After the required log message is created as an outcome of a transform action, i am not able to see the namespace of the "soapenv" prefix in the request message that is contained in the log message. (prob because the prefix of "Envelope" in log message and that of request is the same) how to get the namespace in the request message also?
the log request is shown below:
<soapenv:Envelope xmlns:v002="http://www.company.com/schema/app/Loggi ... Types/V001" xmlns:v1="http://www.company.com/wsdl/app/EnterpriseLogging/V1_0" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dp="http://www.datapower.com/schemas/management">
<soapenv:Header/>
<soapenv:Body>
<v002:verbosityData>
<v002:request>
<soapenv:Envelope xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<soapenv:Body>
<!-- request message body -->
</soapenv:Body>
</soapenv:Envelope>
</v002:request>
<v002:response>
<ns1:Envelope xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/" xmlns:osa="http://www.company.com/xmlschema/resour ... cture/v001">
<ns1:Body>
<!-- response message body -->
</ns1:Body>
</ns1:Envelope>
</v002:response>
</v002:verbosityData>
</soapenv:Body>
</soapenv:Envelope>
For logging requirement, i am creating a log message of type SOAP that contains request to our application and response from theapplication. These request and response messages are of type SOAP. The request and response messages are enclosed in CDATA tags.
After the required log message is created as an outcome of a transform action, i am not able to see the namespace of the "soapenv" prefix in the request message that is contained in the log message. (prob because the prefix of "Envelope" in log message and that of request is the same) how to get the namespace in the request message also?
the log request is shown below:
<soapenv:Envelope xmlns:v002="http://www.company.com/schema/app/Loggi ... Types/V001" xmlns:v1="http://www.company.com/wsdl/app/EnterpriseLogging/V1_0" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dp="http://www.datapower.com/schemas/management">
<soapenv:Header/>
<soapenv:Body>
<v002:verbosityData>
<v002:request>
<soapenv:Envelope xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<soapenv:Body>
<!-- request message body -->
</soapenv:Body>
</soapenv:Envelope>
</v002:request>
<v002:response>
<ns1:Envelope xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/" xmlns:osa="http://www.company.com/xmlschema/resour ... cture/v001">
<ns1:Body>
<!-- response message body -->
</ns1:Body>
</ns1:Envelope>
</v002:response>
</v002:verbosityData>
</soapenv:Body>
</soapenv:Envelope>