Pessoal estou tentando criar um cliente para um webservice feito em delphi.. porem recebi a msg de erro que vai na imagem anexo:
fiz o mais simples possivel NEW - > webServiceCliente -> passei a URL -> JAX-WS style
segue o WSDL<definitions name="IEchoServiceservice" targetNamespace="http://tempuri.org/">
−
<types>
−
<xs:schema targetNamespace="urn:EchoServiceIntf">
−
<xs:complexType name="ArrayofString">
−
<xs:complexContent>
−
<xs:restriction base="soapenc:Array">
<xs:sequence/>
<xs:attribute ref="soapenc:arrayType" n1:arrayType="xs:string[]"/>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
−
<xs:complexType name="ArrayofWString">
−
<xs:complexContent>
−
<xs:restriction base="soapenc:Array">
<xs:sequence/>
<xs:attribute ref="soapenc:arrayType" n1:arrayType="xs:string[]"/>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
−
<xs:complexType name="ArrayofInt">
−
<xs:complexContent>
−
<xs:restriction base="soapenc:Array">
<xs:sequence/>
<xs:attribute ref="soapenc:arrayType" n1:arrayType="xs:int[]"/>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
−
<xs:complexType name="ArrayofDouble">
−
<xs:complexContent>
−
<xs:restriction base="soapenc:Array">
<xs:sequence/>
<xs:attribute ref="soapenc:arrayType" n1:arrayType="xs:double[]"/>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
−
<xs:complexType name="SoapStruct">
−
<xs:sequence>
<xs:element name="varString" type="xs:string"/>
<xs:element name="varWString" type="xs:string"/>
<xs:element name="varInt" type="xs:int"/>
<xs:element name="varDouble" type="xs:double"/>
</xs:sequence>
</xs:complexType>
−
<xs:complexType name="ArrayofSOAPStruct">
−
<xs:complexContent>
−
<xs:restriction base="soapenc:Array">
<xs:sequence/>
<xs:attribute ref="soapenc:arrayType" n1:arrayType="ns1:SoapStruct[]"/>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
</xs:schema>
</types>
−
<message name="echoString0Request">
<part name="value" type="xs:string"/>
</message>
−
<message name="echoString0Response">
<part name="return" type="xs:string"/>
</message>
−
<message name="echoWString1Request">
<part name="value" type="xs:string"/>
</message>
−
<message name="echoWString1Response">
<part name="return" type="xs:string"/>
</message>
−
<message name="echoInt2Request">
<part name="value" type="xs:int"/>
</message>
−
<message name="echoInt2Response">
<part name="return" type="xs:int"/>
</message>
−
<message name="echoDouble3Request">
<part name="value" type="xs:double"/>
</message>
−
<message name="echoDouble3Response">
<part name="return" type="xs:double"/>
</message>
−
<message name="echoBoolean4Request">
<part name="value" type="xs:boolean"/>
</message>
−
<message name="echoBoolean4Response">
<part name="return" type="xs:boolean"/>
</message>
−
<message name="echoTDateTime5Request">
<part name="value" type="xs:dateTime"/>
</message>
−
<message name="echoTDateTime5Response">
<part name="return" type="xs:dateTime"/>
</message>
−
<message name="echoStringArray6Request">
<part name="value" type="ns1:ArrayofString"/>
</message>
−
<message name="echoStringArray6Response">
<part name="return" type="ns1:ArrayofString"/>
</message>
−
<message name="echoWStringArray7Request">
<part name="value" type="ns1:ArrayofWString"/>
</message>
−
<message name="echoWStringArray7Response">
<part name="return" type="ns1:ArrayofWString"/>
</message>
−
<message name="echoIntArray8Request">
<part name="value" type="ns1:ArrayofInt"/>
</message>
−
<message name="echoIntArray8Response">
<part name="return" type="ns1:ArrayofInt"/>
</message>
−
<message name="echoDoubleArray9Request">
<part name="value" type="ns1:ArrayofDouble"/>
</message>
−
<message name="echoDoubleArray9Response">
<part name="return" type="ns1:ArrayofDouble"/>
</message>
−
<message name="echoSoapStruct10Request">
<part name="value" type="ns1:SoapStruct"/>
</message>
−
<message name="echoSoapStruct10Response">
<part name="return" type="ns1:SoapStruct"/>
</message>
−
<message name="echoSoapStructArray11Request">
<part name="value" type="ns1:ArrayofSOAPStruct"/>
</message>
−
<message name="echoSoapStructArray11Response">
<part name="return" type="ns1:ArrayofSOAPStruct"/>
</message>
−
<message name="echoDate12Request">
<part name="value" type="xs:dateTime"/>
</message>
−
<message name="echoDate12Response">
<part name="return" type="xs:dateTime"/>
</message>
−
<message name="echoDecimal13Request">
<part name="value" type="xs:decimal"/>
</message>
−
<message name="echoDecimal13Response">
<part name="return" type="xs:decimal"/>
</message>
−
<message name="GetAttachment14Request">
<part name="name" type="xs:string"/>
</message>
−
<message name="GetAttachment14Response">
<part name="return" type="xs:base64Binary"/>
</message>
−
<message name="SendAttachment15Request">
<part name="name" type="xs:string"/>
<part name="Attachment" type="xs:base64Binary"/>
</message>
−
<message name="SendAttachment15Response">
<part name="return" type="xs:boolean"/>
</message>
<message name="GetAttachmentList16Request"/>
−
<message name="GetAttachmentList16Response">
<part name="return" type="ns1:ArrayofString"/>
</message>
−
<portType name="IEchoService">
−
<operation name="echoString">
<input message="tns:echoString0Request"/>
<output message="tns:echoString0Response"/>
</operation>
−
<operation name="echoWString">
<input message="tns:echoWString1Request"/>
<output message="tns:echoWString1Response"/>
</operation>
−
<operation name="echoInt">
<input message="tns:echoInt2Request"/>
<output message="tns:echoInt2Response"/>
</operation>
−
<operation name="echoDouble">
<input message="tns:echoDouble3Request"/>
<output message="tns:echoDouble3Response"/>
</operation>
−
<operation name="echoBoolean">
<input message="tns:echoBoolean4Request"/>
<output message="tns:echoBoolean4Response"/>
</operation>
−
<operation name="echoTDateTime">
<input message="tns:echoTDateTime5Request"/>
<output message="tns:echoTDateTime5Response"/>
</operation>
−
<operation name="echoStringArray">
<input message="tns:echoStringArray6Request"/>
<output message="tns:echoStringArray6Response"/>
</operation>
−
<operation name="echoWStringArray">
<input message="tns:echoWStringArray7Request"/>
<output message="tns:echoWStringArray7Response"/>
</operation>
−
<operation name="echoIntArray">
<input message="tns:echoIntArray8Request"/>
<output message="tns:echoIntArray8Response"/>
</operation>
−
<operation name="echoDoubleArray">
<input message="tns:echoDoubleArray9Request"/>
<output message="tns:echoDoubleArray9Response"/>
</operation>
−
<operation name="echoSoapStruct">
<input message="tns:echoSoapStruct10Request"/>
<output message="tns:echoSoapStruct10Response"/>
</operation>
−
<operation name="echoSoapStructArray">
<input message="tns:echoSoapStructArray11Request"/>
<output message="tns:echoSoapStructArray11Response"/>
</operation>
−
<operation name="echoDate">
<input message="tns:echoDate12Request"/>
<output message="tns:echoDate12Response"/>
</operation>
−
<operation name="echoDecimal">
<input message="tns:echoDecimal13Request"/>
<output message="tns:echoDecimal13Response"/>
</operation>
−
<operation name="GetAttachment">
<input message="tns:GetAttachment14Request"/>
<output message="tns:GetAttachment14Response"/>
</operation>
−
<operation name="SendAttachment">
<input message="tns:SendAttachment15Request"/>
<output message="tns:SendAttachment15Response"/>
</operation>
−
<operation name="GetAttachmentList">
<input message="tns:GetAttachmentList16Request"/>
<output message="tns:GetAttachmentList16Response"/>
</operation>
</portType>
−
<binding name="IEchoServicebinding" type="tns:IEchoService">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
−
<operation name="echoString">
<soap:operation soapAction="urn:EchoServiceIntf-IEchoService#echoString" style="rpc"/>
−
<input message="tns:echoString0Request">
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:EchoServiceIntf-IEchoService"/>
</input>
−
<output message="tns:echoString0Response">
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:EchoServiceIntf-IEchoService"/>
</output>
</operation>
−
<operation name="echoWString">
<soap:operation soapAction="urn:EchoServiceIntf-IEchoService#echoWString" style="rpc"/>
−
<input message="tns:echoWString1Request">
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:EchoServiceIntf-IEchoService"/>
</input>
−
<output message="tns:echoWString1Response">
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:EchoServiceIntf-IEchoService"/>
</output>
</operation>
−
<operation name="echoInt">
<soap:operation soapAction="urn:EchoServiceIntf-IEchoService#echoInt" style="rpc"/>
−
<input message="tns:echoInt2Request">
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:EchoServiceIntf-IEchoService"/>
</input>
−
<output message="tns:echoInt2Response">
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:EchoServiceIntf-IEchoService"/>
</output>
</operation>
−
<operation name="echoDouble">
<soap:operation soapAction="urn:EchoServiceIntf-IEchoService#echoDouble" style="rpc"/>
−
<input message="tns:echoDouble3Request">
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:EchoServiceIntf-IEchoService"/>
</input>
−
<output message="tns:echoDouble3Response">
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:EchoServiceIntf-IEchoService"/>
</output>
</operation>
−
<operation name="echoBoolean">
<soap:operation soapAction="urn:EchoServiceIntf-IEchoService#echoBoolean" style="rpc"/>
−
<input message="tns:echoBoolean4Request">
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:EchoServiceIntf-IEchoService"/>
</input>
−
<output message="tns:echoBoolean4Response">
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:EchoServiceIntf-IEchoService"/>
</output>
</operation>
−
<operation name="echoTDateTime">
<soap:operation soapAction="urn:EchoServiceIntf-IEchoService#echoTDateTime" style="rpc"/>
−
<input message="tns:echoTDateTime5Request">
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:EchoServiceIntf-IEchoService"/>
</input>
−
<output message="tns:echoTDateTime5Response">
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:EchoServiceIntf-IEchoService"/>
</output>
</operation>
−
<operation name="echoStringArray">
<soap:operation soapAction="urn:EchoServiceIntf-IEchoService#echoStringArray" style="rpc"/>
−
<input message="tns:echoStringArray6Request">
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:EchoServiceIntf-IEchoService"/>
</input>
−
<output message="tns:echoStringArray6Response">
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:EchoServiceIntf-IEchoService"/>
</output>
</operation>
−
<operation name="echoWStringArray">
<soap:operation soapAction="urn:EchoServiceIntf-IEchoService#echoWStringArray" style="rpc"/>
−
<input message="tns:echoWStringArray7Request">
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:EchoServiceIntf-IEchoService"/>
</input>
−
<output message="tns:echoWStringArray7Response">
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:EchoServiceIntf-IEchoService"/>
</output>
</operation>
−
<operation name="echoIntArray">
<soap:operation soapAction="urn:EchoServiceIntf-IEchoService#echoIntArray" style="rpc"/>
−
<input message="tns:echoIntArray8Request">
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:EchoServiceIntf-IEchoService"/>
</input>
−
<output message="tns:echoIntArray8Response">
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:EchoServiceIntf-IEchoService"/>
</output>
</operation>
−
<operation name="echoDoubleArray">
<soap:operation soapAction="urn:EchoServiceIntf-IEchoService#echoDoubleArray" style="rpc"/>
−
<input message="tns:echoDoubleArray9Request">
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:EchoServiceIntf-IEchoService"/>
</input>
−
<output message="tns:echoDoubleArray9Response">
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:EchoServiceIntf-IEchoService"/>
</output>
</operation>
−
<operation name="echoSoapStruct">
<soap:operation soapAction="urn:EchoServiceIntf-IEchoService#echoSoapStruct" style="rpc"/>
−
<input message="tns:echoSoapStruct10Request">
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:EchoServiceIntf-IEchoService"/>
</input>
−
<output message="tns:echoSoapStruct10Response">
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:EchoServiceIntf-IEchoService"/>
</output>
</operation>
−
<operation name="echoSoapStructArray">
<soap:operation soapAction="urn:EchoServiceIntf-IEchoService#echoSoapStructArray" style="rpc"/>
−
<input message="tns:echoSoapStructArray11Request">
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:EchoServiceIntf-IEchoService"/>
</input>
−
<output message="tns:echoSoapStructArray11Response">
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:EchoServiceIntf-IEchoService"/>
</output>
</operation>
−
<operation name="echoDate">
<soap:operation soapAction="urn:EchoServiceIntf-IEchoService#echoDate" style="rpc"/>
−
<input message="tns:echoDate12Request">
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:EchoServiceIntf-IEchoService"/>
</input>
−
<output message="tns:echoDate12Response">
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:EchoServiceIntf-IEchoService"/>
</output>
</operation>
−
<operation name="echoDecimal">
<soap:operation soapAction="urn:EchoServiceIntf-IEchoService#echoDecimal" style="rpc"/>
−
<input message="tns:echoDecimal13Request">
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:EchoServiceIntf-IEchoService"/>
</input>
−
<output message="tns:echoDecimal13Response">
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:EchoServiceIntf-IEchoService"/>
</output>
</operation>
−
<operation name="GetAttachment">
<soap:operation soapAction="urn:EchoServiceIntf-IEchoService#GetAttachment" style="rpc"/>
−
<input message="tns:GetAttachment14Request">
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:EchoServiceIntf-IEchoService"/>
</input>
−
<output message="tns:GetAttachment14Response" name="GetAttachment14Response">
−
<mime:multipartRelated>
−
<mime:part>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:EchoServiceIntf-IEchoService"/>
</mime:part>
−
<mime:part>
<mime:content part="return" type="application/binary"/>
</mime:part>
</mime:multipartRelated>
</output>
</operation>
−
<operation name="SendAttachment">
<soap:operation soapAction="urn:EchoServiceIntf-IEchoService#SendAttachment" style="rpc"/>
−
<input message="tns:SendAttachment15Request" name="SendAttachment15Request">
−
<mime:multipartRelated>
−
<mime:part>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:EchoServiceIntf-IEchoService"/>
</mime:part>
−
<mime:part>
<mime:content part="Attachment" type="application/binary"/>
</mime:part>
</mime:multipartRelated>
</input>
−
<output message="tns:SendAttachment15Response">
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:EchoServiceIntf-IEchoService"/>
</output>
</operation>
−
<operation name="GetAttachmentList">
<soap:operation soapAction="urn:EchoServiceIntf-IEchoService#GetAttachmentList" style="rpc"/>
−
<input message="tns:GetAttachmentList16Request">
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:EchoServiceIntf-IEchoService"/>
</input>
−
<output message="tns:GetAttachmentList16Response">
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:EchoServiceIntf-IEchoService"/>
</output>
</operation>
</binding>
−
<service name="IEchoServiceservice">
−
<port name="IEchoServicePort" binding="tns:IEchoServicebinding">
<soap:address location="http://200.206.180.47:9092/echoservice_cgi.exe/soap/IEchoService"/>
</port>
</service>
</definitions>
abracos
