• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Problem with methods returning an attachment

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?

Thanks,

Bernhard

Here are of the relevant files:

MyService.wsdl:




jaxrpc-mapping.xml:




MyServiceEndpoint.java:

[ September 19, 2007: Message edited by: Bernhard Pauler ]
 
Hey, sticks and stones baby. And maybe a wee mention of my stuff:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic