• Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting Soap Message in WebService with CXF

 
ayi bogan
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I try to get the SoapMessage (with attachments) which is send from SoapUI to my local WebService Server.

The message (with attachments) can be found in:

@Resource
WebServiceContext wsc;

wsc.getMessageContext()

But cannot convert it to SoapMessageContext like:

SOAPMessageContext soapMessageContext = wsc.getMessageContext()

I just found examples with sending WebParameters like: Holder, DataHandler etc. But this examples sends the Data in Base64 and not as Binary.

Can anyone Help?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!