⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 listing 16-11.txt

📁 J2ME开发大全一书的全部源代码
💻 TXT
字号:
<?xml version="1.0"?>
<definitions name="pricing" 
         targetNamespace="http://mycompany.com/pricing.wsdl"
      xmlns:tns="http://mycompany.com/pricing.wsdl"
      xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
      xmlns:xsd1="http://mycompany.com/pricing.xsd"
      xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
      xmlns="http://schemas.xmlsoap.org/wsdl/">
   <message name="ProductPricingInput">
      <part name="ProductID" element="xsd:string"/>
   </message>
   <message name="ProductPricingOutput">
     <part name="price" type="xsd:float"/>
   </message>
   <portType name="ProductPricePortType">
     <operation name="GetProductPricing">
       <input message="tns:GetProductPricingInput"/>
       <output message="tns:GetProductPricingOutput"/>
     </operation>
   </portType>
   <binding name="ProductPriceSoapBinding" 
            type="tns:ProductPricePortType">
     <soap:binding style="rpc" 
             transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="GetProductPrice">
      <soap:operation soapAction="http://mycompany/GetProductPrice"/>
        <input>
          <soap:body use="encoded" 
                  namespace="http://mycompany.com/pricing"                         
              encodingStyle=
                 "http://schemas.xmlsoap.org/soap/encoding/"/>
        </input>
        <output>
          <soap:body use="encoded" 
                   namespace="http://mycompany.com/pricing"                        
              encodingStyle=
                   "http://schemas.xmlsoap.org/soap/encoding/"/>
        </output>
     </operation>
   </binding>
   <service name="ProductPricingService">
     <documentation>My first service</documentation>
     <port name="ProductPricePort" binding="tns:ProductPriceBinding"
       <soap:address location="http://mycompany.com/pricing"/>
     </port>
   </service>
</definitions>

⌨️ 快捷键说明

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