This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 41147
    
  45
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: 41147
    
  45
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.
 
 
subject: Deploying web service in Tomcat
 
Similar Threads
Basic in Web Service..........
JAX-WS+Eclipse+Tomcat+Annotations
What are the steps to Migrate a Web Service from Tomcat to JBoss
Invoking WebService from a Servlet
Need to consume secure web service using Axis