WebService deployed in Axis2

26 views
Skip to first unread message

Ayush Kumar

unread,
Aug 22, 2013, 9:34:16 AM8/22/13
to java-bra...@googlegroups.com
Hi All,

As the current tutorial series going on WebServices (SOAP) , I got the opportunity to learn from these videos. However, when I tried myself to write a WebServices, and deploy it in Apache Tomcat, which have Axis2 stack, it didn't worked.

I found that axis2 can be easily added to apache tomcat and then any service written can be added to it, in order to deploy. 

I have started with very simple code 

@WebService
public class WebService {

@WebMethod
public String sayHello(String name)
{
return "Hello !! "+name;
}

}

Which I have complied and added to new aar file, which is added to services directory in axis2, but it does not list my services.

Reply all
Reply to author
Forward
0 new messages