payment.wsdl

来自「j2ee技术内幕源码包括了这本书的所有代码」· WSDL 代码 · 共 43 行

WSDL
43
字号
<?xml version="1.0" encoding="utf-8"?>
<definitions xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s0="http://www.capeclear.com/Payment.xsd" xmlns:tns="http://www.capeclear.com/Payment.wsdl" targetNamespace="http://www.capeclear.com/Payment.wsdl" name="Payment" xmlns="http://schemas.xmlsoap.org/wsdl/">
  <types>
    <s:schema targetNamespace="http://www.capeclear.com/Payment.xsd">
      <s:complexType name="CreditCardInfo">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="ccName" nillable="true" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="ccNumber" nillable="true" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="ccExpiry" nillable="true" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="amount" type="s:double" />
        </s:sequence>
      </s:complexType>
    </s:schema>
  </types>
  <message name="processPayment">
    <part name="arg0" type="s0:CreditCardInfo" />
  </message>
  <message name="processPaymentResponse" />
  <portType name="PaymentAgent">
    <operation name="processPayment">
      <input message="tns:processPayment" />
      <output message="tns:processPaymentResponse" />
    </operation>
  </portType>
  <binding name="PaymentAgentBinding" type="tns:PaymentAgent">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc" />
    <operation name="processPayment">
      <soap:operation soapAction="capeconnect:Payment:PaymentAgent#processPayment" />
      <input>
        <soap:body use="encoded" namespace="capeconnect:Payment:PaymentAgent" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
      </input>
      <output>
        <soap:body use="encoded" namespace="capeconnect:Payment:PaymentAgent" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
      </output>
    </operation>
  </binding>
  <service name="Payment">
    <documentation>Payment</documentation>
    <port name="PaymentAgent" binding="tns:PaymentAgentBinding">
      <soap:address location="http://142.107.253.41:8200/ccx/SOAPServlet" />
    </port>
  </service>
</definitions>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?