You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2003/12/03 18:26:24 UTC
DO NOT REPLY [Bug 25168] New: -
Call invoke() method generates SOAP env with empty xmlns elements
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25168>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25168
Call invoke() method generates SOAP env with empty xmlns elements
Summary: Call invoke() method generates SOAP env with empty xmlns
elements
Product: Axis
Version: 1.1
Platform: PC
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: Other
Component: Serialization/Deserialization
AssignedTo: axis-dev@ws.apache.org
ReportedBy: mitchwinkle@yahoo.com
When calling invoke() to create the SOAP envelope and send it to the target web
service, for each body element after the service tag, axis generates an empty
"xmlns" parameter followed by the correct namespace and type. This breaks
Weblogic's SOAP container. If I test the XML against Weblogic container with
their online XML test tool, and remove the empty namespace params, it works fine.
I tried setting SEND_TYPE_ATTR property to "false" but it does not seem to have
any effect on the generated XML.
Example:
<soapEnv:body>
<service_name xmlns="http://my.namespace/path">
<comHdr xmlns="" xmlns:ns1="http://my.namespace/path"
xsi:type="ns1:CommonHeader">