Title: nightly drops missing
I think your error is related to the "empty" type of your nestedException element.  I think that the {http://www.w3.org/2001/XMLSchema} string is just the default namespace with no class following it.
 
Anyone?
 
--- bhw
-----Original Message-----
From: Volkmann, Mark [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 06, 2002 3:58 PM
To: '[EMAIL PROTECTED]'
Subject: type referenced but not defined in generated WSDL

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>
 
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.
************************************************************************************

Reply via email to