-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
One quick note on this. If your service implementation class is not
public, then I get a "nice" NPE from RPCInOutMessageReceiver. I think we
discussed about this during the hackathon. Just wanted to relate it to
this :)
Glen Mazza 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: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGfgHtjON2uBzUhh8RApYCAJ9WJho6gwsfRCCja+5NxuQiEz7NYgCeI9xH
NwTclXuSdn50kKrOmQ5uHmI=
=5HXT
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]