• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

How to build and deploy web service in JavaWebservice Development kit?  RSS feed

 
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
How to build and deploy web service in JavaWebservice Development kit?

For creating a sample webservice i created an interface,class for this interface,web.xml and jaxrpc-ri.xml based on "Sams teach yourself web services in 24 hours book".

then how to build and deploy it.

In book it mentioned me to execute ANT commands to building and to executing. But ANT build script is not given. Please me a way.

Thanks in advance,
Yamini
 
Ranch Hand
Posts: 393
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you download the JSWDP,Everything comes with it and it depends which server you are using like in SUN we have command WSComplie.bat which will generate all xml files and necessary supported files foe an web services.So you need to refer your Application Server notes. In Sunone we have wsdeploy.bat which will deploy the web service also.

So i will recommend refer your application server notes/guide.
 
yamini nadella
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do we need Application server also along with Webservice development kit.
After installing webservice development kit it also installed tomcat.

Is this tomcat not enough to run webservice.
 
james edwin
Ranch Hand
Posts: 393
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
tomcat is fine,provided you have the latest version.Actually while installing toolkit we get an pop-up to install the app server.So tomcat is fine.

Inside tomcat you will see there will batch file like wscomiple.bat and wsdeploy.bat .If you r using solaris or unix then .sh files will be there.These files should help you in deployment.
 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i found Web services with apache axis best.
just go to

http://ws.apache.org/axis/java/user-guide.html#Introduction
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!