Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 57345 invoked from network); 2 Aug 2005 18:07:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Aug 2005 18:07:42 -0000 Received: (qmail 71540 invoked by uid 500); 2 Aug 2005 18:07:28 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 71525 invoked by uid 500); 2 Aug 2005 18:07:28 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 71509 invoked by uid 99); 2 Aug 2005 18:07:28 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Aug 2005 11:07:28 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [66.218.95.64] (HELO web80901.mail.scd.yahoo.com) (66.218.95.64) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 02 Aug 2005 11:07:18 -0700 Received: (qmail 82756 invoked by uid 60001); 2 Aug 2005 18:07:25 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Qr054ZJFXSDpKHfw+Q0F7lybeUdpG7xniBU6ktX2JjNzhLCDkWbTb8d2KWugVbXEe2QUwTZ03bQiAyCFdxTh2GEXoM/HK4bFW3LdbSDxrOP0kNqB2wbv5/J7jpYuyKC9666QmDe53nBz45kRiURnGGzX6s59bl+EdlnZ/ThZs/c= ; Message-ID: <20050802180725.82754.qmail@web80901.mail.scd.yahoo.com> Received: from [69.177.119.126] by web80901.mail.scd.yahoo.com via HTTP; Tue, 02 Aug 2005 11:07:25 PDT Date: Tue, 2 Aug 2005 11:07:25 -0700 (PDT) From: "John M. Gabriele" Subject: RE: an Axis faq, and a few questions about a simple ws To: axis-user@ws.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N A. I don't know if everything I've writing is correct, B. I'm learning how to use and administer PmWiki, so this is good practice C. I tend to be a perfectionist, and don't like the wiki-police editing my finely honed razor sharp wit. ;) D. I'm still reading the official Axis wiki, trying to wrap my head around all this, and seeing where my stuff might fit in. Thanks, ---J --- Dino Chiesa wrote: > Why don't you add it to the existing AXIS Wiki? > > ________________________________ > > From: John M. Gabriele [mailto:john_sips_tea@yahoo.com] > Sent: Tue 8/2/2005 12:40 PM > To: axis-user@ws.apache.org > Subject: an Axis faq, and a few questions about a simple ws > > > > I've just begun learning about web services and Axis (1.2.1), > and wrote a small faq: > http://www.simisen.com/jmg/pmwiki/pmwiki.php?n=Main.JavaAxisWebService > > Please have a look, and let me know where I can clarify > and/or correct. > > As an aside to the faq, I need to write a simple web service > which allows clients to upload a jpeg to a server and exchange > some text about it, and I'm hoping that you folks can help answer > a few remaining questions I have (also so I can update the faq): > > I created my simple web service (call it, say, "Bing.jws") and > dropped it into my Tomcat webapps/axis folder. Now I want to > write a client for it. (I'm hoping I don't have to touch any > SOAP or WSDL.) I followed the steps shown in the > above-mentioned faq, and have four .java files now: > > Bing.java > BingService.java > BingServiceLocator.java > BingSoapBindingStub.java > > Am I supposed to edit any of these files? My hunch is "no" -- > that I just use them from my own client code. > > I've seen other supposedly-autogenerated files referred to > in tutorials and messages on this list. > > From Jan on this list: > > BingServiceSoapStub.java > BingServiceSoapSkeleton.java > BingServiceSoapImpl.java > > and from the November 2004 DDJ article: > > BingBindingStub.java > BingLocator.java > BingPortType.java > > Did those 6 files used to be generated by an older version > of Axis? > > Is there another way of generating these files besides using > the WSDL2Java program? > > Do I need to generate any of these extra classes just to > write a simple web app + client? > > I've found that the CWS Watch article: > http://www.cmswatch.com/Feature/68 most closely details what > I'm getting here on my end using WSDL2Java. Is this article > (rather than the DDJ one) the one to follow? > > Finally, the official Axis doc on clients: > http://ws.apache.org/axis/java/client-side-axis.html > mentions that you can configure your Call object (saying > that the org.apache.axis.client.Call class implements > the javax.xml.rpc.Call interface). I see that my > BingSoapBindingStub.java file has a createCall() method. > Am I supposed to be using that for my simple web app? > > Any help is most appreciated. :) > > ---John > > > > > ____________________________________________________ > Start your day with Yahoo! - make it your home page > http://www.yahoo.com/r/hs > > > > ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs