I'm using Java2WSDL and WSDL2Java. The generated
WSDL contains the following.
<wsdl:types>
<schema targetNamespace="http://schemas.xmlsoap.org/soap/encoding/" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<element name="Array" nillable="true" type="soapenc:Array"/>
</schema>
<schema targetNamespace="http://api.secref.agedwards.com" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="SecurityInquiryException">
<complexContent>
<extension base="tns3:WrappingException">
<sequence>
<element name="localizedMessage" nillable="true" type="xsd:string"/>
</sequence>
</extension>
</complexContent>
</complexType>
<element name="SecurityInquiryException" nillable="true" type="tns2:SecurityInquiryException"/>
</schema>
<schema targetNamespace="http://util.core.agedwards.com" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="WrappingException">
<sequence>
<element name="message" nillable="true" type="xsd:string"/>
<element name="nestedException" nillable="true" type=""/>
</sequence>
</complexType>
</schema>
</wsdl:types>
<schema targetNamespace="http://schemas.xmlsoap.org/soap/encoding/" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<element name="Array" nillable="true" type="soapenc:Array"/>
</schema>
<schema targetNamespace="http://api.secref.agedwards.com" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="SecurityInquiryException">
<complexContent>
<extension base="tns3:WrappingException">
<sequence>
<element name="localizedMessage" nillable="true" type="xsd:string"/>
</sequence>
</extension>
</complexContent>
</complexType>
<element name="SecurityInquiryException" nillable="true" type="tns2:SecurityInquiryException"/>
</schema>
<schema targetNamespace="http://util.core.agedwards.com" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="WrappingException">
<sequence>
<element name="message" nillable="true" type="xsd:string"/>
<element name="nestedException" nillable="true" type=""/>
</sequence>
</complexType>
</schema>
</wsdl:types>
WSDL2Java gives me the following
error.
java.io.IOException: Type
{http://www.w3.org/2001/XMLSchema} is referenced but not defined.
The string "XMLSchema" doesn't appear anywhere else in the generated
WSDL.
Why does it think this is a type? Am I doing something wrong or is
this a bug?
***********************************************************************************
WARNING: All e-mail sent to and from this address will be received or
otherwise recorded by the A.G. Edwards corporate e-mail system and is
subject to archival, monitoring or review by, and/or disclosure to,
someone other than the recipient.
************************************************************************************
