This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XML Response modification