Getting started with JAX-WS [closed]

2019-01-08 07:35发布

问题:

Can someone suggest some good tutorials for getting started with JAX-WS? Using various tools like wsgen etc...

回答1:

You can start here:

  • Introducing JAX-WS 2.0 With the Java SE 6 Platform, Part 1
  • Introducing JAX-WS 2.0 With the Java SE 6 Platform, Part 2

NetBeans has really good support for JAX-WS and plenty of tutorials are available, e.g.:

  • Getting Started with JAX-WS Web Services

Glen Mazza's has written plenty of interesting articles on JAX-WS RI / Metro:

  • Web Services on Glen Mazza's Weblog

The JAX-WS web site references good resources:

  • JAX-WS Articles

Finally, the JAX-WS RI includes many sample for lots of use cases that you can checkout from:

  • samples sources

Or just download and unpack the JAX-WS RI.



回答2:

This was a good starter tutorial, all the source code was provided and the steps were well documented.

Hello World JAX-WS at DZone

Then I found this one and as the author: Paul Taylor states, he couldn't find anything decent for a web services tutorial either that wasn't Netbeans based. He didn't want to learn how to use an IDE, he wanted to focus on the tutorial! I totally agree. I like tutorials, but not when the companies that put them out are promoting their products as the main emphasis, not the tutorial itself.

Jax-WS for Eclipse by Paul Taylor

This is another simple one that I found Hello World Jax-WS RPC Style: At this site they also have some interesting examples that follow this, including a TCP/IP monitor that I may try to watch the soap messages going back and forth.

Hello World Jax-WS with Eclipse & Glassfish Step by Step

This was a reference I used: Java API for XML Web Services (JAX-WS) Users Guide

Web Service with Jax-WS in Eclipse

Web Service Client Tutorial with WS

Jax-WS in 5 Minutes

This last one was a big help as I have to do something very similar at work



回答3:

I really like the Netbeans tutorial: Netbeans: Jax-WS



回答4:

I used the jaxws maven plugin.

http://java.sun.com/mailers/techtips/enterprise/2008/TechTips_Jan08.html seems like a good article to read.



回答5:

Sample (HelloWorld) jax-ws web service using Maven and Java EE 6: http://seniorjavadeveloper.blogspot.com/2011/11/simple-jax-ws-web-service-using-jee-6.html



回答6:

This is the best and easiest way to create a JAXWS

http://www.ibm.com/developerworks/webservices/tutorials/ws-eclipse-javase1/index.html



标签: java jax-ws