Re: Fowarding to jsp from CXF

2013-11-13 Thread Marcelo Alcantara
Hi Sergey, Thanks a lot for the very detailed response. I tried your second option but could not make it work. That's the message I get: [qtp1721979929-14] WARN org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor - No root resource matching request path /auth/oauth2/WEB-INF/jsp/login_full.jsp h

SOAP calling REST service

2013-11-13 Thread Kiren Pillay
Hi Sergey, I am trying to have a SOAP service calling a RESTFUL service, both deployed within the same CXF servlet. What is the best or most efficient way to invoke the RestFul service from the SOAP service?. I want the RestFul service to behave as if its being called from an external source so t

Re: retaining header values

2013-11-13 Thread Daniel Kulp
From your interceptor, if you do a message.getExchange(), you can use that exchange to store/retrieve anything that needs to be retained across in/out. Dan On Nov 13, 2013, at 10:32 AM, Ted Roeloffzen wrote: > Hi All, > > I have a question concerning soapheaders. > For a project I'm workin

retaining header values

2013-11-13 Thread Ted Roeloffzen
Hi All, I have a question concerning soapheaders. For a project I'm working on I need to add some interceptors to my service. First I have to make an InInterceptor that checks some values that are in the SoapHeader. Then I have to make an OutInterceptor that adds some values to the SoapHeader. He

Re: Fowarding to jsp from CXF

2013-11-13 Thread Sergey Beryozkin
On 13/11/13 10:27, Sergey Beryozkin wrote: Hi On 13/11/13 07:04, Marcelo Alcantara wrote: Hi I need to redirect to a jsp that is inside WEB-INF from a CXF/Jetty started server. How can I redirect from inside a rest service to a jsp that is inside WEB-INF/jsp? I tried doing a simple servlet fo

Re: Fowarding to jsp from CXF

2013-11-13 Thread Sergey Beryozkin
Hi On 13/11/13 07:04, Marcelo Alcantara wrote: Hi I need to redirect to a jsp that is inside WEB-INF from a CXF/Jetty started server. How can I redirect from inside a rest service to a jsp that is inside WEB-INF/jsp? I tried doing a simple servlet forward but it always use the app context rega