I'm trying to write my first own webservice using EJBs (V3) in a JBoss as server. Building and deploying the webservice bean works fine, but when I try to access a web method with no parameters and no return type like this:
it throws this exception:
where the last line refers to "Service service = factory.createService(url, qname);"
My questions are: 1. I thought using JAX-WS and Annotations would take care of all the webservice-configuration-XML-SOAP stuff for me. Do I still need to manually specify a type mapping? How? Where? 2. The web method I try to access has neither parameters nor a return value. How can there be any types to map??
If you could make me friends with webservices again, they and I would really appreciate it.
From here: Server code.
[ February 20, 2008: Message edited by: Johannes Koch ] [ February 20, 2008: Message edited by: Johannes Koch ]
subject: Type mapping trouble with JAX-WS and EJB3