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?
Thanks,
Bernhard
Here are of the relevant files:
MyService.wsdl:
jaxrpc-mapping.xml:
MyServiceEndpoint.java:
[ September 19, 2007: Message edited by: Bernhard Pauler ]