TranhistService.wsdl 11.9 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="TranhistResult">
                <xs:sequence>
                    <xs:element minOccurs="0" name="count"
                        type="xs:int" />
                    <xs:element minOccurs="0" name="errorMessage"
                        nillable="true" type="xs:string" />
                    <xs:element minOccurs="0" name="offset"
                        type="xs:int" />
                    <xs:element maxOccurs="unbounded" minOccurs="0"
                        name="records" nillable="true" type="ax22:TranhistRecord" />
                    <xs:element minOccurs="0" name="resultCode"
                        type="xs:int" />
                    <xs:element minOccurs="0" name="totalCount"
                        type="xs:int" />
                </xs:sequence>
            </xs:complexType>
            <xs:complexType name="TranhistRecord">
                <xs:sequence>
                    <xs:element minOccurs="0" name="balanceTotal"
                        type="xs:int" />
                    <xs:element minOccurs="0" name="cardNo"
                        nillable="true" type="xs:string" />
                    <xs:element minOccurs="0" name="couponBonusValue"
                        type="xs:int" />
                    <xs:element minOccurs="0" name="dealNo"
                        nillable="true" type="xs:string" />
                    <xs:element minOccurs="0" name="dealNoCanceled"
                        nillable="true" type="xs:string" />
                    <xs:element minOccurs="0" name="depositCancelValue"
                        type="xs:int" />
                    <xs:element minOccurs="0" name="depositValue"
                        type="xs:int" />
                    <xs:element minOccurs="0" name="hqshopId"
                        type="xs:int" />
                    <xs:element minOccurs="0" name="hqshopName"
                        nillable="true" type="xs:string" />
                    <xs:element minOccurs="0" name="issueBonusValue"
                        type="xs:int" />
                    <xs:element minOccurs="0" name="lapseBonusValue"
                        type="xs:int" />
                    <xs:element minOccurs="0" name="lapseCouponValue"
                        type="xs:int" />
                    <xs:element minOccurs="0" name="lapseValue"
                        type="xs:int" />
                    <xs:element minOccurs="0" name="paidBonusValue"
                        type="xs:int" />
                    <xs:element minOccurs="0" name="paidCancelValue"
                        type="xs:int" />
                    <xs:element minOccurs="0" name="paidCouponValue"
                        type="xs:int" />
                    <xs:element minOccurs="0" name="paidValue"
                        type="xs:int" />
                    <xs:element minOccurs="0" name="receiptNo"
                        nillable="true" type="xs:string" />
                    <xs:element minOccurs="0" name="regDate"
                        nillable="true" type="xs:dateTime" />
                    <xs:element minOccurs="0" name="reqClass"
                        nillable="true" type="xs:string" />
                    <xs:element minOccurs="0" name="reqClassExp"
                        nillable="true" type="xs:string" />
                    <xs:element minOccurs="0" name="reqId"
                        nillable="true" type="xs:string" />
                    <xs:element minOccurs="0" name="sendbackValue"
                        type="xs:int" />
                    <xs:element minOccurs="0" name="seqNo"
                        nillable="true" type="xs:decimal" />
                    <xs:element minOccurs="0" name="shopId"
                        nillable="true" type="xs:string" />
                    <xs:element minOccurs="0" name="shopName"
                        nillable="true" type="xs:string" />
                    <xs:element minOccurs="0" name="termId"
                        nillable="true" type="xs:string" />
                </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="tranhistByCard">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element minOccurs="0" name="accessKey"
                            nillable="true" type="xs:string" />
                        <xs:element minOccurs="0" name="cardNo"
                            nillable="true" type="xs:string" />
                        <xs:element minOccurs="0" name="limit"
                            type="xs:int" />
                        <xs:element minOccurs="0" name="offset"
                            type="xs:int" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="tranhistByCardResponse">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element minOccurs="0" name="return"
                            nillable="true" type="ns0:TranhistResult" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="tranhistDaily">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element minOccurs="0" name="accessKey"
                            nillable="true" type="xs:string" />
                        <xs:element minOccurs="0" name="targetDate"
                            nillable="true" type="xs:string" />
                        <xs:element minOccurs="0" name="limit"
                            type="xs:int" />
                        <xs:element minOccurs="0" name="offset"
                            type="xs:int" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="tranhistDailyResponse">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element minOccurs="0" name="return"
                            nillable="true" type="ns0:TranhistResult" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:schema>
    </wsdl:types>
    <wsdl:message name="tranhistDailyRequest">
        <wsdl:part name="parameters" element="ns1:tranhistDaily" />
    </wsdl:message>
    <wsdl:message name="tranhistDailyResponse">
        <wsdl:part name="parameters"
            element="ns1:tranhistDailyResponse" />
    </wsdl:message>
    <wsdl:message name="tranhistByCardRequest">
        <wsdl:part name="parameters" element="ns1:tranhistByCard" />
    </wsdl:message>
    <wsdl:message name="tranhistByCardResponse">
        <wsdl:part name="parameters"
            element="ns1:tranhistByCardResponse" />
    </wsdl:message>
    <wsdl:portType name="TranhistServicePortType">
        <wsdl:operation name="tranhistDaily">
            <wsdl:input message="ns1:tranhistDailyRequest"
                wsaw:Action="urn:tranhistDaily" />
            <wsdl:output message="ns1:tranhistDailyResponse"
                wsaw:Action="urn:tranhistDailyResponse" />
        </wsdl:operation>
        <wsdl:operation name="tranhistByCard">
            <wsdl:input message="ns1:tranhistByCardRequest"
                wsaw:Action="urn:tranhistByCard" />
            <wsdl:output message="ns1:tranhistByCardResponse"
                wsaw:Action="urn:tranhistByCardResponse" />
        </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="TranhistServiceSOAP11Binding"
        type="ns1:TranhistServicePortType">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
            style="document" />
        <wsdl:operation name="tranhistDaily">
            <soap:operation soapAction="urn:tranhistDaily"
                style="document" />
            <wsdl:input>
                <soap:body use="literal" />
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal" />
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="tranhistByCard">
            <soap:operation soapAction="urn:tranhistByCard"
                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="TranhistServiceSOAP12Binding"
        type="ns1:TranhistServicePortType">
        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"
            style="document" />
        <wsdl:operation name="tranhistDaily">
            <soap12:operation soapAction="urn:tranhistDaily"
                style="document" />
            <wsdl:input>
                <soap12:body use="literal" />
            </wsdl:input>
            <wsdl:output>
                <soap12:body use="literal" />
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="tranhistByCard">
            <soap12:operation soapAction="urn:tranhistByCard"
                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="TranhistServiceHttpBinding"
        type="ns1:TranhistServicePortType">
        <http:binding verb="POST" />
        <wsdl:operation name="tranhistDaily">
            <http:operation location="TranhistService/tranhistDaily" />
            <wsdl:input>
                <mime:content type="text/xml" part="tranhistDaily" />
            </wsdl:input>
            <wsdl:output>
                <mime:content type="text/xml" part="tranhistDaily" />
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="tranhistByCard">
            <http:operation location="TranhistService/tranhistByCard" />
            <wsdl:input>
                <mime:content type="text/xml" part="tranhistByCard" />
            </wsdl:input>
            <wsdl:output>
                <mime:content type="text/xml" part="tranhistByCard" />
            </wsdl:output>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="TranhistService">
        <wsdl:port name="TranhistServiceSOAP11port_http"
            binding="ns1:TranhistServiceSOAP11Binding">
            <soap:address
                location="http://localhost:8080/soap/services/TranhistService" />
        </wsdl:port>
        <wsdl:port name="TranhistServiceSOAP12port_http"
            binding="ns1:TranhistServiceSOAP12Binding">
            <soap12:address
                location="http://localhost:8080/soap/services/TranhistService" />
        </wsdl:port>
        <wsdl:port name="TranhistServiceHttpport"
            binding="ns1:TranhistServiceHttpBinding">
            <http:address
                location="http://localhost:8080/soap/services/TranhistService" />
        </wsdl:port>
    </wsdl:service>
</wsdl:definitions>