On 6/15/07, Deepal Jayasinghe <[EMAIL PROTECTED]> wrote:
Hi Chathura,
In tomcat (or any axis2 system) you can deploy service without having an
aar file , you can deploy just .class files and Axis2 make them as
services. So what you have to do is add following tag into axis2.xml
(which we will add by default) , and create a directory called "pojo"
and drop your .class files.
<deployer class="org.apache.axis2.deployment.POJODeployer"
directory="pojo" extension=".class"/>
And you get hot deployment and hot update as well , and if you do not
like the name pojo create whatever file name you want and change the
directory attribute to that folder name and drop you class there.
This is very, very cool. I think you for telling us this. However,
when I did it, I could not see how to jave the java code return a SOAP
error return in cse of an error. As I understand the POJO methodolgy,
there is no way to return a SOAP error. If you could help with that,
I would very much appreciate it. My code sometimes has to return
errors.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]