Return-Path: X-Original-To: apmail-axis-java-dev-archive@www.apache.org Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D355976D6 for ; Sun, 25 Dec 2011 10:25:50 +0000 (UTC) Received: (qmail 1020 invoked by uid 500); 25 Dec 2011 10:25:48 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 714 invoked by uid 500); 25 Dec 2011 10:25:48 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 663 invoked by uid 99); 25 Dec 2011 10:25:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Dec 2011 10:25:48 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sagara.gunathunga@gmail.com designates 209.85.216.52 as permitted sender) Received: from [209.85.216.52] (HELO mail-qw0-f52.google.com) (209.85.216.52) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Dec 2011 10:25:42 +0000 Received: by qadc11 with SMTP id c11so7102684qad.11 for ; Sun, 25 Dec 2011 02:25:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=3ylRajbnWHyoB9tTFcEBueacMhVeyGumhjQNLg9gQak=; b=XyWFVIwnn1OiogzIpqYAuTdn7lV9q6BTN/boxJ2TCr/FeL2xOo/iFZW3uz4QCEZTcM b0HpJ6pdIIv6FOpsA3/yGejgjgWvC1j8U0fZjC5RqaJxGDOuD2yfOAgaA0zWGmCRgR/8 6cQGaXJJha4GHcQKv3tAuHZXduK2gjiJfbgvc= Received: by 10.224.186.74 with SMTP id cr10mr25258970qab.67.1324808721196; Sun, 25 Dec 2011 02:25:21 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.32.197 with HTTP; Sun, 25 Dec 2011 02:25:00 -0800 (PST) In-Reply-To: References: From: Sagara Gunathunga Date: Sun, 25 Dec 2011 15:55:00 +0530 Message-ID: Subject: Re: Axis2 - Clarification regarding Main method To: java-user@axis.apache.org Cc: java-dev@axis.apache.org Content-Type: multipart/alternative; boundary=485b397dccf138e60504b4e8113a X-Virus-Checked: Checked by ClamAV on apache.org --485b397dccf138e60504b4e8113a Content-Type: text/plain; charset=ISO-8859-1 On Sun, Dec 25, 2011 at 3:01 PM, vedanth kleyo wrote: > Hi, > I have developed web services from a WSDL using axis2 in > eclipse and the whole process is working well and fine, but i have few > queries related to the same which i have mentioned below. > > 1> I am not able to figure out in which class the main method is lying as > it is not there in any of the generated stubs, so where can i find the main > method in the whole web service project. > > 2> I also want to customize the main method to include some of my project > related dependencies. > This is no main method generated you have to write your own client with main method to utilize stub. Refer following tutorial [1]. [1] - http://people.apache.org/~ruchithf/hw-axis2/ Thanks ! > > Any suggestions on the above issues would be helpful. > > Thanks in advance > Vedanth > > -- Sagara Gunathunga Blog - http://ssagara.blogspot.com Web - http://people.apache.org/~sagara/ LinkedIn - http://www.linkedin.com/in/ssagara --485b397dccf138e60504b4e8113a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Sun, Dec 25, 2011 at 3:01 PM, vedanth= kleyo <kleyon= andy@gmail.com> wrote:
Hi,
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 I have dev= eloped web services from a WSDL using axis2 in eclipse and the whole proces= s is working well and fine, but i have few queries related to the same whic= h i have mentioned below.

1> I am not able to figure out in which class the main method is lyi= ng as it is not there in any of the generated stubs, so where can i find th= e main method in the whole web service=A0 project.

2> I also want to customize the main method to include some of my pr= oject related dependencies.
=A0
=A0 This is n= o main method generated you have to write your own client with main method = to utilize stub. Refer following tutorial [1].

=A0 [1] - http= ://people.apache.org/~ruchithf/hw-axis2/

=A0 Thanks !
=A0

Any suggestions on the above issues would be= helpful.

Thanks in advance
Vedanth




--
Sagara Gunathunga
Blog =A0 =A0 =A0- http://ssagara.blogspot.com
Web =A0 =A0 =A0- http://people.apache.org/~sag= ara/
LinkedIn - http://www.linkedin.com/in/ssagara
--485b397dccf138e60504b4e8113a--