tags:

views:

396

answers:

1

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!

+1  A: 

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.

Romain Hippeau
Problem is, these all deal with simple web services with primitive values as parameters and return types. I'm looking to have objects as parameters and return types, which is (to my understanding) where JAXB fits in. The page you linked was the first tutorial I tried, but unfortunately it is again only concerned with primitives as parameters and returns.
Mac
Romain Hippeau