pricerservice.wsdl

来自「精通EJB3.0一书的全部随书实例的源代码。」· WSDL 代码 · 共 63 行

WSDL
63
字号
<?xml version="1.0" encoding="UTF-8"?>

<definitions name="PricerService" targetNamespace="urn:examples" xmlns:tns="urn:examples" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
  <types/>
  <message name="PricerInterface_getBulkDiscountRate"/>
  <message name="PricerInterface_getBulkDiscountRateResponse">
    <part name="result" type="xsd:double"/></message>
  <message name="PricerInterface_getDiscount">
    <part name="int_1" type="xsd:int"/>
    <part name="double_2" type="xsd:double"/>
    <part name="String_3" type="xsd:string"/></message>
  <message name="PricerInterface_getDiscountResponse">
    <part name="result" type="xsd:double"/></message>
  <message name="PricerInterface_getPersonalDiscountRate">
    <part name="String_1" type="xsd:string"/></message>
  <message name="PricerInterface_getPersonalDiscountRateResponse">
    <part name="result" type="xsd:double"/></message>
  <message name="PricerInterface_getTaxRate"/>
  <message name="PricerInterface_getTaxRateResponse">
    <part name="result" type="xsd:double"/></message>
  <portType name="PricerInterface">
    <operation name="getBulkDiscountRate">
      <input message="tns:PricerInterface_getBulkDiscountRate"/>
      <output message="tns:PricerInterface_getBulkDiscountRateResponse"/></operation>
    <operation name="getDiscount" parameterOrder="int_1 double_2 String_3">
      <input message="tns:PricerInterface_getDiscount"/>
      <output message="tns:PricerInterface_getDiscountResponse"/></operation>
    <operation name="getPersonalDiscountRate" parameterOrder="String_1">
      <input message="tns:PricerInterface_getPersonalDiscountRate"/>
      <output message="tns:PricerInterface_getPersonalDiscountRateResponse"/></operation>
    <operation name="getTaxRate">
      <input message="tns:PricerInterface_getTaxRate"/>
      <output message="tns:PricerInterface_getTaxRateResponse"/></operation></portType>
  <binding name="PricerInterfaceBinding" type="tns:PricerInterface">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
    <operation name="getBulkDiscountRate">
      <soap:operation soapAction=""/>
      <input>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded" namespace="urn:examples"/></input>
      <output>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded" namespace="urn:examples"/></output></operation>
    <operation name="getDiscount">
      <soap:operation soapAction=""/>
      <input>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded" namespace="urn:examples"/></input>
      <output>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded" namespace="urn:examples"/></output></operation>
    <operation name="getPersonalDiscountRate">
      <soap:operation soapAction=""/>
      <input>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded" namespace="urn:examples"/></input>
      <output>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded" namespace="urn:examples"/></output></operation>
    <operation name="getTaxRate">
      <soap:operation soapAction=""/>
      <input>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded" namespace="urn:examples"/></input>
      <output>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded" namespace="urn:examples"/></output></operation></binding>
  <service name="PricerService">
    <port name="PricerInterfacePort" binding="tns:PricerInterfaceBinding">
      <soap:address location="REPLACE_WITH_ACTUAL_URL"/></port></service></definitions>

⌨️ 快捷键说明

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