This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread 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 Android Security Essentials Live Lessons this week in the Android 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
 
Similar Threads
Create Session in Restful Service.
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.
CXF: JSON and XML response based on Content-Type