Best way to handle a HEAD request as a heartbeat?

2017-03-10 Thread KARR, DAVID
I have a small REST service and a browser client to go with it. The browser client has a "heartbeat" service that just sends a HEAD request, just to verify the service is available. However, I noticed that I'm seeing a message in the log saying that my HEAD request is being translated to a

Re: how to disable soap services

2017-03-10 Thread Ted
thanks, that actually worked! On Fri, Mar 10, 2017 at 4:04 AM, Sergey Beryozkin wrote: > Hi > > I vaguely recall there was a similar issue reported few years back, which > I thought we somehow addressed, > Do you use a complete CXF distribution ? If yes then you may need

Creating a client for WCF wshttpbinding

2017-03-10 Thread mrtechit
Hi, Im using Apache cxf core 3.x jars. Im trying to consume a wcf wshttpbinding web service which has authentication. I added the authentication like this : Map ctx = ((BindingProvider)ss.getPort(IService1.class)).getRequestContext(); ctx.put("ws-security.username",

Re: Getting CXF to ignore wsdl errors

2017-03-10 Thread David Wynter
Hi, I'll hopefully get to this next week. Since it is a private service I cannot expose the server details, so will have to create a complete client and server roundtrip. David From: Colm O hEigeartaigh Sent: 27 February 2017 11:30:15

RE: Getting "ClassCastException: class org.apache.cxf.bus.spring.SpringBusFactory" for CXF/Spring app in Tomcat (TomEE)

2017-03-10 Thread KARR, DAVID
> -Original Message- > From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] > Sent: Friday, March 10, 2017 3:19 AM > To: users@cxf.apache.org > Subject: Re: Getting "ClassCastException: class > org.apache.cxf.bus.spring.SpringBusFactory" for CXF/Spring app in Tomcat > (TomEE) > > I have

Re: jax-rs using netty doesn't seem to support "Expect: 100-continue"

2017-03-10 Thread Sergey Beryozkin
Thanks for this analysis, I updated the code accordingly and deployed a 3.1.11-SNAPSHOT version of cxf-rt-transports-http-netty-server, can you try it please ? It appears most of CXF users have been working with Jetty when an embedded HTTP container is needed, but it is quite likely we will

Re: jax-rs using netty doesn't seem to support "Expect: 100-continue"

2017-03-10 Thread martijn.list
On 03/10/2017 01:18 PM, Sergey Beryozkin wrote: > Hi > > It looks like it is a Netty specific issue, I just checked there was a > fix provided only 9 days ago, > > https://github.com/netty/netty/pull/6474. > > We will likely need to update to newer Netty 4.1.x later on. > > It is hard to know

Re: how to disable soap services

2017-03-10 Thread Sergey Beryozkin
Hi I vaguely recall there was a similar issue reported few years back, which I thought we somehow addressed, Do you use a complete CXF distribution ? If yes then you may need to remove cxf-services-ws-discovery-service When this module is loaded it causes the auto-instantiation of a

Re: jax-rs using netty doesn't seem to support "Expect: 100-continue"

2017-03-10 Thread Sergey Beryozkin
Hi It looks like it is a Netty specific issue, I just checked there was a fix provided only 9 days ago, https://github.com/netty/netty/pull/6474. We will likely need to update to newer Netty 4.1.x later on. It is hard to know though if that PR will address this specific issue but hopefully

Re: Getting "ClassCastException: class org.apache.cxf.bus.spring.SpringBusFactory" for CXF/Spring app in Tomcat (TomEE)

2017-03-10 Thread Sergey Beryozkin
I have this response from Romain copied and stored on my local disk: "in tomee one easy way is to use openejb.classloader.forced-load=org.springframework,org.apache.cxf (in conf/system.properties)" I don't recall now why I copied it :-) but may be it can be relevant. Ask Romain, he will help

Re: Serialize parameters on client side

2017-03-10 Thread arjun dhar
Oh Darn! I found the problem. its "ParamConverterProvider" not "ParameterConverterProvider" Sorry -- View this message in context: http://cxf.547215.n5.nabble.com/Serialize-parameters-on-client-side-tp5726421p5777938.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: Serialize parameters on client side

2017-03-10 Thread arjun dhar
Hi, Im upgrading from 2.7.5 to 3.1.10. I cant find the maven artifact that contains "ParameterConverterProvider". Am sorry its a bit silly but its driving me nuts. Based on the doc http://cxf.apache.org/docs/jax-rs.html --

Adding WSA-headers programmatically

2017-03-10 Thread Ted Roeloffzen
Hello all, I have a short question. What is the default way of adding wsa-headers programmatically to a SOAP-message? thanks in advance. kind regards, Ted

Error reading XMLStreamReader: Unexpected EOF in prolog

2017-03-10 Thread kunlk
Hello, I was trying to send a soap request but got Error reading XMLStreamReader: Unexpected EOF in prolog. The cxf version I use is 3.1.2 Thu Mar 09 02:29:04 EST 2017 : WARNING: Interceptor for

jax-rs using netty doesn't seem to support "Expect: 100-continue"

2017-03-10 Thread martijn.list
Hi, I'm using CXF to create a jax-rs web service. Accessing the service from a simple HTML form works correctly. However when using curl to send a binary attachment, I get the following server side exception 10 Mar 2017 09:55:56 | ERROR Unexpected exception from downstream in Netty servlet