aspose file tools
The moose likes Web Services and the fly likes XML Response modification Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply 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.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: XML Response modification
 
Similar Threads
CXF: JSON and XML response based on Content-Type
asynchronous webservices in cxf
servicemix 4.3.2 camel cxf producer to cxf-nmr consumer Not Working
Create Session in Restful Service.
Web Service SOAP exception when security access denied.