This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Type mapping trouble with JAX-WS and EJB3

 
Johannes Koch
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic