Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deploying web service in Tomcat

 
syruss kumar
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Axis comes with a standard web app you can use; see http://ws.apache.org/axis2/1_5_1/installationguide.html for details.
 
syruss kumar
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic