Importing xsd into wsdl
You have a couple of problems here. First, the XSD has an issue where an element is both named or referenced; in your case should be referenced. Change: <xsd:element name=”stock” ref=”Stock” minOccurs=”1″ maxOccurs=”unbounded”/> To: <xsd:element name=”stock” type=”Stock” minOccurs=”1″ maxOccurs=”unbounded”/> And: Remove the declaration of the global element Stock Create a complex type declaration for a … Read more