This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 9930
    
159

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
 
Similar Threads
Axis 1.1 and Attachments
Axis SOAP Web Service with Attachments
Retrieving an SOAP Attachement with Axis
axis 1.2 dime and mime soap attachments
SOAP with attachments, 3 questions