Re: Modifying PATH in CXF Message

2014-03-21 Thread joerobles820
I am getting json request in pathinfo. I modified converted it to xml using jason.org library. Now I want to pass it to my custom xsltinterceptor so it can apply a xslt on this XML to create aother xml document. I extending my inInterceptor extends from AbstractPhaseInterceptor. In my custom class,

Modifying PATH in CXF Message

2014-03-21 Thread joerobles820
Hi all, How to modify /path/ information in org.apache.cxf.message.Message. I got the /path/ info from the incoming message as shown below. Now I need to set a part of the /path/ param with a new value and set it back to the org.apache.cxf.message.Message. How do I do it? *Message inMessage = me

CXF inInterceptors

2014-03-18 Thread joerobles820
Hi all, I am new to CXF. I am currently using CXF v2.7.3. I have a JSON string as part of the incoming REST POST request. I created a XML from JSON using org.json. Now, I need to transform the XML into another XML using XSLT and I have the stylesheet in place. How can I use CXF AbstractPhaseIn

CXF inInterceptors question

2014-03-18 Thread joerobles820
Hi all, I am new to CXF. I am currently using CXF v2.7.3. I have a xml string as part of REST POST request. I need to transform the incoming xml into another xml using xslt. How can I use CXF AbstractPhaseInterceptor heriarchy for this. Any code example is appreciated. Thanks in advance. --

cxf to convert incoming json to xml

2014-03-17 Thread joerobles820
Hi all, I am new to CXF. I am using CXF v2.7.3. I have incoming post request that contains JSON format data that needs to be converted to a valid XML document. Does CXF provide conversion of json to a valid xml directly with without JAXB in the middle? Which JSON provider can be used for this