You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by vedanth kleyo <kl...@gmail.com> on 2011/12/25 10:31:29 UTC
Axis2 - Clarification regarding Main method
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.
Any suggestions on the above issues would be helpful.
Thanks in advance
Vedanth
Re: Axis2 - Clarification regarding Main method
Posted by Sagara Gunathunga <sa...@gmail.com>.
On Sun, Dec 25, 2011 at 3:01 PM, vedanth kleyo <kl...@gmail.com> 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
Re: Axis2 - Clarification regarding Main method
Posted by Sagara Gunathunga <sa...@gmail.com>.
On Sun, Dec 25, 2011 at 3:01 PM, vedanth kleyo <kl...@gmail.com> 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