|
![]() |
#1 |
Участник
|
Цитата:
_endpoint (собственно сам адрес-строка веб сервиса - НЕ wsdl),
Что мне нужно спросить у third-Party(как сформулировать вопрос), чтобы мне дали этот адрес, а не wsdl? или он всегда такой же как wsdl, ток без "?wsdl" в конце? |
|
![]() |
#2 |
Участник
|
wsdl - это описание в том числе всех точек (endpoint)
т.е в самом wsdl можно его найти например в wsdl, найденном на просторах инета это адрес из строки <soap12:address location="http://localhost/aspnet/WebServiceDemo/Service.asmx" /> X++: <?xml version="1.0" encoding="utf-8" ?> <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://tempuri.org/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> <wsdl:types> <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/"> <s:element name="ArrayOfIntegers"> <s:complexType /> </s:element> <s:element name="ArrayOfIntegersResponse"> <s:complexType> <s:sequence> <s:element minOccurs="0" maxOccurs="1" name="ArrayOfIntegersResult" type="tns:ArrayOfInt" /> </s:sequence> </s:complexType> </s:element> <s:complexType name="ArrayOfInt"> <s:sequence> <s:element minOccurs="0" maxOccurs="unbounded" name="int" type="s:int" /> </s:sequence> </s:complexType> </s:schema> </wsdl:types> <wsdl:message name="ArrayOfIntegersSoapIn"> <wsdl:part name="parameters" element="tns:ArrayOfIntegers" /> </wsdl:message> <wsdl:message name="ArrayOfIntegersSoapOut"> <wsdl:part name="parameters" element="tns:ArrayOfIntegersResponse" /> </wsdl:message> <wsdl:portType name="ServiceSoap"> <wsdl:operation name="ArrayOfIntegers"> <wsdl:input message="tns:ArrayOfIntegersSoapIn" /> <wsdl:output message="tns:ArrayOfIntegersSoapOut" /> </wsdl:operation> </wsdl:portType> <wsdl:binding name="ServiceSoap" type="tns:ServiceSoap"> <soap:binding transport="http://schemas.xmlsoap.org/soap/http" /> <wsdl:operation name="ArrayOfIntegers"> <soap:operation soapAction="http://tempuri.org/ArrayOfIntegers" style="document" /> <wsdl:input> <soap:body use="literal" /> </wsdl:input> <wsdl:output> <soap:body use="literal" /> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:binding name="ServiceSoap12" type="tns:ServiceSoap"> <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" /> <wsdl:operation name="ArrayOfIntegers"> <soap12:operation soapAction="http://tempuri.org/ArrayOfIntegers" style="document" /> <wsdl:input> <soap12:body use="literal" /> </wsdl:input> <wsdl:output> <soap12:body use="literal" /> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="Service"> <wsdl:port name="ServiceSoap" binding="tns:ServiceSoap"> <soap:address location="http://localhost/aspnet/WebServiceDemo/Service.asmx" /> </wsdl:port> <wsdl:port name="ServiceSoap12" binding="tns:ServiceSoap12"> <soap12:address location="http://localhost/aspnet/WebServiceDemo/Service.asmx" /> </wsdl:port> </wsdl:service> </wsdl:definitions> |
|