*
The moose likes Web Services and the fly likes XML Response modification 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 » Java » Web Services
Bookmark "XML Response modification" Watch "XML Response modification" New topic
Author

XML Response modification

Curious Mind
Greenhorn

Joined: Dec 13, 2008
Posts: 3
Hi,
I am new to Apache CXF and I have one requirement wherein I have to modify response XML generated by CXF webservice. I am using JAX-WS.
After going through documentation it seems interceptors could be useful fo this, but I m not sure how to do it. Can someone help me with detailed sample code for achieving this.
Any help really appreciated.
(I should be able to modify message before any encryption or signing of message will be done.)


You make a matrix, you define the limits.
Curious Mind
Greenhorn

Joined: Dec 13, 2008
Posts: 3
Curious Mind wrote:Hi,
I am new to Apache CXF and I have one requirement wherein I have to modify response XML generated by CXF webservice. I am using JAX-WS.
After going through documentation it seems interceptors could be useful fo this, but I m not sure how to do it. Can someone help me with detailed sample code for achieving this.
Any help really appreciated.
(I should be able to modify message before any encryption or signing of message will be done.)


I could able to complete the requirement using JAXWS handlers and through interceptors as well.
 
 
subject: XML Response modification
 
Similar Threads
servicemix 4.3.2 camel cxf producer to cxf-nmr consumer Not Working
asynchronous webservices in cxf
Web Service SOAP exception when security access denied.
Create Session in Restful Service.
CXF: JSON and XML response based on Content-Type