Question : Eclipse Web Service - export and run to tomcat

Hi,

I have developed my simple web service as described in the WSDL at link below (provided by vendor) . I have published it here for ref: http://docs.google.com/View?id=dc8qf54c_297fsj74wgw
To avail of the vendor service I need to implement and deploy this web service as described in the WSDL. Really all i need is to have these methods publicly available and normal java code can do work underneath.

I have developed it using the Eclipse Wiki top down tutorial as an example, ref: http://wiki.eclipse.org/Creating_a_Top-Down_Java_Web_Service_Skeleton_from_a_WSDL_Document
 and I just replaced the sample WSDL in the tutorial with the one attached to this post. The test client in Tutorial works fine with new WSDL etc. The tutorial is simple and easy to follow and the service appears correctly in Java Resources etc. All done in a few minutes..

My question is how do I deploy this correctly to a Tomcat server and have my methods publicly accessible.  If I export the project as a .war, deploy this on a server (deploy .war with java project name as .war name) and I then click on the service from Tomcat manager I get a 404  error. What is  the correct way to publicly expose this to WWW and the correct endpoint URL for this service...do I need to edit service.xml, web.xml etc?

Thanks,
Tori

Answer : Eclipse Web Service - export and run to tomcat

need to add

    AxisServletrvlet-name>
    Apache-Axis Servlet
   
        org.apache.axis.transport.http.AxisServlet
   

 



    AxisServletrvlet-name>
    /services/*-pattern>
 


need to add axis.jar in lib folder

put your .wsdd file in web-inf folder

in wsdd file describe your service as
1:
2:
3:
4:
 
  
  
 
Random Solutions  
 
programming4us programming4us