TermService.wsdl 7.51 KB
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
	xmlns:ns1="http://services.soap.valuecardservice.com"
	xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
	xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
	xmlns:ns0="http://dto.soap.valuecardservice.com/xsd"
	xmlns:xs="http://www.w3.org/2001/XMLSchema"
	xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
	xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
	xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
	targetNamespace="http://services.soap.valuecardservice.com">
	<wsdl:types>
		<xs:schema xmlns:ax22="http://dto.soap.valuecardservice.com/xsd"
			attributeFormDefault="qualified" elementFormDefault="qualified"
			targetNamespace="http://dto.soap.valuecardservice.com/xsd">
			<xs:complexType name="SumTermResult">
				<xs:sequence>
					<xs:element minOccurs="0" name="errorMessage"
						nillable="true" type="xs:string" />
					<xs:element minOccurs="0" name="beforeaccountDate"
						nillable="true" type="xs:dateTime" />
					<xs:element minOccurs="0" name="accountDate"
						nillable="true" type="xs:dateTime" />
					<xs:element minOccurs="0" name="requestCount"
						type="xs:int" />

					<xs:element minOccurs="0" name="requestCount"
						type="xs:int" />
					<xs:element minOccurs="0" name="depositCount"
						type="xs:int" />
					<xs:element minOccurs="0" name="depositValue"
						type="xs:int" />
					<xs:element minOccurs="0" name="paidCount"
						type="xs:int" />
					<xs:element minOccurs="0" name="paidValue"
						type="xs:int" />
					<xs:element minOccurs="0" name="sendbackCount"
						type="xs:int" />
					<xs:element minOccurs="0" name="sendbackValue"
						type="xs:int" />
					<xs:element minOccurs="0" name="depositCancelCount"
						type="xs:int" />
					<xs:element minOccurs="0" name="depositCancelValue"
						type="xs:int" />
					<xs:element minOccurs="0" name="paidCancelCount"
						type="xs:int" />
					<xs:element minOccurs="0" name="paidCancelValue"
						type="xs:int" />
					<xs:element minOccurs="0" name="couponAddCount"
						type="xs:int" />
					<xs:element minOccurs="0" name="couponAddValue"
						type="xs:int" />
					<xs:element minOccurs="0" name="couponCancelCount"
						type="xs:int" />
					<xs:element minOccurs="0" name="couponCancelValue"
						type="xs:int" />

					<xs:element minOccurs="0" name="regDate"
						nillable="true" type="xs:dateTime" />
				</xs:sequence>
			</xs:complexType>
		</xs:schema>
		<xs:schema xmlns:ns="http://services.soap.valuecardservice.com"
			attributeFormDefault="qualified" elementFormDefault="qualified"
			targetNamespace="http://services.soap.valuecardservice.com">
			<xs:element name="preSumTerm">
				<xs:complexType>
					<xs:sequence>
						<xs:element minOccurs="0" name="accessKey"
							nillable="true" type="xs:string" />
						<xs:element minOccurs="0" name="termId"
							nillable="true" type="xs:string" />
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="preSumTermResponse">
				<xs:complexType>
					<xs:sequence>
						<xs:element minOccurs="0" name="return"
							nillable="true" type="ns0:SumTermResult" />
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="sumTerm">
				<xs:complexType>
					<xs:sequence>
						<xs:element minOccurs="0" name="accessKey"
							nillable="true" type="xs:string" />
						<xs:element minOccurs="0" name="termId"
							nillable="true" type="xs:string" />
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="sumTermResponse">
				<xs:complexType>
					<xs:sequence>
						<xs:element minOccurs="0" name="return"
							nillable="true" type="ns0:SumTermResult" />
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:schema>
	</wsdl:types>
	<wsdl:message name="sumTermRequest">
		<wsdl:part name="parameters" element="ns1:sumTerm" />
	</wsdl:message>
	<wsdl:message name="sumTermResponse">
		<wsdl:part name="parameters"
			element="ns1:sumTermResponse" />
	</wsdl:message>
	<wsdl:message name="preSumTermRequest">
		<wsdl:part name="parameters" element="ns1:preSumTerm" />
	</wsdl:message>
	<wsdl:message name="preSumTermResponse">
		<wsdl:part name="parameters"
			element="ns1:preSumTermResponse" />
	</wsdl:message>
	<wsdl:portType name="TermServicePortType">
		<wsdl:operation name="sumTerm">
			<wsdl:input message="ns1:sumTermRequest"
				wsaw:Action="urn:sumTerm" />
			<wsdl:output message="ns1:sumTermResponse"
				wsaw:Action="urn:sumTermResponse" />
		</wsdl:operation>
		<wsdl:operation name="preSumTerm">
			<wsdl:input message="ns1:preSumTermRequest"
				wsaw:Action="urn:preSumTerm" />
			<wsdl:output message="ns1:preSumTermResponse"
				wsaw:Action="urn:preSumTermResponse" />
		</wsdl:operation>
	</wsdl:portType>
	<wsdl:binding name="TermServiceSOAP11Binding"
		type="ns1:TermServicePortType">
		<soap:binding transport="http://schemas.xmlsoap.org/soap/http"
			style="document" />
		<wsdl:operation name="sumTerm">
			<soap:operation soapAction="urn:sumTerm"
				style="document" />
			<wsdl:input>
				<soap:body use="literal" />
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal" />
			</wsdl:output>
		</wsdl:operation>
		<wsdl:operation name="preSumTerm">
			<soap:operation soapAction="urn:preSumTerm"
				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="TermServiceSOAP12Binding"
		type="ns1:TermServicePortType">
		<soap12:binding transport="http://schemas.xmlsoap.org/soap/http"
			style="document" />
		<wsdl:operation name="sumTerm">
			<soap12:operation soapAction="urn:sumTerm"
				style="document" />
			<wsdl:input>
				<soap12:body use="literal" />
			</wsdl:input>
			<wsdl:output>
				<soap12:body use="literal" />
			</wsdl:output>
		</wsdl:operation>
		<wsdl:operation name="preSumTerm">
			<soap12:operation soapAction="urn:preSumTerm"
				style="document" />
			<wsdl:input>
				<soap12:body use="literal" />
			</wsdl:input>
			<wsdl:output>
				<soap12:body use="literal" />
			</wsdl:output>
		</wsdl:operation>
	</wsdl:binding>
	<wsdl:binding name="TermServiceHttpBinding"
		type="ns1:TermServicePortType">
		<http:binding verb="POST" />
		<wsdl:operation name="sumTerm">
			<http:operation location="TermService/sumTerm" />
			<wsdl:input>
				<mime:content type="text/xml" part="sumTerm" />
			</wsdl:input>
			<wsdl:output>
				<mime:content type="text/xml" part="sumTerm" />
			</wsdl:output>
		</wsdl:operation>
		<wsdl:operation name="preSumTerm">
			<http:operation location="TermService/preSumTerm" />
			<wsdl:input>
				<mime:content type="text/xml" part="preSumTerm" />
			</wsdl:input>
			<wsdl:output>
				<mime:content type="text/xml" part="preSumTerm" />
			</wsdl:output>
		</wsdl:operation>
	</wsdl:binding>
	<wsdl:service name="TermService">
        <wsdl:port name="TermServiceSOAP11port_http"
            binding="ns1:TermServiceSOAP11Binding">
            <soap:address
                location="http://localhost:8080/soap/services/TermService" />
        </wsdl:port>
        <wsdl:port name="TermServiceSOAP12port_http"
            binding="ns1:TermServiceSOAP12Binding">
            <soap12:address
                location="http://localhost:8080/soap/services/TermService" />
        </wsdl:port>
        <wsdl:port name="TermServiceHttpport"
            binding="ns1:TermServiceHttpBinding">
            <http:address
                location="http://localhost:8080/soap/services/TermService" />
        </wsdl:port>
    </wsdl:service>
</wsdl:definitions>