Hi all,
I have a problem in trying to generate a client using the attached wsdl file.
I don't understand the message or how to fix the problem. Has anyone had this problemm before and is able to give some advice?
 
the error is:
 

C:\workspace\axisNDNHandlers\src>wsdl2java
C:\workspace\axisNDNHandlers\src>java -cp C:\Tomcat\webapps\axis\WEB-INF\lib\act
ivation.jar;C:\Tomcat\webapps\axis\WEB-INF\lib\axis.jar;C:\Tomcat\webapps\axis\W
EB-INF\lib\commons-logging-1.0.4.jar;C:\Tomcat\webapps\axis\WEB-INF\lib\commons-
discovery-0.2.jar;C:\Tomcat\webapps\axis\WEB-INF\lib\JAXRPC.JAR;C:\Tomcat\webapp
s\axis\WEB-INF\lib\log4j-1.2.8.jar;C:\Tomcat\webapps\axis\WEB-INF\lib\mail.jar;C
:\Tomcat\webapps\axis\WEB-INF\lib\saaj.jar;C:\Tomcat\webapps\axis\WEB-INF\lib\ws
dl4j-1.5.1.jar;C:\Tomcat\webapps\axis\WEB-INF\lib\xmlsec-1.2.1.jar;C:\Tomcat\web
apps\axis\WEB-INF\lib\commons-attributes-api-2.1.jar;C:\Tomcat\webapps\axis\WEB-
INF\lib\commons-collections-3.1.jar;C:\Tomcat\webapps\axis\WEB-INF\lib\commons-c
onfiguration-1.1.jar;C:\Tomcat\webapps\axis\WEB-INF\lib\commons-lang-2.0.jar;C:\
Tomcat\webapps\axis\WEB-INF\lib\commons-math-1.0.jar;C:\Tomcat\webapps\axis\WEB-
INF\lib\jakarta-regexp-1.3.jar;. org.apache.axis.wsdl.WSDL2Java "NDNGATEWAY.wsdl
"
log4j:WARN No appenders could be found for logger (org.apache.axis.i18n.ProjectR
esourceBundle).
log4j:WARN Please initialize the log4j system properly.
java.io.IOException: Type {http://sax.xml.org}Attributes is referenced but not d
efined.
        at org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(Symbol
Table.java:663)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:543
)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav
a:516)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav
a:493)
        at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:360)
        at java.lang.Thread.run(Unknown Source)
C:\workspace\axisNDNHandlers\src>
Any help appreciated
Regards
Wayne



Find local movie times and trailers on Yahoo! Movies.
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="urn:StringSeNDNGatewayrvice" xmlns:apachesoap="http://xml.apache.org/xml-soap"; xmlns:impl="urn:StringSeNDNGatewayrvice" xmlns:intf="urn:StringSeNDNGatewayrvice" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:tns2="http://message.axis.apache.org"; xmlns:tns3="http://dom.w3c.org"; xmlns:tns4="http://soap.xml.javax"; xmlns:tns5="http://util.java"; xmlns:tns6="http://sax.xml.org"; xmlns:tns7="http://encoding.axis.apache.org"; xmlns:tns8="http://soap.axis.apache.org"; xmlns:tns9="http://schema.axis.apache.org"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
<!--WSDL created by Apache Axis version: 1.2
Built on May 03, 2005 (02:20:24 EDT)-->
 <wsdl:types>
  <schema targetNamespace="http://message.axis.apache.org"; xmlns="http://www.w3.org/2001/XMLSchema";>
   <import namespace="http://schema.axis.apache.org"/>
   <import namespace="http://encoding.axis.apache.org"/>
   <import namespace="urn:StringSeNDNGatewayrvice"/>
   <import namespace="http://soap.axis.apache.org"/>
   <import namespace="http://soap.xml.javax"/>
   <import namespace="http://util.java"/>
   <import namespace="http://sax.xml.org"/>
   <import namespace="http://xml.apache.org/xml-soap"/>
   <import namespace="http://dom.w3c.org"/>
   <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
   <complexType name="NodeImpl">
    <sequence>
     <element name="attributes" nillable="true" type="xsd:anyType"/>
     <element name="childNodes" nillable="true" type="xsd:anyType"/>
     <element name="dirty" type="xsd:boolean"/>
     <element name="firstChild" nillable="true" type="xsd:anyType"/>
     <element name="lastChild" nillable="true" type="tns3:Node"/>
     <element name="localName" nillable="true" type="soapenc:string"/>
     <element name="namespaceURI" nillable="true" type="soapenc:string"/>
     <element name="nextSibling" nillable="true" type="tns3:Node"/>
     <element name="nodeName" nillable="true" type="soapenc:string"/>
     <element name="nodeType" type="xsd:short"/>
     <element name="nodeValue" nillable="true" type="soapenc:string"/>
     <element name="ownerDocument" nillable="true" type="apachesoap:Document"/>
     <element name="parentElement" nillable="true" type="xsd:anyType"/>
     <element name="parentNode" nillable="true" type="tns3:Node"/>
     <element name="prefix" nillable="true" type="soapenc:string"/>
     <element name="previousSibling" nillable="true" type="tns3:Node"/>
     <element name="value" nillable="true" type="soapenc:string"/>
    </sequence>
   </complexType>
   <complexType name="SAX2EventRecorder">
    <sequence>
     <element name="length" type="xsd:int"/>
    </sequence>
   </complexType>
   <complexType name="MessageElement">
    <complexContent>
     <extension base="tns2:NodeImpl">
      <sequence>
       <element name="ID" nillable="true" type="soapenc:string"/>
       <element name="NSMappings" nillable="true" type="impl:ArrayOf_xsd_anyType"/>
       <element name="QName" nillable="true" type="xsd:QName"/>
       <element name="allAttributes" nillable="true" type="xsd:anyType"/>
       <element name="asDOM" nillable="true" type="apachesoap:Element"/>
       <element name="asDocument" nillable="true" type="apachesoap:Document"/>
       <element name="asString" nillable="true" type="soapenc:string"/>
       <element name="attributesEx" nillable="true" type="xsd:anyType"/>
       <element name="childElements" nillable="true" type="tns5:Iterator"/>
       <element name="children" nillable="true" type="impl:ArrayOf_xsd_anyType"/>
       <element name="completeAttributes" nillable="true" type="tns6:Attributes"/>
       <element name="contentsIndex" type="xsd:int"/>
       <element name="deserializationContext" nillable="true" type="xsd:anyType"/>
       <element name="elementName" nillable="true" type="xsd:anyType"/>
       <element name="encodingStyle" nillable="true" type="soapenc:string"/>
       <element name="endIndex" type="xsd:int"/>
       <element name="envelope" nillable="true" type="tns2:SOAPEnvelope"/>
       <element name="fixupDeserializer" nillable="true" type="xsd:anyType"/>
       <element name="href" nillable="true" type="soapenc:string"/>
       <element name="length" type="xsd:int"/>
       <element name="name" nillable="true" type="soapenc:string"/>
       <element name="namespacePrefixes" nillable="true" type="tns5:Iterator"/>
       <element name="objectValue" nillable="true" type="xsd:anyType"/>
       <element name="realElement" nillable="true" type="tns2:MessageElement"/>
       <element name="recorder" nillable="true" type="tns2:SAX2EventRecorder"/>
       <element name="root" type="xsd:boolean"/>
       <element name="tagName" nillable="true" type="soapenc:string"/>
       <element name="type" nillable="true" type="xsd:QName"/>
       <element name="visibleNamespacePrefixes" nillable="true" type="tns5:Iterator"/>
       <element name="namespaces" nillable="true" type="impl:ArrayOf_xsd_anyType"/>
      </sequence>
     </extension>
    </complexContent>
   </complexType>
   <complexType name="SOAPBodyElement">
    <complexContent>
     <extension base="tns2:MessageElement">
      <sequence/>
     </extension>
    </complexContent>
   </complexType>
   <complexType name="SOAPEnvelope">
    <complexContent>
     <extension base="tns2:MessageElement">
      <sequence>
       <element name="SAAJEncodingCompliance" type="xsd:boolean"/>
       <element name="SOAPConstants" nillable="true" type="xsd:anyType"/>
       <element name="body" nillable="true" type="xsd:anyType"/>
       <element name="bodyElements" nillable="true" type="apachesoap:Vector"/>
       <element name="firstBody" nillable="true" type="tns2:SOAPBodyElement"/>
       <element name="header" nillable="true" type="xsd:anyType"/>
       <element name="headers" nillable="true" type="apachesoap:Vector"/>
       <element name="messageType" nillable="true" type="soapenc:string"/>
       <element name="schemaVersion" nillable="true" type="xsd:anyType"/>
       <element name="soapConstants" nillable="true" type="tns8:SOAPConstants"/>
       <element name="trailers" nillable="true" type="apachesoap:Vector"/>
      </sequence>
     </extension>
    </complexContent>
   </complexType>
  </schema>
  <schema targetNamespace="urn:StringSeNDNGatewayrvice" xmlns="http://www.w3.org/2001/XMLSchema";>
   <import namespace="http://message.axis.apache.org"/>
   <import namespace="http://schema.axis.apache.org"/>
   <import namespace="http://encoding.axis.apache.org"/>
   <import namespace="http://soap.axis.apache.org"/>
   <import namespace="http://soap.xml.javax"/>
   <import namespace="http://util.java"/>
   <import namespace="http://sax.xml.org"/>
   <import namespace="http://xml.apache.org/xml-soap"/>
   <import namespace="http://dom.w3c.org"/>
   <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
   <complexType name="ArrayOf_xsd_anyType">
    <complexContent>
     <restriction base="soapenc:Array">
      <attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:anyType[]"/>
     </restriction>
    </complexContent>
   </complexType>
  </schema>
  <schema targetNamespace="http://xml.apache.org/xml-soap"; xmlns="http://www.w3.org/2001/XMLSchema";>
   <import namespace="http://message.axis.apache.org"/>
   <import namespace="http://schema.axis.apache.org"/>
   <import namespace="http://encoding.axis.apache.org"/>
   <import namespace="urn:StringSeNDNGatewayrvice"/>
   <import namespace="http://soap.axis.apache.org"/>
   <import namespace="http://soap.xml.javax"/>
   <import namespace="http://util.java"/>
   <import namespace="http://sax.xml.org"/>
   <import namespace="http://dom.w3c.org"/>
   <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
   <complexType name="Vector">
    <sequence>
     <element maxOccurs="unbounded" minOccurs="0" name="item" type="xsd:anyType"/>
    </sequence>
   </complexType>
  </schema>
 </wsdl:types>

   <wsdl:message name="NDNGatewayServiceResponse">

   </wsdl:message>

   <wsdl:message name="NDNGatewayServiceRequest">

      <wsdl:part name="inEnvelope" type="tns2:SOAPEnvelope"/>

      <wsdl:part name="outEnvelope" type="tns2:SOAPEnvelope"/>

   </wsdl:message>

   <wsdl:portType name="NDNGateway">

      <wsdl:operation name="NDNGatewayService" parameterOrder="inEnvelope outEnvelope">

         <wsdl:input message="impl:NDNGatewayServiceRequest" name="NDNGatewayServiceRequest"/>

         <wsdl:output message="impl:NDNGatewayServiceResponse" name="NDNGatewayServiceResponse"/>

      </wsdl:operation>

   </wsdl:portType>

   <wsdl:binding name="NDNGatewaySoapBinding" type="impl:NDNGateway">

      <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>

      <wsdl:operation name="NDNGatewayService">

         <wsdlsoap:operation soapAction=""/>

         <wsdl:input name="NDNGatewayServiceRequest">

            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="urn:StringSeNDNGatewayrvice" use="encoded"/>

         </wsdl:input>

         <wsdl:output name="NDNGatewayServiceResponse">

            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="urn:StringSeNDNGatewayrvice" use="encoded"/>

         </wsdl:output>

      </wsdl:operation>

   </wsdl:binding>

   <wsdl:service name="NDNGatewayService">

      <wsdl:port binding="impl:NDNGatewaySoapBinding" name="NDNGateway">

         <wsdlsoap:address location="http://localhost:8080/axis/services/NDNGateway"/>

      </wsdl:port>

   </wsdl:service>

</wsdl:definitions>

Reply via email to