[ Поиск ] - [ Пользователи ] - [ Календарь ]
Полная Версия: Создание веб сервиса на основе WSDL веб-сервиса
Forest52
Всем привет. Народ выручайте. Подскажите как на основе WSDL веб-сервиса создать SOAP - запрос. Т.е. есть сайт, который предоставляет WSDL веб-сервиса. Мне надо на своем сайте это дело реализовать, чтобы можно было искать наличие и цен на автомобильные товары. Или подскажите с чего хотя бы начать

<?xml version="1.0" encoding="UTF-8"?>

-<definitions targetNamespace="http://www.part-kom.ru/webservice/search.php" name="CWebService_Search" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.part-kom.ru/webservice/search.php" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/">


-<
types>

<
xsd:schema targetNamespace="http://www.part-kom.ru/webservice/search.php"/>

</
types>


-<
portType name="CWebService_SearchPort">


-<
operation name="getMakersByNumber">

<
documentation>First step of search</documentation>

<
input message="tns:getMakersByNumberIn"/>

<
output message="tns:getMakersByNumberOut"/>

</
operation>


-<
operation name="getMakersByNumberTest">

<
documentation>First step of search</documentation>

<
input message="tns:getMakersByNumberTestIn"/>

<
output message="tns:getMakersByNumberTestOut"/>

</
operation>


-<
operation name="findDetail">

<
documentation>Find Details</documentation>

<
input message="tns:findDetailIn"/>

<
output message="tns:findDetailOut"/>

</
operation>


-<
operation name="getMakersDict">

<
documentation>Get all makers</documentation>

<
input message="tns:getMakersDictIn"/>

<
output message="tns:getMakersDictOut"/>

</
operation>

</
portType>


-<
binding name="CWebService_SearchBinding" type="tns:CWebService_SearchPort">

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


-<
operation name="getMakersByNumber">

<
soap:operation soapAction="http://www.part-kom.ru/webservice/search.php#getMakersByNumber"/>


-<
input>

<
soap:body namespace="http://www.part-kom.ru/webservice/search.php" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"/>

</
input>


-<
output>

<
soap:body namespace="http://www.part-kom.ru/webservice/search.php" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"/>

</
output>

</
operation>


-<
operation name="getMakersByNumberTest">

<
soap:operation soapAction="http://www.part-kom.ru/webservice/search.php#getMakersByNumberTest"/>


-<
input>

<
soap:body namespace="http://www.part-kom.ru/webservice/search.php" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"/>

</
input>


-<
output>

<
soap:body namespace="http://www.part-kom.ru/webservice/search.php" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"/>

</
output>

</
operation>


-<
operation name="findDetail">

<
soap:operation soapAction="http://www.part-kom.ru/webservice/search.php#findDetail"/>


-<
input>

<
soap:body namespace="http://www.part-kom.ru/webservice/search.php" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"/>

</
input>


-<
output>

<
soap:body namespace="http://www.part-kom.ru/webservice/search.php" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"/>

</
output>

</
operation>


-<
operation name="getMakersDict">

<
soap:operation soapAction="http://www.part-kom.ru/webservice/search.php#getMakersDict"/>


-<
input>

<
soap:body namespace="http://www.part-kom.ru/webservice/search.php" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"/>

</
input>


-<
output>

<
soap:body namespace="http://www.part-kom.ru/webservice/search.php" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"/>

</
output>

</
operation>

</
binding>


-<
service name="CWebService_SearchService">


-<
port name="CWebService_SearchPort" binding="tns:CWebService_SearchBinding">

<
soap:address location="http://www.part-kom.ru/webservice/search.php"/>

</
port>

</
service>


-<
message name="getMakersByNumberIn">

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

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

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

</
message>


-<
message name="getMakersByNumberOut">

<
part name="return" type="soap-enc:Array"/>

</
message>


-<
message name="getMakersByNumberTestIn">

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

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

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

</
message>


-<
message name="getMakersByNumberTestOut">

<
part name="return" type="soap-enc:Array"/>

</
message>


-<
message name="findDetailIn">

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

<
part name="password" type="xsd:anyType"/>

<
part name="number" type="xsd:anyType"/>

<
part name="makerId" type="xsd:anyType"/>

<
part name="findSubstitutes" type="xsd:anyType"/>

<
part name="store" type="xsd:anyType"/>

<
part name="reCross" type="xsd:anyType"/>

<
part name="accessKey" type="xsd:anyType"/>

</
message>


-<
message name="findDetailOut">

<
part name="return" type="soap-enc:Array"/>

</
message>


-<
message name="getMakersDictIn">

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

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

</
message>


-<
message name="getMakersDictOut">

<
part name="return" type="soap-enc:Array"/>

</
message>

</
definitions>
Быстрый ответ:

 Графические смайлики |  Показывать подпись
Здесь расположена полная версия этой страницы.
Invision Power Board © 2001-2024 Invision Power Services, Inc.