In practical terms, If you run wsdl2java against SalesnRankNPrice WSDL (details at http://www.xmethods.com/ve2/ViewListing.po?serviceid=192). You can use the following code to get the price of a book with ISBN #0672321815 from Amazon.
com.PerfectXML.www.SalesRankNPriceSoap binding = new com.PerfectXML.www.SalesRankNPriceLocator().getSalesRankNPriceSoap(); java.lang.String ISBN = "0672321815"; System.out.println("Price for ISBN:" + ISBN + " is: " + binding.getAmazonPrice(ISBN)); It's that easy....Which means you as a user do not need to worry if the server uses RPC or DOC Thanks, dims --- Anne Thomas Manes <[EMAIL PROTECTED]> wrote: > I think what Norris means is that it generates an RMI-style Java programming > interface. (you invoke operations on the SOAP proxy) Axis will actually > generate a document-style SOAP message, though. > > Anne > > > -----Original Message----- > > From: Norris Merritt [mailto:[EMAIL PROTECTED]] > > Sent: Friday, January 03, 2003 11:34 AM > > To: 'Jonnycattt '; '[EMAIL PROTECTED] ' > > Subject: RE: consuming document-style web services > > > > > > You can consume a document style service with an RPC-style client. For > > example, if you download the wsdl for the "Shakespeare" service > > (which is a > > fun little document-style service on xmethods) and feed it to the Axis > > wsdl2java tool, it will generate Java objects which can be used to > > communicate RPC-style with the service. I've done this, so I know > > it works. > > > > -----Original Message----- > > From: Jonnycattt > > To: [EMAIL PROTECTED] > > Sent: 1/2/2003 11:13 PM > > Subject: consuming document-style web services > > > > Hi all, > > > > quick question: i see on xmethods that the .NET services are all > > Document style. Do I use the same approach to consuming these services > > as RPC services? I don't remember seeing any examples (or mention of > > differences in consuming) for Document style services in the docs. > > > > And another quick .NET question: If I code a java web service and use > > axis to deploy it, what's the easiest (and free) way for me to test for > > .NET interop? > > > > Thanks all. > > > > Marc > > > > > > > > _____________________________________________________________________ > > This mail was sent by Cablespeed Webmail > > > ===== Davanum Srinivas - http://xml.apache.org/~dims/ __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com