IntelliJ Java IDE
The moose likes Web Services and the fly likes Getting Soap Message in WebService with CXF Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Getting Soap Message in WebService with CXF" Watch "Getting Soap Message in WebService with CXF" New topic
Author

Getting Soap Message in WebService with CXF

ayi bogan
Greenhorn

Joined: Aug 29, 2010
Posts: 6
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?
 
 
subject: Getting Soap Message in WebService with CXF
 
Threads others viewed
sending pdf or any attachment from a java webservice to java client using JAX-WS and SAAJ
Attachment problem
Problem in Attachments
Advice needed concerning the design of a webservice
Retrieve Soap header
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com