axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vandana ahuja <vaurfri...@yahoo.co.in>
Subject Steps to publish existing Wep App code as service
Date Mon, 23 Nov 2009 17:17:36 GMT

Hi,

I’ve an existing Web App running on WAS7 and was publishing few services using WebMethods
Glue.Now I want to switch to Axis2.
Can somebody please guide me what is step by step procedure for that.

Most of the articles I found on net were simply publishing axis war on server. I don’t want
that, but publish my own code.
What I’ve tried so far is:
1)       Copying Axis web.xml servlet and Servlet mapping  in my web.xml
2)       Copying Axis jar files in my Web app lib
3)       Created Service.xml for my services. That’s attached here.
4)       Created following hierarchy:
Web Inf
            -conf
                        -axis.xml
            -services
                        -service.xml
            -modules
                        -module.list
                        -SOAPMonitor.mar

And while trying to startup app I got following error.
java.lang.ClassNotFoundException: org.apache.commons.fileupload.FileUploadException


Can somebody help me please.

Thanks
Vandana 



******************************************************************
<serviceGroup>
 <service name="AutomatedDataMaintenanceServices"
             scope="application">
  <description>
   OrgHierarchy Automated Data Maintenance Services
  </description>
        <messageReceivers>
         <messageReceiver 
             mep="http://www.w3.org/2004/08/wsdl/in-only"
        class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"/>
         <messageReceiver
             mep="http://www.w3.org/2004/08/wsdl/in-out"
        class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
     </messageReceivers>
        <parameter name="ServiceClass" locked="false">com.avnet.ohm.service.glue.AutomatedDataMaintenanceServicesImpl</parameter>
 </service>
 <service name="RealTimeServices"
             scope="application">
  <description>
   OrgHierarchy Real-Time Services
  </description>
        <messageReceivers>
         <messageReceiver 
             mep="http://www.w3.org/2004/08/wsdl/in-only"
        class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"/>
         <messageReceiver
             mep="http://www.w3.org/2004/08/wsdl/in-out"
        class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
     </messageReceivers>
        <parameter name="ServiceClass" locked="false">com.avnet.ohm.service.glue.RealTimeServicesImpl</parameter>
 </service>
</serviceGroup>

*************************************************************************************



      The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/



      The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/

Mime
View raw message