File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Deploying web service in Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Deploying web service in Tomcat " Watch "Deploying web service in Tomcat " New topic
Author

Deploying web service in Tomcat

syruss kumar
Ranch Hand

Joined: Jul 23, 2009
Posts: 93
Hi all,

I have created a web service(using axis) and wsdl file using eclipse and i have tested that with Web service Explorer.

I have to publish that service in an external tomcat .what are the steps should i follow ?
I have surfed in that net but could not deploy that .

Can any one suggest me the steps.

Thanks in advance.


All search starts with beginner's luck and all search ends with victor's severly tested.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41821
    
  62
Axis comes with a standard web app you can use; see http://ws.apache.org/axis2/1_5_1/installationguide.html for details.


Ping & DNS - my free Android networking tools app
syruss kumar
Ranch Hand

Joined: Jul 23, 2009
Posts: 93
Thanks a lot ulf.I have successfully deployed my service using axis2 and i can find my service in available service list.

But when i am trying to test that service with Eclipse web service Explorer.i got a error it says that schema is different. and i have surfed in the net to find the solution but couldnt find any helpful articles.
the error is

Errors were encountered while validating XML schemas.
XSD: Type reference 'http://www.w3.org/2001/XMLSchema#Throwable' is unresolved

Can any one suggest me to resolve this ?
Thanks in advance.



Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41821
    
  62
I'm not sure what Eclipse does; I'd start by running Axis' wdl2java against the service's WSDL, and then work with the code it generates.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deploying web service in Tomcat