aspose file tools*
The moose likes JBoss/WildFly and the fly likes SOAP with attachments in JBOSS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "SOAP with attachments in JBOSS" Watch "SOAP with attachments in JBOSS" New topic
Author

SOAP with attachments in JBOSS

Dobrovolschi Andrei
Greenhorn

Joined: Nov 07, 2008
Posts: 5
Hello,

I am trying to change the structure of a web service i have in Axis to be able to run with a service in JBOSS 5.1.0. I have generated the service with CXF, but i cannot find any equivalent in JBOSS for the following piece of code:



Basically my question is how do you add attachments to a soap request from a client that runs in JBOSS 5.1.0? I tried just importing Axis and using it like this, but while it runs in the unit test when it's deployed i get a

13:55:38,992 ERROR [RequestHandlerImpl] Error processing web service request
org.jboss.ws.WSException: java.lang.UnsupportedOperationException: setProperty m
ust be overridden in subclasses of SOAPMessage
at org.jboss.ws.WSException.rethrow(WSException.java:68)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHand
lerImpl.java:336)

Any help would be very appreciated.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10201
    
166

Dobrovolschi Andrei wrote:

13:55:38,992 ERROR [RequestHandlerImpl] Error processing web service request
org.jboss.ws.WSException: java.lang.UnsupportedOperationException: setProperty m
ust be overridden in subclasses of SOAPMessage
at org.jboss.ws.WSException.rethrow(WSException.java:68)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHand
lerImpl.java:336)



See if this helps.

[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SOAP with attachments in JBOSS