Responses inline:

1) Did you run "ant -Dwebapp.dir=BEEHIVE_HOME/samples/petstoreWeb
-Dcontext.path=petstoreWeb -f BEEHIVE_HOME/ant/buildWebapp.xml
deploy.beehive.webapp.runtime build.webapp deploy" to build and deploy
petstoreWeb?
If not, how exactly did you build/deploy your petstoreWeb webapp?

Yes, that is what I did.


2) Have you tried to point your browser to while petstoreWeb is deployed and Tomcat is running: http://localhost:8080/petstoreWeb/PetstoreInventoryManager.jws?wsdl? That should fail, according to your error message.

I can see that WSDL fine. The problem is with the genClient stage when running ant inside $BEEHIVE_HOME/samples/PetStoreDashboard. wsdl2java seems to be having trouble with the WSDL at that page. I have attached the WSDL file--can you see if it is different from the WSDL file you are seeing on your server or if your wsdl2java can handle this WSDL file?



3) How about: http://localhost:8080/petstoreWeb?

Works fine.


4) Did you verify that petstoreWeb was running when you encountered the error?

Yes, I did. It was running with no problems.

5) Did you deploy petstoreWeb to the context "petstoreWeb"?

Yes

Bryan
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://beehive.apache.org/petstore"; xmlns:apachesoap="http://xml.apache.org/xml-soap"; xmlns:impl="http://beehive.apache.org/petstore"; xmlns:intf="http://beehive.apache.org/petstore"; xmlns:tns1="http://ws.model.petstore.samples.beehive.apache.org"; xmlns:tns2="http://model.petstore.samples.beehive.apache.org"; xmlns:tns3="http://awt.java"; 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.2RC1
Built on Oct 29, 2004 (04:30:47 EDT)-->
 <wsdl:types>
  <schema elementFormDefault="qualified" targetNamespace="http://beehive.apache.org/petstore"; xmlns="http://www.w3.org/2001/XMLSchema";>
   <import namespace="http://awt.java"/>
   <import namespace="http://model.petstore.samples.beehive.apache.org"/>
   <import namespace="http://ws.model.petstore.samples.beehive.apache.org"/>
   <element name="listProducts">
    <complexType>
     <sequence>
      <element name="categoryId" type="xsd:string"/>
     </sequence>
    </complexType>
   </element>
   <element name="listProductsResponse">
    <complexType>
     <sequence>
      <element maxOccurs="unbounded" name="ProductList" type="tns1:Product"/>
     </sequence>
    </complexType>
   </element>
   <element name="listItems">
    <complexType>
     <sequence>
      <element name="productId" type="xsd:string"/>
     </sequence>
    </complexType>
   </element>
   <element name="listItemsResponse">
    <complexType>
     <sequence>
      <element maxOccurs="unbounded" name="ItemList" type="tns2:Item"/>
     </sequence>
    </complexType>
   </element>
   <element name="listCategories">
    <complexType/>
   </element>
   <element name="listCategoriesResponse">
    <complexType>
     <sequence>
      <element maxOccurs="unbounded" name="CategoryList" type="tns1:Category"/>
     </sequence>
    </complexType>
   </element>
   <element name="restockItem">
    <complexType>
     <sequence>
      <element name="itemId" type="xsd:string"/>
      <element name="quantity" type="xsd:int"/>
     </sequence>
    </complexType>
   </element>
   <element name="restockItemResponse">
    <complexType/>
   </element>
   <element name="setItemListPrice">
    <complexType>
     <sequence>
      <element name="itemId" type="xsd:string"/>
      <element name="listPrice" type="xsd:decimal"/>
     </sequence>
    </complexType>
   </element>
   <element name="setItemListPriceResponse">
    <complexType/>
   </element>
  </schema>
  <schema elementFormDefault="qualified" targetNamespace="http://model.petstore.samples.beehive.apache.org"; xmlns="http://www.w3.org/2001/XMLSchema";>
   <import namespace="http://awt.java"/>
   <import namespace="http://ws.model.petstore.samples.beehive.apache.org"/>
   <complexType name="Product">
    <sequence>
     <element name="category" nillable="true" type="xsd:string"/>
     <element name="description" nillable="true" type="xsd:string"/>
     <element name="image" nillable="true" type="xsd:string"/>
     <element name="name" nillable="true" type="xsd:string"/>
     <element name="productId" nillable="true" type="xsd:string"/>
    </sequence>
   </complexType>
   <complexType name="Item">
    <sequence>
     <element name="attr1" nillable="true" type="xsd:string"/>
     <element name="attr2" nillable="true" type="xsd:string"/>
     <element name="attr3" nillable="true" type="xsd:string"/>
     <element name="attr4" nillable="true" type="xsd:string"/>
     <element name="attr5" nillable="true" type="xsd:string"/>
     <element name="itemId" nillable="true" type="xsd:string"/>
     <element name="listPrice" nillable="true" type="xsd:decimal"/>
     <element name="product" nillable="true" type="tns2:Product"/>
     <element name="productId" nillable="true" type="xsd:string"/>
     <element name="qty" type="xsd:int"/>
     <element name="status" nillable="true" type="xsd:string"/>
     <element name="supplier" type="xsd:int"/>
     <element name="unitCost" nillable="true" type="xsd:decimal"/>
    </sequence>
   </complexType>
   <complexType name="Category">
    <sequence>
     <element name="catId" nillable="true" type="xsd:string"/>
     <element name="description" nillable="true" type="xsd:string"/>
     <element name="image" nillable="true" type="xsd:string"/>
     <element name="name" nillable="true" type="xsd:string"/>
    </sequence>
   </complexType>
  </schema>
  <schema elementFormDefault="qualified" targetNamespace="http://ws.model.petstore.samples.beehive.apache.org"; xmlns="http://www.w3.org/2001/XMLSchema";>
   <import namespace="http://awt.java"/>
   <import namespace="http://model.petstore.samples.beehive.apache.org"/>
   <complexType name="Product">
    <complexContent>
     <extension base="tns2:Product">
      <sequence>
       <element name="attachedImage" nillable="true" type="xsd:anyType"/>
      </sequence>
     </extension>
    </complexContent>
   </complexType>
   <complexType name="Category">
    <complexContent>
     <extension base="tns2:Category">
      <sequence>
       <element name="attachedImage" nillable="true" type="tns3:Image"/>
      </sequence>
     </extension>
    </complexContent>
   </complexType>
  </schema>
 </wsdl:types>

   <wsdl:message name="listProductsResponse">

      <wsdl:part element="impl:listProductsResponse" name="parameters"/>

   </wsdl:message>

   <wsdl:message name="restockItemResponse">

      <wsdl:part element="impl:restockItemResponse" name="parameters"/>

   </wsdl:message>

   <wsdl:message name="restockItemRequest">

      <wsdl:part element="impl:restockItem" name="parameters"/>

   </wsdl:message>

   <wsdl:message name="setItemListPriceRequest">

      <wsdl:part element="impl:setItemListPrice" name="parameters"/>

   </wsdl:message>

   <wsdl:message name="InvalidIdentifierException">

   </wsdl:message>

   <wsdl:message name="listItemsResponse">

      <wsdl:part element="impl:listItemsResponse" name="parameters"/>

   </wsdl:message>

   <wsdl:message name="listProductsRequest">

      <wsdl:part element="impl:listProducts" name="parameters"/>

   </wsdl:message>

   <wsdl:message name="listCategoriesRequest">

      <wsdl:part element="impl:listCategories" name="parameters"/>

   </wsdl:message>

   <wsdl:message name="setItemListPriceResponse">

      <wsdl:part element="impl:setItemListPriceResponse" name="parameters"/>

   </wsdl:message>

   <wsdl:message name="listCategoriesResponse">

      <wsdl:part element="impl:listCategoriesResponse" name="parameters"/>

   </wsdl:message>

   <wsdl:message name="listItemsRequest">

      <wsdl:part element="impl:listItems" name="parameters"/>

   </wsdl:message>

   <wsdl:portType name="PetstoreInventoryManager">

      <wsdl:operation name="listProducts">

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

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

      </wsdl:operation>

      <wsdl:operation name="listItems">

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

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

      </wsdl:operation>

      <wsdl:operation name="listCategories">

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

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

      </wsdl:operation>

      <wsdl:operation name="restockItem">

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

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

         <wsdl:fault message="impl:InvalidIdentifierException" name="InvalidIdentifierException"/>

      </wsdl:operation>

      <wsdl:operation name="setItemListPrice">

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

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

         <wsdl:fault message="impl:InvalidIdentifierException" name="InvalidIdentifierException"/>

      </wsdl:operation>

   </wsdl:portType>

   <wsdl:binding name="PetstoreInventoryManagerSoapBinding" type="impl:PetstoreInventoryManager">

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

      <wsdl:operation name="listProducts">

         <wsdlsoap:operation soapAction="listProducts"/>

         <wsdl:input name="listProductsRequest">

            <wsdlsoap:body use="literal"/>

         </wsdl:input>

         <wsdl:output name="listProductsResponse">

            <wsdlsoap:body use="literal"/>

         </wsdl:output>

      </wsdl:operation>

      <wsdl:operation name="listItems">

         <wsdlsoap:operation soapAction="listItems"/>

         <wsdl:input name="listItemsRequest">

            <wsdlsoap:body use="literal"/>

         </wsdl:input>

         <wsdl:output name="listItemsResponse">

            <wsdlsoap:body use="literal"/>

         </wsdl:output>

      </wsdl:operation>

      <wsdl:operation name="listCategories">

         <wsdlsoap:operation soapAction="listCategories"/>

         <wsdl:input name="listCategoriesRequest">

            <wsdlsoap:body use="literal"/>

         </wsdl:input>

         <wsdl:output name="listCategoriesResponse">

            <wsdlsoap:body use="literal"/>

         </wsdl:output>

      </wsdl:operation>

      <wsdl:operation name="restockItem">

         <wsdlsoap:operation soapAction="restockItem"/>

         <wsdl:input name="restockItemRequest">

            <wsdlsoap:body use="literal"/>

         </wsdl:input>

         <wsdl:output name="restockItemResponse">

            <wsdlsoap:body use="literal"/>

         </wsdl:output>

         <wsdl:fault name="InvalidIdentifierException">

            <wsdlsoap:fault name="InvalidIdentifierException" use="literal"/>

         </wsdl:fault>

      </wsdl:operation>

      <wsdl:operation name="setItemListPrice">

         <wsdlsoap:operation soapAction="setItemListPrice"/>

         <wsdl:input name="setItemListPriceRequest">

            <wsdlsoap:body use="literal"/>

         </wsdl:input>

         <wsdl:output name="setItemListPriceResponse">

            <wsdlsoap:body use="literal"/>

         </wsdl:output>

         <wsdl:fault name="InvalidIdentifierException">

            <wsdlsoap:fault name="InvalidIdentifierException" use="literal"/>

         </wsdl:fault>

      </wsdl:operation>

   </wsdl:binding>

   <wsdl:service name="PetstoreInventoryManagementService">

      <wsdl:port binding="impl:PetstoreInventoryManagerSoapBinding" name="PetstoreInventoryManager">

         <wsdlsoap:address location="http://localhost:8080/petstoreWeb/PetstoreInventoryManager.jws"/>

      </wsdl:port>

   </wsdl:service>

</wsdl:definitions>

Reply via email to