WebService problem

View: New views
1 Messages — Rating Filter:   Alert me  

WebService problem

by Bugzilla from eroskoller@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I tried to create a web service from a "wsdl" file with netbeans 6.7.1 and Tomcat, I get an error message after I select the file



 "There is no service in specified WSDL file."



Here's the wsdl file:

 


Code:


<?xml version="1.0" encoding="ISO-8859-1"?>



<definitions name="laboratoryWebServiceSIGASADT"

     targetNamespace="http://wssadt.saude.prefeitura.sp.gov.br/webservices/laboratory/v0201"

     xmlns:tns="http://wssadt.saude.prefeitura.sp.gov.br/webservices/laboratory/v0201"

     xmlns="http://schemas.xmlsoap.org/wsdl/"

     xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"

     xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"

     xmlns:xsd="http://www.w3.org/2001/XMLSchema">



<!-- Type definitions -->



    <types>



        <xsd:schema targetNamespace="http://wssadt.saude.prefeitura.sp.gov.br/webservices/laboratory/v0201"

            xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/"

            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

            xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"

            xmlns:xsd="http://www.w3.org/2001/XMLSchema">



        </xsd:schema>

    </types>



    <!-- Message definitions -->

    <message name="loteSolicitacaoExames_message">

        <part name="loteSolicitacaoExames" type="xsd:string"></part>

    </message>



    <message name="respostaAckNoAck_message">

        <part name="respostaAckNoAck" type="xsd:string"></part>

    </message>



    <message name="loteCancelamentoExames_message">

        <part name="loteCancelamentoExames" type="xsd:string"></part>

    </message>



    <!-- Port type definitions -->

    <portType name="laboratoryWebServiceSIGASADT_portType">



        <operation name="enviaLoteSolicitacaoExames">

            <input message="tns:loteSolicitacaoExames_message"/>

            <output message="tns:respostaAckNoAck_message"/>

        </operation>



        <operation name="enviaCancelamentoExames">

            <input message="tns:loteCancelamentoExames_message"/>

            <output message="tns:respostaAckNoAck_message"/>

        </operation>



    </portType>



    <!-- Binding definitions -->

    <binding name="laboratoryWebServiceSIGASADT_binding" type="tns:laboratoryWebServiceSIGASADT_portType">

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



        <operation name="enviaLoteSolicitacaoExames">

            <soap:operation soapAction=""/>

            <input>

                <soap:body use="literal" />

            </input>

            <output>

                <soap:body use="literal" />

            </output>

        </operation>

        <operation name="enviaCancelamentoExames">

            <soap:operation soapAction=""/>

            <input>

                <soap:body use="literal" />

            </input>

            <output>

                <soap:body use="literal" />

            </output>

        </operation>

    </binding>



    <!-- Service and Port (network address) definitions -->

    <service name="laboratoryWebServiceSIGASADT">

        <port name="laboratoryWebServiceSIGASADT_port" binding="tns:laboratoryWebServiceSIGASADT_binding" >

            <soap:address location="" />

        </port>

    </service>

</definitions>









Pls help me , the guy that send the file claim that , there is no errors in that code.. [Crying or Very sad]

------------------------
just a guy