Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 14917 invoked from network); 4 Nov 2005 11:40:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Nov 2005 11:40:44 -0000 Received: (qmail 96047 invoked by uid 500); 4 Nov 2005 11:40:36 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 95523 invoked by uid 500); 4 Nov 2005 11:40:35 -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 95512 invoked by uid 99); 4 Nov 2005 11:40:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Nov 2005 03:40:35 -0800 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of raffovi@gmail.com designates 66.249.82.207 as permitted sender) Received: from [66.249.82.207] (HELO xproxy.gmail.com) (66.249.82.207) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Nov 2005 03:40:29 -0800 Received: by xproxy.gmail.com with SMTP id i26so75883wxd for ; Fri, 04 Nov 2005 03:40:12 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RW7HrgPpeHHxeS0wom3KFcTqdTYPyTAOQ1b7e78nsH36ZimPC9v3VJREVOyBbDB7Xel68rEBLuILvgsiVJxjzPSEq6QE2mHqaq3/nDNkXfdNF1kk0waUXBbKj65ug5mOoddBdeRpoHLjjNdgY9kgUhjWTccSSEQ07UAfIC1oM8U= Received: by 10.70.51.11 with SMTP id y11mr1856476wxy; Fri, 04 Nov 2005 03:40:12 -0800 (PST) Received: by 10.70.44.8 with HTTP; Fri, 4 Nov 2005 03:40:12 -0800 (PST) Message-ID: Date: Fri, 4 Nov 2005 12:40:12 +0100 From: Raffaele Viola To: axis-user@ws.apache.org, gtr@ast.cam.ac.uk Subject: Re: call web service from jsp In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks a lot ... Can you teel me more abuout this, please mail me the jsp core if is possibl= e!! Raffo 2005/11/4, Guy Rixon : > We do this a lot in AstroGrid. We generate stub classes using WSDL2ava an= d add > those classes to the web-application where they are consumed by the JSP. > Generally, we pack the stub classes into a jar file and add that jar to t= he > lib directory of the consuming web-app. > > You need to consider whether you generate the stubs as part of the > construction of the consuming web-app or as part of the consruction of th= e > service; both work but with different advanatages and penalties. If you m= ake > the stubs jar in the service build, then you get to reuse that jar across > several consuming applications. However, you then force all those applica= tions > to use the same version of Axis. If you build the jar in the consuming > application then you can use any Axis version but you do more building an= d > packaging. > > > On Thu, 3 Nov 2005, Raffaele Viola wrote: > > > How can I call web service by a jsp page using the java classes created= by Axis > > > > Thanks Raffo > > > > Guy Rixon gtr@ast.cam.ac.uk > Institute of Astronomy Tel: +44-1223-337542 > Madingley Road, Cambridge, UK, CB3 0HA Fax: +44-1223-337523 >