Announcement Announcement Module
Collapse
No announcement yet.
Service not available ! why?? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Service not available ! why??

    Hello , i'm new on spring forum ! Nice to meet you!

    I was able to produce in through configuration
    sprin-ws-servlet.xml on the wsdl to my service
    web.

    When I try to send my request (with soapUI)
    I get the error of non-availability of the service!
    What's wrong in your opinion? Something missing in wsdl?
    E 'erroneous request? Because if it all seems from the guide
    I can not seem easy to do this?
    Excuse my vehemence in calling for help but I am
    hanging very long time in this problem.

    Add my wsdl and my soap request that
    theoretically should perform the operation.
    Omit any address in the wsdl as a matter of
    privacy .... and forgive my English!

    ps : i try to incoke "http://localhost:8080/yyyy/servizi/"

    Code:
    <?xml version="1.0" encoding="UTF-8"?><wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:intf="http://xxxx/servizi/yyyy/integra" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:types0="http://spc.inail.it/servizi/IntegrazioneAvcp/int" xmlns:types1="http://spc.inail.it/servizi/IntegrazioneAvcp/int" targetNamespace="http://xxxx/servizi/yyyy/integra">
      <wsdl:types>
        <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xxxx/servizi/yyyy/integra"><import namespace="http://xxxx/servizi/yyyy/int" schemaLocation="../allegati/Types.xsd"/></schema>
        <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xxxx/servizi/yyyy/integra"><import namespace="http://xxxx/servizi/yyyy/int" schemaLocation="../allegati/FruireDatiStazioneAppaltante.xsd"/></schema>
      </wsdl:types>
      <wsdl:message name="richiesta_DatiStazioneAppaltante_Msg">
        <wsdl:part element="types0:richiesta_DatiStazioneAppaltante" name="richiesta_DatiStazioneAppaltante">
        </wsdl:part>
      </wsdl:message>
      <wsdl:message name="risposta_DatiStazioneAppaltante_Msg">
        <wsdl:part element="types0:risposta_DatiStazioneAppaltante" name="risposta_DatiStazioneAppaltante">
        </wsdl:part>
      </wsdl:message>
      <wsdl:portType name="StazioniAppaltanti">
        <wsdl:operation name="DatiStazioneAppaltante">
          <wsdl:input message="intf:richiesta_DatiStazioneAppaltante_Msg" name="richiesta_DatiStazioneAppaltante_Msg">
        </wsdl:input>
          <wsdl:output message="intf:risposta_DatiStazioneAppaltante_Msg" name="risposta_DatiStazioneAppaltante_Msg">
        </wsdl:output>
        </wsdl:operation>
      </wsdl:portType>
      <wsdl:binding name="StazioniAppaltantiSoap11" type="intf:StazioniAppaltanti">
        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
        <wsdl:operation name="DatiStazioneAppaltante">
          <soap:operation soapAction=""/>
          <wsdl:input name="richiesta_DatiStazioneAppaltante_Msg">
            <soap:body use="literal"/>
          </wsdl:input>
          <wsdl:output name="risposta_DatiStazioneAppaltante_Msg">
            <soap:body use="literal"/>
          </wsdl:output>
        </wsdl:operation>
      </wsdl:binding>
      <wsdl:service name="StazioniAppaltantiService">
        <wsdl:port binding="intf:StazioniAppaltantiSoap11" name="StazioniAppaltantiSoap11">
          <soap:address location="http://localhost:8080/yyyy/servizi/"/>
        </wsdl:port>
      </wsdl:service>
    </wsdl:definitions>
    this is my soap request

    Code:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:int="http://xxxx/servizi/yyyy/int">
       <soapenv:Header/>
       <soapenv:Body>
          <int:richiesta_DatiStazioneAppaltante>
             <int:listaCentroCostoRequest>
                <int:Login>
                   <int:Utente>?</int:Utente>
                   <int:Password>?</int:Password>
                </int:Login>
                <int:codiceFiscaleStazioneAppaltante>?</int:codiceFiscaleStazioneAppaltante>
             </int:listaCentroCostoRequest>
          </int:richiesta_DatiStazioneAppaltante>
       </soapenv:Body>
    </soapenv:Envelope>
    grazie mille ! !
Working...
X