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 program77 <ca...@gmail.com> on 2008/04/20 20:00:05 UTC

help. make a service in Axis2 (not in /services/)

according the Axis2's user guide, to deploy a service, you must taking the
hierarchy of *.aar and copying it to the webapps/axis2/WEB-INF/services
directory.

Well, I like to know if there is any way so a class in /class directory
(that is, a javabean) serves like a javabean and a service at the same time.

Excuse me for my poor english and thank you in advance.
-- 
View this message in context: http://www.nabble.com/help.-make-a-service-in-Axis2-%28not-in--services-%29-tp16795650p16795650.html
Sent from the Axis - User mailing list archive at Nabble.com.


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


Re: help. make a service in Axis2 (not in /services/)

Posted by program77 <ca...@gmail.com>.


Deepal Jayasinghe-2 wrote:
> 
> program77 wrote:
>> according the Axis2's user guide, to deploy a service, you must taking
>> the
>> hierarchy of *.aar and copying it to the webapps/axis2/WEB-INF/services
>> directory.
>>
>> Well, I like to know if there is any way so a class in /class directory
>> (that is, a javabean) serves like a javabean and a service at the same
>> time.
>>
>> Excuse me for my poor english and thank you in advance.
>>   
> 
> With Axis2 1.3 you can can deploy class files as it is. Create a 
> directory called "pojo" under web-inf and then copy your class file into 
> pojo directory.
> 
> Thank you!
> Deepal
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> 
> 
> 


Yes, I already known this way. But I'd like a service in /WEB-INF/classes,
not in /WEB-INF/pojo.

Thank you.

-- 
View this message in context: http://www.nabble.com/help.-make-a-service-in-Axis2-%28not-in--services-%29-tp16795650p16823757.html
Sent from the Axis - User mailing list archive at Nabble.com.


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


Re: help. make a service in Axis2 (not in /services/)

Posted by Deepal jayasinghe <de...@gmail.com>.
program77 wrote:
> according the Axis2's user guide, to deploy a service, you must taking the
> hierarchy of *.aar and copying it to the webapps/axis2/WEB-INF/services
> directory.
>
> Well, I like to know if there is any way so a class in /class directory
> (that is, a javabean) serves like a javabean and a service at the same time.
>
> Excuse me for my poor english and thank you in advance.
>   

With Axis2 1.3 you can can deploy class files as it is. Create a 
directory called "pojo" under web-inf and then copy your class file into 
pojo directory.

Thank you!
Deepal

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