my web services exposes two packages of classes, each annotated with XmlSchema but mapped to different namespaces, like: @javax.xml.bind.annotation.XmlSchema( namespace="http://acme.com/a", elementFormDefault=javax.xml.bind.annotation.XmlNsForm.QUALIFIED, attributeFormDefault=javax.xml.bind.annotation.XmlNsForm.QUALIFIED) package com.acme.a;
@javax.xml.bind.annotation.XmlSchema( namespace="http://acme.com/b", elementFormDefault=javax.xml.bind.annotation.XmlNsForm.QUALIFIED, attributeFormDefault=javax.xml.bind.annotation.XmlNsForm.QUALIFIED) package com.acme.b; now, com.acme.a.SomeClass contains a member whose type is com.acme.b.AnotherClass. in the generated wsdl, i noticed the following: <xs:element form="unqualified" maxOccurs="unbounded" minOccurs="0" name="ListOfAnotherClass" type="ns1:AnotherClass"/> but the prefix "ns1" is never defined. and i was not able to generate client stub code because of this. could anyone help me with the fix? thanks, gary This message (including any attachments) contains confidential information intended for a specific individual and purpose and is protected by law. If you are not the intended recipient, you should delete this Message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.
