You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have come across an issue where the Namespaces are moved from child XML node to the Parent XML Node.
I want to know the reason behind this change. Also, if there is a way to override this behavior?
To demonstrate the issue. I have created a sample WebService Client and Server. It does not require any additional setup.
The Client should be using the lower JDK version i.e JDK1.8_121 or below and server JDK1.8_141.
The server prints the SOAPMessage in the handleMessage of the MessageHandler. The Namespace which was with <arg0 in JDK 1.8_121 is moved to the <soapenv:Body with JDK1.8_141. WebServiceProj.zip
Here is the output for your reference.
Case 1. With JDK1.8_121
@server : handleMessage()......
*Message Start
This is an Inbound Request :
I have come across an issue where the Namespaces are moved from child XML node to the Parent XML Node.
I want to know the reason behind this change. Also, if there is a way to override this behavior?
To demonstrate the issue. I have created a sample WebService Client and Server. It does not require any additional setup.
The Client should be using the lower JDK version i.e JDK1.8_121 or below and server JDK1.8_141.
The server prints the SOAPMessage in the handleMessage of the MessageHandler. The Namespace which was with <arg0 in JDK 1.8_121 is moved to the <soapenv:Body with JDK1.8_141.
WebServiceProj.zip
Here is the output for your reference.
Case 1. With JDK1.8_121
@server : handleMessage()......
*Message Start
This is an Inbound Request :
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
SOAP-ENV:Header/
soapenv:Body
Kunal
</soapenv:Body>
</soapenv:Envelope>
Message End*
Case 1. With JDK1.8_141
@server : handleMessage()......
*Message Start
This is an Inbound Request :
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
SOAP-ENV:Header/
<soapenv:Body xmlns="http://jaxws.vmware.com/">
Kunal
</soapenv:Body>
</soapenv:Envelope>
Message End*
Attaching the
The text was updated successfully, but these errors were encountered: