You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by to...@apache.org on 2002/03/19 21:32:38 UTC

cvs commit: xml-axis/java/test/wsdl/literal SalesRankNPrice.wsdl

tomj        02/03/19 12:32:38

  Modified:    java/test/wsdl/literal SalesRankNPrice.wsdl
  Log:
  Update in tree wsdl file to match the service at www.perfectxml.net.
  
  Revision  Changes    Path
  1.2       +44 -55    xml-axis/java/test/wsdl/literal/SalesRankNPrice.wsdl
  
  Index: SalesRankNPrice.wsdl
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/test/wsdl/literal/SalesRankNPrice.wsdl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SalesRankNPrice.wsdl	23 Jan 2002 20:16:23 -0000	1.1
  +++ SalesRankNPrice.wsdl	19 Mar 2002 20:32:38 -0000	1.2
  @@ -1,203 +1,192 @@
   <?xml version="1.0" encoding="utf-8"?>
  -<!--
  - This is a .NET web service which uses document style and literal encoding
  -
  - You can find info about this service at
  -   http://www.perfectxml.net/WebServices/SalesRankNPrice/BookService.asmx
  -
  - The test suite gets the WSDL from the URL:
  -   http://www.perfectxml.net/WebServices/SalesRankNPrice/BookService.asmx?WSDL
  -
  - Tom Jordahl (tomj@macromedia.com)
  --->
  -<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.PerfectXML.com/NETWebSvcs/BookService" targetNamespace="http://www.PerfectXML.com/NETWebSvcs/BookService" xmlns="http://schemas.xmlsoap.org/wsdl/">
  +<definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://www.PerfectXML.com/NETWebSvcs/BookService" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://www.PerfectXML.com/NETWebSvcs/BookService" xmlns="http://schemas.xmlsoap.org/wsdl/">
     <types>
  -    <s:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://www.PerfectXML.com/NETWebSvcs/BookService">
  +    <s:schema elementFormDefault="qualified" targetNamespace="http://www.PerfectXML.com/NETWebSvcs/BookService">
         <s:element name="GetAmazonSalesRank">
           <s:complexType>
             <s:sequence>
  -            <s:element minOccurs="1" maxOccurs="1" name="ISBN" nillable="true" type="s:string" />
  +            <s:element minOccurs="0" maxOccurs="1" name="ISBN" type="s:string" />
             </s:sequence>
           </s:complexType>
         </s:element>
         <s:element name="GetAmazonSalesRankResponse">
           <s:complexType>
             <s:sequence>
  -            <s:element minOccurs="1" maxOccurs="1" name="GetAmazonSalesRankResult" nillable="true" type="s:string" />
  +            <s:element minOccurs="0" maxOccurs="1" name="GetAmazonSalesRankResult" type="s:string" />
             </s:sequence>
           </s:complexType>
         </s:element>
         <s:element name="GetAmazonUKSalesRank">
           <s:complexType>
             <s:sequence>
  -            <s:element minOccurs="1" maxOccurs="1" name="ISBN" nillable="true" type="s:string" />
  +            <s:element minOccurs="0" maxOccurs="1" name="ISBN" type="s:string" />
             </s:sequence>
           </s:complexType>
         </s:element>
         <s:element name="GetAmazonUKSalesRankResponse">
           <s:complexType>
             <s:sequence>
  -            <s:element minOccurs="1" maxOccurs="1" name="GetAmazonUKSalesRankResult" nillable="true" type="s:string" />
  +            <s:element minOccurs="0" maxOccurs="1" name="GetAmazonUKSalesRankResult" type="s:string" />
             </s:sequence>
           </s:complexType>
         </s:element>
         <s:element name="GetBNSalesRank">
           <s:complexType>
             <s:sequence>
  -            <s:element minOccurs="1" maxOccurs="1" name="ISBN" nillable="true" type="s:string" />
  +            <s:element minOccurs="0" maxOccurs="1" name="ISBN" type="s:string" />
             </s:sequence>
           </s:complexType>
         </s:element>
         <s:element name="GetBNSalesRankResponse">
           <s:complexType>
             <s:sequence>
  -            <s:element minOccurs="1" maxOccurs="1" name="GetBNSalesRankResult" nillable="true" type="s:string" />
  +            <s:element minOccurs="0" maxOccurs="1" name="GetBNSalesRankResult" type="s:string" />
             </s:sequence>
           </s:complexType>
         </s:element>
         <s:element name="GetAmazonPrice">
           <s:complexType>
             <s:sequence>
  -            <s:element minOccurs="1" maxOccurs="1" name="ISBN" nillable="true" type="s:string" />
  +            <s:element minOccurs="0" maxOccurs="1" name="ISBN" type="s:string" />
             </s:sequence>
           </s:complexType>
         </s:element>
         <s:element name="GetAmazonPriceResponse">
           <s:complexType>
             <s:sequence>
  -            <s:element minOccurs="1" maxOccurs="1" name="GetAmazonPriceResult" nillable="true" type="s:string" />
  +            <s:element minOccurs="0" maxOccurs="1" name="GetAmazonPriceResult" type="s:string" />
             </s:sequence>
           </s:complexType>
         </s:element>
         <s:element name="GetAmazonUKPrice">
           <s:complexType>
             <s:sequence>
  -            <s:element minOccurs="1" maxOccurs="1" name="ISBN" nillable="true" type="s:string" />
  +            <s:element minOccurs="0" maxOccurs="1" name="ISBN" type="s:string" />
             </s:sequence>
           </s:complexType>
         </s:element>
         <s:element name="GetAmazonUKPriceResponse">
           <s:complexType>
             <s:sequence>
  -            <s:element minOccurs="1" maxOccurs="1" name="GetAmazonUKPriceResult" nillable="true" type="s:string" />
  +            <s:element minOccurs="0" maxOccurs="1" name="GetAmazonUKPriceResult" type="s:string" />
             </s:sequence>
           </s:complexType>
         </s:element>
         <s:element name="GetBNPrice">
           <s:complexType>
             <s:sequence>
  -            <s:element minOccurs="1" maxOccurs="1" name="ISBN" nillable="true" type="s:string" />
  +            <s:element minOccurs="0" maxOccurs="1" name="ISBN" type="s:string" />
             </s:sequence>
           </s:complexType>
         </s:element>
         <s:element name="GetBNPriceResponse">
           <s:complexType>
             <s:sequence>
  -            <s:element minOccurs="1" maxOccurs="1" name="GetBNPriceResult" nillable="true" type="s:string" />
  +            <s:element minOccurs="0" maxOccurs="1" name="GetBNPriceResult" type="s:string" />
             </s:sequence>
           </s:complexType>
         </s:element>
         <s:element name="GetAmazonSalesRankNPrice">
           <s:complexType>
             <s:sequence>
  -            <s:element minOccurs="1" maxOccurs="1" name="ISBN" nillable="true" type="s:string" />
  +            <s:element minOccurs="0" maxOccurs="1" name="ISBN" type="s:string" />
             </s:sequence>
           </s:complexType>
         </s:element>
         <s:element name="GetAmazonSalesRankNPriceResponse">
           <s:complexType>
             <s:sequence>
  -            <s:element minOccurs="1" maxOccurs="1" name="SalesRankNPrice" type="s0:SalesRankNPrice" />
  +            <s:element minOccurs="0" maxOccurs="1" name="GetAmazonSalesRankNPriceResult" type="s0:SalesRankNPrice1" />
             </s:sequence>
           </s:complexType>
         </s:element>
  -      <s:complexType name="SalesRankNPrice">
  +      <s:complexType name="SalesRankNPrice1">
           <s:sequence>
  -          <s:element minOccurs="1" maxOccurs="1" name="SalesRank" type="s:string" />
  -          <s:element minOccurs="1" maxOccurs="1" name="Price" type="s:string" />
  +          <s:element minOccurs="0" maxOccurs="1" name="SalesRank" type="s:string" />
  +          <s:element minOccurs="0" maxOccurs="1" name="Price" type="s:string" />
           </s:sequence>
         </s:complexType>
         <s:element name="GetBNSalesRankNPrice">
           <s:complexType>
             <s:sequence>
  -            <s:element minOccurs="1" maxOccurs="1" name="ISBN" nillable="true" type="s:string" />
  +            <s:element minOccurs="0" maxOccurs="1" name="ISBN" type="s:string" />
             </s:sequence>
           </s:complexType>
         </s:element>
         <s:element name="GetBNSalesRankNPriceResponse">
           <s:complexType>
             <s:sequence>
  -            <s:element minOccurs="1" maxOccurs="1" name="SalesRankNPrice" type="s0:SalesRankNPrice" />
  +            <s:element minOccurs="0" maxOccurs="1" name="GetBNSalesRankNPriceResult" type="s0:SalesRankNPrice1" />
             </s:sequence>
           </s:complexType>
         </s:element>
         <s:element name="GetAmazonAndBNSalesRank">
           <s:complexType>
             <s:sequence>
  -            <s:element minOccurs="1" maxOccurs="1" name="ISBN" nillable="true" type="s:string" />
  +            <s:element minOccurs="0" maxOccurs="1" name="ISBN" type="s:string" />
             </s:sequence>
           </s:complexType>
         </s:element>
         <s:element name="GetAmazonAndBNSalesRankResponse">
           <s:complexType>
             <s:sequence>
  -            <s:element minOccurs="1" maxOccurs="1" name="SalesRanks" type="s0:SalesRanks" />
  +            <s:element minOccurs="0" maxOccurs="1" name="GetAmazonAndBNSalesRankResult" type="s0:SalesRanks" />
             </s:sequence>
           </s:complexType>
         </s:element>
         <s:complexType name="SalesRanks">
           <s:sequence>
  -          <s:element minOccurs="1" maxOccurs="1" name="AmazonSalesRank" type="s:string" />
  -          <s:element minOccurs="1" maxOccurs="1" name="BNSalesRank" type="s:string" />
  +          <s:element minOccurs="0" maxOccurs="1" name="AmazonSalesRank" type="s:string" />
  +          <s:element minOccurs="0" maxOccurs="1" name="BNSalesRank" type="s:string" />
           </s:sequence>
         </s:complexType>
         <s:element name="GetAmazonAndBNPrice">
           <s:complexType>
             <s:sequence>
  -            <s:element minOccurs="1" maxOccurs="1" name="ISBN" nillable="true" type="s:string" />
  +            <s:element minOccurs="0" maxOccurs="1" name="ISBN" type="s:string" />
             </s:sequence>
           </s:complexType>
         </s:element>
         <s:element name="GetAmazonAndBNPriceResponse">
           <s:complexType>
             <s:sequence>
  -            <s:element minOccurs="1" maxOccurs="1" name="Prices" type="s0:Prices" />
  +            <s:element minOccurs="0" maxOccurs="1" name="GetAmazonAndBNPriceResult" type="s0:Prices" />
             </s:sequence>
           </s:complexType>
         </s:element>
         <s:complexType name="Prices">
           <s:sequence>
  -          <s:element minOccurs="1" maxOccurs="1" name="AmazonPrice" type="s:string" />
  -          <s:element minOccurs="1" maxOccurs="1" name="BNPrice" type="s:string" />
  +          <s:element minOccurs="0" maxOccurs="1" name="AmazonPrice" type="s:string" />
  +          <s:element minOccurs="0" maxOccurs="1" name="BNPrice" type="s:string" />
           </s:sequence>
         </s:complexType>
         <s:element name="GetAll">
           <s:complexType>
             <s:sequence>
  -            <s:element minOccurs="1" maxOccurs="1" name="ISBN" nillable="true" type="s:string" />
  +            <s:element minOccurs="0" maxOccurs="1" name="ISBN" type="s:string" />
             </s:sequence>
           </s:complexType>
         </s:element>
         <s:element name="GetAllResponse">
           <s:complexType>
             <s:sequence>
  -            <s:element minOccurs="1" maxOccurs="1" name="All" type="s0:All" />
  +            <s:element minOccurs="0" maxOccurs="1" name="GetAllResult" type="s0:All" />
             </s:sequence>
           </s:complexType>
         </s:element>
         <s:complexType name="All">
           <s:sequence>
  -          <s:element minOccurs="1" maxOccurs="1" name="AmazonSalesRank" type="s:string" />
  -          <s:element minOccurs="1" maxOccurs="1" name="AmazonPrice" type="s:string" />
  -          <s:element minOccurs="1" maxOccurs="1" name="BNSalesRank" type="s:string" />
  -          <s:element minOccurs="1" maxOccurs="1" name="BNPrice" type="s:string" />
  +          <s:element minOccurs="0" maxOccurs="1" name="AmazonSalesRank" type="s:string" />
  +          <s:element minOccurs="0" maxOccurs="1" name="AmazonPrice" type="s:string" />
  +          <s:element minOccurs="0" maxOccurs="1" name="BNSalesRank" type="s:string" />
  +          <s:element minOccurs="0" maxOccurs="1" name="BNPrice" type="s:string" />
           </s:sequence>
         </s:complexType>
         <s:element name="string" nillable="true" type="s:string" />
  -      <s:element name="SalesRankNPrice" type="s0:SalesRankNPrice" />
  -      <s:element name="SalesRanks" type="s0:SalesRanks" />
  -      <s:element name="Prices" type="s0:Prices" />
  -      <s:element name="All" type="s0:All" />
  +      <s:element name="SalesRankNPrice1" nillable="true" type="s0:SalesRankNPrice1" />
  +      <s:element name="SalesRanks" nillable="true" type="s0:SalesRanks" />
  +      <s:element name="Prices" nillable="true" type="s0:Prices" />
  +      <s:element name="All" nillable="true" type="s0:All" />
       </s:schema>
     </types>
     <message name="GetAmazonSalesRankSoapIn">
  @@ -306,13 +295,13 @@
       <part name="ISBN" type="s:string" />
     </message>
     <message name="GetAmazonSalesRankNPriceHttpGetOut">
  -    <part name="Body" element="s0:SalesRankNPrice" />
  +    <part name="Body" element="s0:SalesRankNPrice1" />
     </message>
     <message name="GetBNSalesRankNPriceHttpGetIn">
       <part name="ISBN" type="s:string" />
     </message>
     <message name="GetBNSalesRankNPriceHttpGetOut">
  -    <part name="Body" element="s0:SalesRankNPrice" />
  +    <part name="Body" element="s0:SalesRankNPrice1" />
     </message>
     <message name="GetAmazonAndBNSalesRankHttpGetIn">
       <part name="ISBN" type="s:string" />
  @@ -372,13 +361,13 @@
       <part name="ISBN" type="s:string" />
     </message>
     <message name="GetAmazonSalesRankNPriceHttpPostOut">
  -    <part name="Body" element="s0:SalesRankNPrice" />
  +    <part name="Body" element="s0:SalesRankNPrice1" />
     </message>
     <message name="GetBNSalesRankNPriceHttpPostIn">
       <part name="ISBN" type="s:string" />
     </message>
     <message name="GetBNSalesRankNPriceHttpPostOut">
  -    <part name="Body" element="s0:SalesRankNPrice" />
  +    <part name="Body" element="s0:SalesRankNPrice1" />
     </message>
     <message name="GetAmazonAndBNSalesRankHttpPostIn">
       <part name="ISBN" type="s:string" />
  @@ -876,7 +865,7 @@
       </operation>
     </binding>
     <service name="SalesRankNPrice">
  -    <documentation>&lt;b&gt;This Web Service can be used to get the Sales Rank and/or price for any book available on Amazon and/or B&amp;N Web sites.&lt;/b&gt; This Web Service is created by &lt;a href=http://www.PerfectXML.com target=_blank&gt;PerfectXML Team&lt;/a&gt;.&lt;br&gt;&lt;br&gt;Please email your questions/comments/suggestions to &lt;a href=mailto:darshan@PerfectXML.com&gt;&lt;b&gt;darshan@PerfectXML.com&lt;/b&gt;&lt;/a&gt;.&lt;br&gt;&lt;br&gt;The C# client application that accesses SalesRankNPrice Web Service is available (with source code)to download at &lt;A href=http://www.perfectxml.com/Downloads/SalesRankNPriceWinClient.zip &gt;http://www.PerfectXML.com/Downloads/SalesRankNPriceWinClient.zip&lt;/A&gt;.&lt;br&gt;&lt;br&gt;&lt;A href=http://www.perfectxml.com/images/SalesRankNPrice.jpg target=_blank&gt;Click here&lt;/A&gt; to view the screenshot image of this client application.&lt;br&gt;&lt;br&gt;You can configure which books to monitor, the settings are saved in XML configuration files locally.&lt;br&gt;&lt;br&gt;For &lt;b&gt;more information on Web Services&lt;/b&gt;, visit &lt;a href=http://www.PerfectXML.com/WebSvc1.asp target=_blank&gt;PerfectXML Web Services focus section&lt;/a&gt;.&lt;br&gt;&lt;br&gt;Note that this Web Service posts data directly to Amazon and BarnesAndNoble Web sites. This Web Service is intended only for non-commercial, personal use.&lt;br&gt;&lt;br&gt;&lt;u&gt;Few sample ISBN Numbers&lt;/u&gt;:&lt;blockquote&gt;1861005628 : Early Adopter VoiceXML from Wrox Press&lt;br&gt;073571052X : C++ XML from New Riders&lt;br&gt;1861005466 : Professional SQL Server 2000 XML from Wrox Press&lt;br&gt;1930110081 : Dynamic WAP Application Development from Manning&lt;br&gt;1893115976 : Moving to VB.NET: Strategies, Concepts, and Code (Beta 2) from APress&lt;/blockquote&gt;</documentation>
  +    <documentation>&lt;b&gt;This Web Service can be used to get the Sales Rank and/or price for any book available on Amazon and/or B&amp;N Web sites.&lt;/b&gt; This Web Service is created by &lt;a href=http://www.PerfectXML.com target=_blank&gt;PerfectXML Team&lt;/a&gt;.&lt;br&gt;&lt;br&gt;Please email your questions/comments/suggestions to &lt;a href=mailto:darshan@PerfectXML.com&gt;&lt;b&gt;darshan@PerfectXML.com&lt;/b&gt;&lt;/a&gt;.&lt;br&gt;Web Service built using ASP.NET (&lt;b&gt;1.0.3705&lt;/b&gt;) and Visual Studio .NET (&lt;b&gt;7.0.9466&lt;/b&gt;)&lt;br&gt;&lt;br&gt;The C# client application that accesses SalesRankNPrice Web Service is available (with source code)to download at &lt;A href=http://www.perfectxml.com/Downloads/SalesRankNPriceWinClient.zip &gt;http://www.PerfectXML.com/Downloads/SalesRankNPriceWinClient.zip&lt;/A&gt;.&lt;br&gt;&lt;br&gt;&lt;A href=http://www.perfectxml.com/images/SalesRankNPrice.jpg target=_blank&gt;Click here&lt;/A&gt; to view the screenshot image of this client application.&lt;br&gt;&lt;br&gt;You can configure which books to monitor, the settings are saved in XML configuration files locally.&lt;br&gt;&lt;br&gt;For &lt;b&gt;more information on Web Services&lt;/b&gt;, visit &lt;a href=http://www.PerfectXML.com/WebSvc1.asp target=_blank&gt;PerfectXML Web Services focus section&lt;/a&gt;.&lt;br&gt;&lt;br&gt;Note that this Web Service posts data directly to Amazon and BarnesAndNoble Web sites. This Web Service is intended only for non-commercial, personal use.&lt;br&gt;&lt;br&gt;&lt;u&gt;Few sample ISBN Numbers&lt;/u&gt;:&lt;blockquote&gt;186100589X: &lt;b&gt;XML Application Development with MSXML 4.0&lt;/b&gt; (Wrox Press)&lt;br&gt;1861005628 : &lt;b&gt;Early Adopter VoiceXML&lt;/b&gt; (Wrox Press)&lt;br&gt;073571052X : &lt;b&gt;C++ XML&lt;/b&gt; (New Riders)&lt;br&gt;1861005466 : &lt;b&gt;Professional SQL Server 2000 XML&lt;/b&gt; (Wrox Press)&lt;br&gt;1861005318 : &lt;b&gt;Professional XML for .NET Developers&lt;/b&gt; (Wrox Press)&lt;br&gt;1893115976 : &lt;b&gt;Moving to VB.NET: Strategies, Concepts, and Code (Beta 2)&lt;/b&gt; (APress)&lt;/blockquote&gt;</documentation>
       <port name="SalesRankNPriceSoap" binding="s0:SalesRankNPriceSoap">
         <soap:address location="http://www.perfectxml.net/WebServices/SalesRankNPrice/BookService.asmx" />
       </port>