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=8296>. 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=8296 WSDL2Java forces use of namespace prefix in type attribute value [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From [EMAIL PROTECTED] 2002-04-23 18:48 ------- There are a couple of things messed up here. First, you shouldn't use a prefix when defining the currentDateInput complexType. It is automatically defined in the namespace defined by targetNamespace. <xsd:complexType name="tns:currentDateInput"> <xsd:sequence> <xsd:element ref="pattern" minOccurs="1" maxOccurs="1" /> <xsd:element ref="timezone" minOccurs="0" maxOccurs="1" /> <xsd:element ref="locale" minOccurs="0" maxOccurs="1" /> <xsd:any processContents="lax" minOccurs="0" maxOccurs="unbounded" /> </xsd:sequence> </xsd:complexType> Second, the type="currentDateInput" setting requires you to set the default namespace to your target namespace. So you need to specify xmlns=="http://localhost". <wsdl:message name="currentDateInput"> <wsdl:part name="composite" type="currentDateInput" /> </wsdl:message