Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SOAP with attachments in JBOSS

 
Dobrovolschi Andrei
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic