Return-Path: Delivered-To: apmail-xml-axis-user-archive@xml.apache.org Received: (qmail 71753 invoked by uid 500); 13 Jan 2003 21:00:41 -0000 Mailing-List: contact axis-user-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-user@xml.apache.org Received: (qmail 71744 invoked from network); 13 Jan 2003 21:00:40 -0000 Message-Id: <3.0.5.32.20030113160354.00f332d8@mcenter.com> X-Sender: dan@mcenter.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Mon, 13 Jan 2003 16:03:54 -0500 To: axis-user@xml.apache.org From: "Dan" Subject: first Document Style client Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-SLUIDL: 208078CB-D4C141DB-BA404644-53BD664C X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I'm just getting started with XML, SOAP, and Axis. I'm in the early "figuring it out" stages. For experience, I'd like to try writing a bare bones client to get the service at: http://www.webservicex.net/uszip.asmx using the GetInfoByZipCode function. I've written an RPC client that can communicate with the service, but I don't know how to handle the and child elements, since this is a document type service. I get a [ERROR] Call - -Exception: because I'm expecting a string return type but get a NewDataSet with children elements. I'm aware of the WSDL2Java tool, but since I'm learning I prefer to "write it myself" so I can get a better understanding of what's going on. I'm guessing that the "NewDataSet" element is defined somewhere on the site and I'd use this to parse the XML portion of the return. If someone could give a little insight as to what the steps would be to do this, I'd be thankful. Is the "XML-portion" () of the return available in my Call object (or someway to get it)? Once I get the result XML, what do I use to parse the XML elements "automatically" using the definition? The service returns this XML: Forest ParkGA30297404E