axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chathura Herath" <chathu...@gmail.com>
Subject Re: [Axis2] How easy to invoke and deploy a service in Axis2
Date Sat, 16 Jun 2007 00:18:05 GMT
Hey Srinath,
May be you could ;-). I just posted a message, have a look.

On 6/15/07, Srinath Perera <hemapani@gmail.com> wrote:
> plus it can not be lesser, I do not think anyone can deploy a service
> without writing single line of code!!!.
>
> Thanks
> Srinath
>
>
>
> On 6/15/07, Glen Mazza <grm7793@verizon.net> wrote:
> > Big deal.  My code has 50% fewer steps:  ;-)
> >
> > public static void main(String[] args) throws Exception {
> >     (new AxisServer()).deployService(MyService.class.getName());
> > }
> >
> > Glen
> >
> > Am Freitag, den 15.06.2007, 19:43 -0400 schrieb Deepal Jayasinghe:
> > > In the hackathon we came up with this very cool feature called
> > > *deploying a service in two steps !!!*
> > >
> > >
> > > Isn't that a cool to start an Axis2 server and deploy a service in only
> > > two steps , yes it is cool , Try this out.
> > >
> > > Say you have a service class called , MyService as follows,
> > >
> > > public class MyService {
> > >
> > >    public String helloWord(){
> > >          return "HelloWord!!";
> > >    }
> > > }
> > >
> > > Next
> > >
> > > public static void main(String[] args) throws Exception{
> > >   AxisServer server = new AxisServer();*  // (step1)**
> > >   *server.deployService(MyService.class.getName());*  //(step2)*
> > > }
> > >
> > > Next go and browse
> > > "http://localhost:6060/axis2/services/MyService/helloWord
> > > <http://localhost:6060/axis2/services/>" and see what you are getting.
> > >
> > > <ns:helloWordResponse>
> > >    <return>HelloWord!!</return>
> > > </ns:helloWordResponse>
> > >
> > > So see how simple to create and invoke a service in Axis2 !!!!
> > >
> > > Thanks
> > > Deepal
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: axis-user-help@ws.apache.org
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>
> --
> ============================
> Srinath Perera:
>    Indiana University, Bloomington
>    http://www.cs.indiana.edu/~hperera/
>    http://www.bloglines.com/blog/hemapani
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Chathura Herath
http://people.apache.org/~chathura/
http://chathurah.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message