Search code examples
wsdljaxbjax-ws

JAX-WS with JAXB tutorial


I'm getting started in developing web services using JAX-WS. I'm trying to implement classes I can send between my service and client using JAXB, but having trouble getting it to work.

I've tried following the example at this site but cannot seem to get it to work. After following the instructions, the test page that's displayed doesn't have any way of defining the Die objects as is suggested by the article.

All of this is very new to me, so I'm really not sure where to go. I've checked the WSDL file linked from the test page, and my best guess is that the JAXB is not working properly as I don't see the Die class or its properties mentioned anywhere.

A good, fully worked example would be very beneficial. Does anyone know where one can be found? If it's any help, I'm working in Netbeans.

Thanks!


Solution

  • Here is a step by step how to for jax-ws. http://netbeans.org/kb/docs/websvc/jax-ws.html

    If you google netbeans web services you will find many examples.