Re: SOAP calling REST service

2014-08-11 Thread Kiren Pillay
Hi Sergey, This is CXF 3.0.1. Regards Kiren On Sun, Aug 10, 2014 at 9:24 PM, Sergey Beryozkin sberyoz...@gmail.com wrote: Hi Kiren What CXF version is it ? Thanks, Sergey On 08/08/14 13:24, Kiren Pillay wrote: Hi Sergey, Thanks, I tried the code snippet you suggested. I have gotten

Re: SOAP calling REST service

2014-08-11 Thread Sergey Beryozkin
Hi Kiren Interesting, I wonder why it's not happening with JAXRSLocalTransportTest. Can you please update JAXRSLocalTransportTest with a failing test and create a patch ? Thanks, Sergey On 11/08/14 11:20, Kiren Pillay wrote: Hi Sergey, This is CXF 3.0.1. Regards Kiren On Sun, Aug 10, 2014

Re: SOAP calling REST service

2014-08-11 Thread Kiren Pillay
Its probably something specific with my setup. I will create the test-case for it. Regards Kiren On Mon, Aug 11, 2014 at 11:28 AM, Sergey Beryozkin sberyoz...@gmail.com wrote: Hi Kiren Interesting, I wonder why it's not happening with JAXRSLocalTransportTest. Can you please update

Re: Boolean value getter

2014-08-11 Thread Aki Yoshida
maybe you can provide more system/environment information if you still have this problem. by default, you should be getting is-getters for boolean values. regards, aki 2014-08-04 10:22 GMT+02:00 Yuding Chow zhouyuding1...@gmail.com: Hi, there I'm new comer for CXF, i'm writing for requesting

Re: Oauth2, JAX-RS and X-FORWARDED-PROTO header

2014-08-11 Thread Sergey Beryozkin
Hi, I've updated CXF HTTP transport code to optionally react to X-Forwarded-Proto and X-Forwarded-For headers, IMHO it makes sense to 'help' a bit at the transport level for users to avoid messing with these headers if they do not want to... Set a new use-x-forwarded-headers servlet parameter

Re: Oauth2, JAX-RS and X-FORWARDED-PROTO header

2014-08-11 Thread Sergey Beryozkin
This would help JAX-WS users too... Sergey On 11/08/14 14:10, Sergey Beryozkin wrote: Hi, I've updated CXF HTTP transport code to optionally react to X-Forwarded-Proto and X-Forwarded-For headers, IMHO it makes sense to 'help' a bit at the transport level for users to avoid messing with these

Question about using CXF stand-alone

2014-08-11 Thread David Sills
All: I have a very, very simple web service that I am developing in Eclipse. In Eclipse, it runs beautifully. The server (Jetty) starts right up and runs as long as I tell it to. Unfortunately, when I try exactly the same service in a Windows 7 command window, I get this error: INFO:

RE: Question about using CXF stand-alone

2014-08-11 Thread David Sills
Never mind. It turned out the maven repository sent me the javadoc for Jetty, not the classes. Once fixed, everything worked fine. Thanks! David Sills -Original Message- From: David Sills [mailto:dsi...@datasourceinc.com] Sent: Monday, August 11, 2014 10:00 AM To:

NullPointerException with WebClient

2014-08-11 Thread Kiren Pillay
Hi Sergey, I am getting a NPE when I use the WebClient as a self-standing application. We're using Maven and the jar-with-dependencies option for this client. It looks like a dependency issue, because if I run the app in my IDE it works fine. When I run the self-packaged jar it fails. What

Issues upgrading to 3.0.1

2014-08-11 Thread Ed Bras
I encounter some issues upgrading from 2.7.11 to 3.0.1 Please some help (I am following the migrating guide). First, to be able to see what the real problem is, I try to log the outgoing soap message. However the current LoggingOutInterceptor supports OutputStream and Writer and not the

WS-SecureConversation not working with .NET client

2014-08-11 Thread Freddy Exposito
Hi, I have a .NET client trying to do WS-SecureConversation against a CXF Service and it is not working. It was working fine until this commit 8c40b37ab7fd41482ea4f1e42b4993703ee6be29 https://git-wip-us.apache.org/repos/asf?p=cxf.git;a=commit;h=8c40b37ab7fd41482ea4f1e42b4993703ee6be29 where

[Cxf-Interceptor] @InInterceptor/@OutInterceptor annotations ignored (JBoss 5.1.0, not 6 or 7)

2014-08-11 Thread Aida
Hi all, I have been googling and reading threads of this forum in order to solve this ... I'm working with JBoss 5.1.0 GA, and I have EJBs as services (EJB 3.0). I'm trying to use the @InInterceptor and @OutInterceptor annotations in order to add a WSS4J interceptor (I want to sign and encrypt

cxf-rt-ws-security 2.2.1 works and 2.3.11 does not with the same code

2014-08-11 Thread jasminadesai
Hi, I have a custom callbackhandler and custom userdetailsservice in my application. I use cxf-rt-ws-security 2.2.1 Here is snippet from my custom callbackhandler. protected void handleWSPasswordCallback(WSPasswordCallback callback) { String username = callback.getIdentifer(); //For