Newsgroup: it.comp.java
Titolo: Errore Web Server

Ciao agazzi!
Sto realizzando un applicazione che scarichi da un web server una
stringa di testo. Con il plugIn di axis in jbuilder ho generato le
classi da un WSDL.
Le classi generate si chiamano:
PIPSShoppingListSoapBindingImpl.java (ritorna solo nulli)
PIPSShoppingListSoapBindingStub.java
ShoppingListWS.java
ShoppingListWSService.java
ShoppingListWSServiceLocator.java
ShoppingListWSServiceTestCase.java
Questo è il mio codice di prova. Mi genera Fatal Error. Qulcuno può
dirmi dove sbaglio?
public static void main(String[] args) {
    System.out.println("----INIZIO----");
    try {
        PIPSShoppingListSoapBindingStub stub = new
PIPSShoppingListSoapBindingStub();
        System.out.println(stub.retrieveShoppingList("1"));
    } catch (AxisFault ex) {
        ex.printStackTrace();
    } catch (RemoteException ex) {
        ex.printStackTrace();
    }
    }
Questo è l'errore visualizzato:
AxisFault
 faultCode: {
http://xml.apache.org/axis/}Server.NoEndpoint
 faultSubcode:
 faultString: No endpoint
 faultActor:
 faultNode:
 faultDetail:
	{
http://xml.apache.org/axis/}exceptionName:org.apache.axis.NoEndPointException
	{
http://xml.apache.org/axis/}stackTrace:No
 endpoint
	at
ShoppingList.webservices.pips.eu.org.PIPSShoppingListSoapBindingStub.retrieveShoppingList(PIPSShoppingListSoapBindingStub.java:121)
	at pips.prova.main(prova.java:34)
	{
http://xml.apache.org/axis/}hostname:GALYPORTATILE
null
No endpoint
	at
ShoppingList.webservices.pips.eu.org.PIPSShoppingListSoapBindingStub.retrieveShoppingList(PIPSShoppingListSoapBindingStub.java:121)
	at pips.prova.main(prova.java:34)
Allego anche il WSDL:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
targetNamespace="
http://org.eu.pips.webservices.ShoppingList
"
xmlns:apachesoap="
http://xml.apache.org/xml-soap
"
xmlns:impl="
http://org.eu.pips.webservices.ShoppingList
"
xmlns:intf="
http://org.eu.pips.webservices.ShoppingList
"
xmlns:soapenc="
http://schemas.xmlsoap.org/soap/encoding/
"
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.2beta3
Built on Aug 01, 2004 (05:59:22 PDT)-->
   <wsdl:message name="tellMeSomethingResponse">
   </wsdl:message>
   <wsdl:message name="storeShoppingListRequest">
      <wsdl:part name="in0" type="xsd:string"/>
      <wsdl:part name="in1" type="xsd:string"/>
   </wsdl:message>
   <wsdl:message name="checkBarCodeResponse">
      <wsdl:part name="checkBarCodeReturn" type="xsd:string"/>
   </wsdl:message>
   <wsdl:message name="checkBarCodeRequest">
      <wsdl:part name="in0" type="xsd:string"/>
   </wsdl:message>
   <wsdl:message name="tellMeSomethingRequest">
      <wsdl:part name="in0" type="xsd:string"/>
   </wsdl:message>
   <wsdl:message name="retrieveShoppingListResponse">
      <wsdl:part name="retrieveShoppingListReturn" type="xsd:string"/>
   </wsdl:message>
   <wsdl:message name="retrieveShoppingListRequest">
      <wsdl:part name="in0" type="xsd:string"/>
   </wsdl:message>
   <wsdl:message name="storeShoppingListResponse">
      <wsdl:part name="storeShoppingListReturn" type="xsd:string"/>
   </wsdl:message>
   <wsdl:portType name="PIPSShoppingListSoapBindingImpl">
      <wsdl:operation name="retrieveShoppingList" parameterOrder="in0">
         <wsdl:input message="impl:retrieveShoppingListRequest"
name="retrieveShoppingListRequest"/>
         <wsdl:output message="impl:retrieveShoppingListResponse"
name="retrieveShoppingListResponse"/>
      </wsdl:operation>
      <wsdl:operation name="storeShoppingList" parameterOrder="in0
in1">
         <wsdl:input message="impl:storeShoppingListRequest"
name="storeShoppingListRequest"/>
         <wsdl:output message="impl:storeShoppingListResponse"
name="storeShoppingListResponse"/>
      </wsdl:operation>
      <wsdl:operation name="checkBarCode" parameterOrder="in0">
         <wsdl:input message="impl:checkBarCodeRequest"
name="checkBarCodeRequest"/>
         <wsdl:output message="impl:checkBarCodeResponse"
name="checkBarCodeResponse"/>
      </wsdl:operation>
      <wsdl:operation name="tellMeSomething" parameterOrder="in0">
         <wsdl:input message="impl:tellMeSomethingRequest"
name="tellMeSomethingRequest"/>
         <wsdl:output message="impl:tellMeSomethingResponse"
name="tellMeSomethingResponse"/>
      </wsdl:operation>
   </wsdl:portType>
   <wsdl:binding name="PIPSShoppingListSoapBindingImplSoapBinding"
type="impl:PIPSShoppingListSoapBindingImpl">
      <wsdlsoap:binding style="rpc"
transport="
http://schemas.xmlsoap.org/soap/http
"/>
      <wsdl:operation name="retrieveShoppingList">
         <wsdlsoap:operation soapAction=""/>
         <wsdl:input name="retrieveShoppingListRequest">
            <wsdlsoap:body
encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/
"
namespace="
http://org.eu.pips.webservices.ShoppingList
" use="encoded"/>
         </wsdl:input>
         <wsdl:output name="retrieveShoppingListResponse">
            <wsdlsoap:body
encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/
"
namespace="
http://org.eu.pips.webservices.ShoppingList
" use="encoded"/>
         </wsdl:output>
      </wsdl:operation>
      <wsdl:operation name="storeShoppingList">
         <wsdlsoap:operation soapAction=""/>
         <wsdl:input name="storeShoppingListRequest">
            <wsdlsoap:body
encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/
"
namespace="
http://org.eu.pips.webservices.ShoppingList
" use="encoded"/>
         </wsdl:input>
         <wsdl:output name="storeShoppingListResponse">
            <wsdlsoap:body
encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/
"
namespace="
http://org.eu.pips.webservices.ShoppingList
" use="encoded"/>
         </wsdl:output>
      </wsdl:operation>
      <wsdl:operation name="checkBarCode">
         <wsdlsoap:operation soapAction=""/>
         <wsdl:input name="checkBarCodeRequest">
            <wsdlsoap:body
encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/
"
namespace="
http://org.eu.pips.webservices.ShoppingList
" use="encoded"/>
         </wsdl:input>
         <wsdl:output name="checkBarCodeResponse">
            <wsdlsoap:body
encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/
"
namespace="
http://org.eu.pips.webservices.ShoppingList
" use="encoded"/>
         </wsdl:output>
      </wsdl:operation>
      <wsdl:operation name="tellMeSomething">
         <wsdlsoap:operation soapAction=""/>
         <wsdl:input name="tellMeSomethingRequest">
            <wsdlsoap:body
encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/
"
namespace="
http://org.eu.pips.webservices.ShoppingList
" use="encoded"/>
         </wsdl:input>
         <wsdl:output name="tellMeSomethingResponse">
            <wsdlsoap:body
encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/
"
namespace="
http://org.eu.pips.webservices.ShoppingList
" use="encoded"/>
         </wsdl:output>
      </wsdl:operation>
   </wsdl:binding>
   <wsdl:service name="PIPSShoppingListSoapBindingImplService">
      <wsdl:port
binding="impl:PIPSShoppingListSoapBindingImplSoapBinding"
name="PIPSShoppingListSoapBindingImpl">
         <wsdlsoap:address
location="
http://localhost:8080/WebServerClient/services/PIPSShoppingListSoapBindingImpl
"/>
      </wsdl:port>
   </wsdl:service>
</wsdl:definitions>

 dirmi dove sbaglio?
L'endPoint č attivo, il server dove č esposto il WS č attivo?