• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with methods returning an attachment

Bernhard Pauler
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have posted this question already in the JBossWS forum at jboss.com but haven't got any reply ... ( http://www.jboss.com/index.html?module=bb&op=viewtopic&t=119030 )

Some methods of my web service should return an attachment.

I start with a handwritten WSDL file and generate the necessary artifacts and descriptors using JAX-RPC tools.

There are no warning or error messages at deploy time.

An error occurs after invoking the method:

16:27:34,485 ERROR [SOAPFaultHelperJAXRPC] SOAP request exception org.jboss.ws.WSException: Operation does not have a return value: {http://myservice.mycompany.com/myservice}getTemplate

I can't figure out why JBoss behaves that way - can somebody help me with this?



Here are of the relevant files:




[ September 19, 2007: Message edited by: Bernhard Pauler ]
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic