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=13732>. 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=13732 WSDL2Java generates "" as namespace part of QNames in Stubs - causing 'xmlns=""' on the wire [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Additional Comments From [EMAIL PROTECTED] 2003-02-27 23:54 ------- After looking this over, it appears as if the problem has to do with the fact that the schema defined in your WSDL does not specify a targetNamespace attribute. The WSDL specification does not specify one way or the other whether or not a schema definition with a missing targetNamespace assumes the targetNamespace of the enclosing WSDL document. Going off my interpretation of the XML Schema specification, in order to declare that a given schema type is part of a namespace, you must use the targetNamespace attribute on the xsd:schema tag. In other words, your schema does not (or at least should not) inherit the WSDL documents namespace and therefore your defined elements do not belong to any namespace thus the justification for the xmlns="" attribute. To correct this problem, you should associate your schema with a namespace. After running a couple of tests, this should solve the problem. As far as I can tell, nothing needs to be done to the Axis code.
