I dont understand the resaon of this weird "is referenced but not defined." exception
I am using java 1.4.1 and AXISRC1

Sombody please help me fix:



java.io.IOException: Type {http://dblpseer.ist.psu.edu/dblpseer/schemas/ws.xsd}Persons 
is
referenced but not defined.
        at 
org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.java:522)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:422)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:408)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:393)
        at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:245)
        at java.lang.Thread.run(Thread.java:536)


The WSDL file is: 

4 functions:
1. getAllPublications (takes int and returns Person Array)
2. searchTitle (takes SearchString and returns Publication Array)
3. searchPerson (takes SearchString and returns Person Array)
4. searchKeywords (takes array retruns Publication Array)

I checked all the namespaces..everything is perfect. validated..it but this stupid 
error!! PLEASE
HELP


<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://dblpseer.ist.psu.edu/dblpseer/schemas/"; 
        xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
        xmlns:apachesoap="http://xml.apache.org/xml-soap"; 
        xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"; 
        xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; 
        xmlns:xsd="http://www.w3.org/2001/XMLSchema";
        xmlns:dblpxsd="http://dblpseer.ist.psu.edu/dblpseer/schemas/ws.xsd";
        xmlns:dblpns="http://dblpseer.ist.psu.edu/dblpseer/schemas/";> 
 <wsdl:types>
  <schema targetNamespace="http://dblpseer.ist.psu.edu/dblpseer/schemas/ws.xsd";
xmlns="http://www.w3.org/2001/XMLSchema";>
   <element name="perID" type="xsd:int"/>
   <element name="SearchString" type="xsd:string"/>
   <element name="Persons" type="dblpxsd:ArrayOf_dblpns_Person"/>
   <element name="Publications" type="dblpxsd:ArrayOf_dblpns_Publication"/>
   <element name="Keywords" type="dblpxsd:ArrayOf_xsd_string"/>
   <complexType name="Person">
    <sequence>
     <element name="perID" type="xsd:int"/>
     <element name="personName" nillable="true" type="xsd:string"/>
    </sequence>
   </complexType>
   <complexType name="Publication">
    <sequence>
     <element name="pubID" type="xsd:int"/>
     <element name="title" nillable="true" type="xsd:string"/>
     <element name="person" nillable="true" type="dblpxsd:Person" 
maxOccurs="unbounded"/>
     <element name="year" type="xsd:int"/>
    </sequence>
   </complexType>
   <complexType name="ArrayOf_dblpns_Publication">
    <complexContent>
     <restriction base="soapenc:Array">
      <attribute ref="soapenc:arrayType" wsdl:arrayType="dblpxsd:Publication[]"/>
     </restriction>
    </complexContent>
   </complexType>
   <complexType name="ArrayOf_dblpns_Person">
    <complexContent>
     <restriction base="soapenc:Array">
      <attribute ref="soapenc:arrayType" wsdl:arrayType="dblpxsd:Person[]"/>
     </restriction>
    </complexContent>
   </complexType>
   <complexType name="ArrayOf_xsd_string">
    <complexContent>
     <restriction base="soapenc:Array">
      <attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:string[]"/>
     </restriction>
    </complexContent>
   </complexType>
  </schema>
 </wsdl:types>

   <wsdl:message name="searchKeywordsResponse">

      <wsdl:part name="Publications" type="dblpxsd:Publications"/>

   </wsdl:message>

   <wsdl:message name="searchPersonResponse">

      <wsdl:part name="Persons" type="dblpxsd:Persons"/>

   </wsdl:message>

   <wsdl:message name="searchPersonRequest">

      <wsdl:part name="SearchString" type="dblpxsd:SearchString"/>

   </wsdl:message>

   <wsdl:message name="searchKeywordsRequest">

      <wsdl:part name="Keywords" type="dblpxsd:Keywords"/>

   </wsdl:message>

   <wsdl:message name="searchTitleRequest">

      <wsdl:part name="SearchString" type="dblpxsd:SearchString"/>

   </wsdl:message>

   <wsdl:message name="getAllPublicationsRequest">

      <wsdl:part name="perID" type="dblpxsd:perID"/>

   </wsdl:message>

   <wsdl:message name="searchTitleResponse">

      <wsdl:part name="Publications" type="dblpxsd:Publications"/>

   </wsdl:message>

   <wsdl:message name="getAllPublicationsResponse">

      <wsdl:part name="Publications" type="dblpxsd:Publications"/>

   </wsdl:message>

   <wsdl:portType name="DBLPSeerPortType">

      <wsdl:operation name="getAllPublications">

         <wsdl:input message="dblpns:getAllPublicationsRequest" 
name="getAllPublicationsRequest"/>

         <wsdl:output message="dblpns:getAllPublicationsResponse"
name="getAllPublicationsResponse"/>

      </wsdl:operation>

      <wsdl:operation name="searchPerson">

         <wsdl:input message="dblpns:searchPersonRequest" name="searchPersonRequest"/>

         <wsdl:output message="dblpns:searchPersonResponse" 
name="searchPersonResponse"/>

      </wsdl:operation>

      <wsdl:operation name="searchTitle">

         <wsdl:input message="dblpns:searchTitleRequest" name="searchTitleRequest"/>

         <wsdl:output message="dblpns:searchTitleResponse" name="searchTitleResponse"/>

      </wsdl:operation>

      <wsdl:operation name="searchKeywords">

         <wsdl:input message="dblpns:searchKeywordsRequest" 
name="searchKeywordsRequest"/>

         <wsdl:output message="dblpns:searchKeywordsResponse" 
name="searchKeywordsResponse"/>

      </wsdl:operation>

   </wsdl:portType>

   <wsdl:binding name="DBLPSeerBinding" type="dblpns:DBLPSeerPortType">

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

      <wsdl:operation name="getAllPublications">

         <wsdlsoap:operation soapAction=""/>

         <wsdl:input name="getAllPublicationsRequest">

            <wsdlsoap:body namespace="http://dblpseer.ist.psu.edu/dblpseer/schemas/";
use="literal"/>

         </wsdl:input>

         <wsdl:output name="getAllPublicationsResponse">

            <wsdlsoap:body namespace="http://dblpseer.ist.psu.edu/dblpseer/schemas/";
use="literal"/>

         </wsdl:output>

      </wsdl:operation>

      <wsdl:operation name="searchPerson">

         <wsdlsoap:operation soapAction=""/>

         <wsdl:input name="searchPersonRequest">

            <wsdlsoap:body namespace="http://dblpseer.ist.psu.edu/dblpseer/schemas/";
use="literal"/>

         </wsdl:input>

         <wsdl:output name="searchPersonResponse">

            <wsdlsoap:body namespace="http://dblpseer.ist.psu.edu/dblpseer/schemas/";
use="literal"/>

         </wsdl:output>

      </wsdl:operation>

      <wsdl:operation name="searchTitle">

         <wsdlsoap:operation soapAction=""/>

         <wsdl:input name="searchTitleRequest">

            <wsdlsoap:body namespace="http://dblpseer.ist.psu.edu/dblpseer/schemas/";
use="literal"/>

         </wsdl:input>

         <wsdl:output name="searchTitleResponse">

            <wsdlsoap:body namespace="http://dblpseer.ist.psu.edu/dblpseer/schemas/";
use="literal"/>

         </wsdl:output>

      </wsdl:operation>

      <wsdl:operation name="searchKeywords">

         <wsdlsoap:operation soapAction=""/>

         <wsdl:input name="searchKeywordsRequest">

            <wsdlsoap:body namespace="http://dblpseer.ist.psu.edu/dblpseer/schemas/";
use="literal"/>

         </wsdl:input>

         <wsdl:output name="searchKeywordsResponse">

            <wsdlsoap:body namespace="http://dblpseer.ist.psu.edu/dblpseer/schemas/";
use="literal"/>

         </wsdl:output>

      </wsdl:operation>

   </wsdl:binding>

   <wsdl:service name="DBLPSeerWebService">

      <wsdl:port binding="dblpns:DBLPSeerBinding" name="DBLPSeerPort">

         <wsdlsoap:address 
location="http://dblpseer.ist.psu.edu:8080/ws/services/DWS"/>

      </wsdl:port>

   </wsdl:service>

</wsdl:definitions>


=====
-----------------------------------------------------------------
Jinesh Varia
Graduate Student, Information Systems
Pennsylvania State University
Email: [EMAIL PROTECTED]
-----------------------------------------------------------------
'Self is the author of its actions.'

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

Reply via email to