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=15125>. 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=15125 wsdl2java outputs the incorrect stubs Summary: wsdl2java outputs the incorrect stubs Product: Axis Version: 1.0 Platform: All OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: WSDL processing AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] With the following lines in a wsdl file, wsdl2java generates incorrect stubs for the client side and incorrect wsdd file for the server side. Under types section <xsd:element name="UserGroupElement" type="xsd:int" minOccurs="0" maxOccurs="unbounded"/> Under messages section <message name="addRequest"> <part name="username" type="xsd:string" /> <part name="password" type="xsd:string" /> <part name="groups" element="odm:UserGroupElement"/> </message> <message name="updateRequest"> <part name="username" type="xsd:string"/> <part name="groups" element="odm:UserGroupElement"/> </message> wsdl2java generates stubs that contains the following line for both add and update. _call.setOperationName(new javax.xml.namespace.QName ("OdmApi", "UserGroupElement")); Note there are two problems here. First, the qname should really be Add and Update respectively. Second, The same problem is in the deploy.wsdd generated by wsdl2java. This causes all Update commands to be mapped to Add commands on the server because both commands are using the same QName.