/wsdl_repositories/xmethods/zipdistance.wsdl
https://github.com/kiouftis/Web-Services-Indexing-In-P2P · Web Services Description Language · 130 lines · 130 code · 0 blank · 0 comment · 0 complexity · 305fd5323aaf24bd316e4a611bec26a7 MD5 · raw file
- <?xml version="1.0" encoding="utf-8"?>
- <wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.strikeiron.com" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" targetNamespace="http://www.strikeiron.com" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
- <wsdl:types>
- <s:schema elementFormDefault="qualified" targetNamespace="http://www.strikeiron.com">
- <s:element name="GetCityDistance">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="ZipCode1" type="s:string" />
- <s:element minOccurs="0" maxOccurs="1" name="ZipCode2" type="s:string" />
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:element name="GetCityDistanceResponse">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="GetCityDistanceResult" type="tns:QueryResult" />
- </s:sequence>
- </s:complexType>
- </s:element>
- <s:complexType name="QueryResult">
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="CityName1" type="s:string" />
- <s:element minOccurs="0" maxOccurs="1" name="CityName2" type="s:string" />
- <s:element minOccurs="1" maxOccurs="1" name="Distance" type="s:double" />
- </s:sequence>
- </s:complexType>
- <s:element name="ResponseInfo" type="tns:ResponseInfo" />
- <s:complexType name="ResponseInfo">
- <s:sequence>
- <s:element minOccurs="1" maxOccurs="1" name="ResponseCode" type="s:int" />
- <s:element minOccurs="0" maxOccurs="1" name="Response" type="s:string" />
- </s:sequence>
- </s:complexType>
- </s:schema>
- <xs:schema xmlns:tns1="http://ws.strikeiron.com" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://ws.strikeiron.com" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:element name="LicenseInfo" type="tns1:LicenseInfo" />
- <xs:complexType name="LicenseInfo">
- <xs:sequence>
- <xs:element minOccurs="0" name="RegisteredUser" type="tns1:RegisteredUser" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="RegisteredUser">
- <xs:sequence>
- <xs:element minOccurs="0" name="UserID" type="xs:string" />
- <xs:element minOccurs="0" name="Password" type="xs:string" />
- </xs:sequence>
- </xs:complexType>
- <xs:element name="SubscriptionInfo" type="tns1:SubscriptionInfo" />
- <xs:complexType name="SubscriptionInfo">
- <xs:sequence>
- <xs:element name="LicenseStatusCode" type="xs:int" />
- <xs:element minOccurs="0" name="LicenseStatus" type="xs:string" />
- <xs:element name="LicenseActionCode" type="xs:int" />
- <xs:element minOccurs="0" name="LicenseAction" type="xs:string" />
- <xs:element name="RemainingHits" type="xs:int" />
- <xs:element name="Amount" type="xs:decimal" />
- </xs:sequence>
- </xs:complexType>
- <xs:element name="GetRemainingHits">
- <xs:complexType />
- </xs:element>
- <xs:element name="GetRemainingHitsResponse">
- <xs:complexType />
- </xs:element>
- </xs:schema>
- </wsdl:types>
- <wsdl:message name="GetCityDistanceSoapIn">
- <wsdl:part name="parameters" element="tns:GetCityDistance" />
- </wsdl:message>
- <wsdl:message name="GetCityDistanceSoapOut">
- <wsdl:part name="parameters" element="tns:GetCityDistanceResponse" />
- </wsdl:message>
- <wsdl:message name="GetCityDistanceResponseInfo">
- <wsdl:part name="ResponseInfo" element="tns:ResponseInfo" />
- </wsdl:message>
- <wsdl:message name="GetRemainingHitsSoapIn">
- <wsdl:part name="parameters" xmlns:q1="http://ws.strikeiron.com" element="q1:GetRemainingHits" />
- </wsdl:message>
- <wsdl:message name="GetRemainingHitsSoapOut">
- <wsdl:part name="parameters" xmlns:q2="http://ws.strikeiron.com" element="q2:GetRemainingHitsResponse" />
- </wsdl:message>
- <wsdl:message name="LicenseInfoMessage">
- <wsdl:part name="LicenseInfo" xmlns:q3="http://ws.strikeiron.com" element="q3:LicenseInfo" />
- </wsdl:message>
- <wsdl:message name="SubscriptionInfoMessage">
- <wsdl:part name="SubscriptionInfo" xmlns:q4="http://ws.strikeiron.com" element="q4:SubscriptionInfo" />
- </wsdl:message>
- <wsdl:portType name="zipdistanceSoap">
- <wsdl:operation name="GetCityDistance">
- <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Get the city and state information from a given zip code</documentation>
- <wsdl:input message="tns:GetCityDistanceSoapIn" />
- <wsdl:output message="tns:GetCityDistanceSoapOut" />
- </wsdl:operation>
- <wsdl:operation name="GetRemainingHits">
- <wsdl:input message="tns:GetRemainingHitsSoapIn" />
- <wsdl:output message="tns:GetRemainingHitsSoapOut" />
- </wsdl:operation>
- </wsdl:portType>
- <wsdl:binding name="zipdistanceSoap" type="tns:zipdistanceSoap">
- <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="GetCityDistance">
- <soap:operation soapAction="http://www.strikeiron.com/GetCityDistance" style="document" />
- <wsdl:input>
- <soap:body use="literal" />
- <soap:header message="tns:LicenseInfoMessage" part="LicenseInfo" use="literal" />
- </wsdl:input>
- <wsdl:output>
- <soap:body use="literal" />
- <soap:header message="tns:GetCityDistanceResponseInfo" part="ResponseInfo" use="literal" />
- <soap:header message="tns:SubscriptionInfoMessage" part="SubscriptionInfo" use="literal" />
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="GetRemainingHits">
- <soap:operation soapAction="http://ws.strikeiron.com/StrikeIron/zipdistance/GetRemainingHits" />
- <wsdl:input>
- <soap:body use="literal" />
- <soap:header message="tns:LicenseInfoMessage" part="LicenseInfo" use="literal" />
- </wsdl:input>
- <wsdl:output>
- <soap:body use="literal" />
- <soap:header message="tns:SubscriptionInfoMessage" part="SubscriptionInfo" use="literal" />
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:service name="zipdistance">
- <wsdl:port name="zipdistanceSoap" binding="tns:zipdistanceSoap">
- <soap:address location="http://ws.strikeiron.com/StrikeIron/zipdistance" />
- </wsdl:port>
- </wsdl:service>
- </wsdl:definitions>