RE: Error during WebSocket handshake: Unexpected response code

2016-08-12 Thread CLEMENT Jean-Philippe
/java/org/apache/cxf/systest/jaxrs/websocket/BookStoreWebSocket.java#L70 or if StreamingOutput like behavior is needed then: https://github.com/apache/cxf/blob/master/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/websocket/BookStoreWebSocket.java#L111 Sergey On 12/08/16 10:01, CLEMENT

RE: Error during WebSocket handshake: Unexpected response code

2016-08-12 Thread CLEMENT Jean-Philippe
egards, JP -Message d'origine----- De : CLEMENT Jean-Philippe [mailto:jean-philippe.clem...@fr.thalesgroup.com] Envoyé : vendredi 12 août 2016 10:15 À : users@cxf.apache.org Objet : RE: Error during WebSocket handshake: Unexpected response code Good. I'm wondering whether the socket.

RE: Error during WebSocket handshake: Unexpected response code

2016-08-12 Thread CLEMENT Jean-Philippe
llow those parameters plus the interceptors/handlers to be customized. I created CXF-7007 to track this issue. regards, aki 2016-08-11 16:36 GMT+02:00 CLEMENT Jean-Philippe : > The browser seems ok, so it would mean that CXF does not support WebSocket > binary mode. > > Is there a plan for C

RE: Error during WebSocket handshake: Unexpected response code

2016-08-11 Thread CLEMENT Jean-Philippe
The browser seems ok, so it would mean that CXF does not support WebSocket binary mode. Is there a plan for CXF to support the binary mode? Regards, JP -Message d'origine- De : CLEMENT Jean-Philippe [mailto:jean-philippe.clem...@fr.thalesgroup.com] Envoyé : mercredi 10 août 2016

RE: Error during WebSocket handshake: Unexpected response code

2016-08-10 Thread CLEMENT Jean-Philippe
ketProtocolInterceptor and atmosphere's org.atmosphere.interceptor.SimpleRestInterceptor. regards aki 2016-08-10 14:31 GMT+02:00 CLEMENT Jean-Philippe : > Hi Aki, > > A little step closer to get the WebSocket running with CXF. CFX 3.1.7 does > not display the " Websocket protoc

RE: Error during WebSocket handshake: Unexpected response code

2016-08-10 Thread CLEMENT Jean-Philippe
you understand why? Is there a doc for this? Regards, JP -Message d'origine- De : CLEMENT Jean-Philippe [mailto:jean-philippe.clem...@fr.thalesgroup.com] Envoyé : mardi 9 août 2016 10:30 À : users@cxf.apache.org Objet : RE: Error during WebSocket handshake: Unexpected response code Hi

RE: Error during WebSocket handshake: Unexpected response code

2016-08-09 Thread CLEMENT Jean-Philippe
> to use websocket as the preferred protocol. You can also use a plain > javascript client. See the README file of the standalone websocket > sample. > > regards, aki > > 2016-08-08 15:37 GMT+02:00 CLEMENT Jean-Philippe > : >> I went a little further. I changed the demo pom.

RE: Error during WebSocket handshake: Unexpected response code

2016-08-08 Thread CLEMENT Jean-Philippe
ber: 87 Where bundle 85 is "Apache CXF Core" (3.1.7). Seems I have no luck with web sockets and CXF :) ...could you please help? Thanks! Regards, JP -Message d'origine- De : CLEMENT Jean-Philippe [mailto:jean-philippe.clem...@fr.thalesgroup.com] Envoyé : lundi 8 août 20

RE: Error during WebSocket handshake: Unexpected response code

2016-08-08 Thread CLEMENT Jean-Philippe
h the snapshot repos proxies so the snapshot versions fail to compile. Is there a way to get the 3.1.7 demo? Thank you. Regards, JP -Message d'origine- De : Aki Yoshida [mailto:elak...@gmail.com] Envoyé : vendredi 29 juillet 2016 15:34 À : CLEMENT Jean-Philippe Cc : users@cxf.apache.org

RE: Error during WebSocket handshake: Unexpected response code

2016-07-29 Thread CLEMENT Jean-Philippe
Ok, I will test (starting from the second week of August) and let you know. Thanks! :) Regards, JP -Message d'origine- De : Aki Yoshida [mailto:elak...@gmail.com] Envoyé : vendredi 29 juillet 2016 15:34 À : CLEMENT Jean-Philippe Cc : users@cxf.apache.org Objet : Re: Error d

RE: Error during WebSocket handshake: Unexpected response code

2016-07-29 Thread CLEMENT Jean-Philippe
y asap. Regards, JP -Message d'origine- De : Aki Yoshida [mailto:elak...@gmail.com] Envoyé : vendredi 29 juillet 2016 00:32 À : CLEMENT Jean-Philippe Cc : users@cxf.apache.org Objet : Re: Error during WebSocket handshake: Unexpected response code I don't know how you got atmosphere

RE: Error during WebSocket handshake: Unexpected response code

2016-07-28 Thread CLEMENT Jean-Philippe
d'origine- De : CLEMENT Jean-Philippe [mailto:jean-philippe.clem...@fr.thalesgroup.com] Envoyé : jeudi 28 juillet 2016 10:53 À : users@cxf.apache.org Objet : RE: Error during WebSocket handshake: Unexpected response code Hello Aki, As I don't have access to GIT (company inter

RE: Error during WebSocket handshake: Unexpected response code

2016-07-28 Thread CLEMENT Jean-Philippe
and shouldn't just jump into the middle of the document. 2016-07-27 16:56 GMT+02:00 CLEMENT Jean-Philippe : > Sure, could you please provide the URL where I may find your WebSocket demo? > > Regards, > JP > > -Message d'origine- > De : Sergey Beryozkin [mailto

RE: Error during WebSocket handshake: Unexpected response code

2016-07-27 Thread CLEMENT Jean-Philippe
demo in my 3.2.0-SNAPSHOT and it is avail in the local Maven repo. But may be it will be simpler to start from a 'plain' websockets demo. Sergey On 27/07/16 17:12, CLEMENT Jean-Philippe wrote: > Yes you are right. Also I'm a CXF and webstuff newbie which does not > help :P >

RE: Error during WebSocket handshake: Unexpected response code

2016-07-27 Thread CLEMENT Jean-Philippe
code See may last email on the rel address and please do work with the demo first. Sometimes users need to dive a bit into the details of a given demo :-) Sergey On 27/07/16 16:42, CLEMENT Jean-Philippe wrote: > I had to add cxf-http-jetty which is not described in the readme - I'm &

RE: Error during WebSocket handshake: Unexpected response code

2016-07-27 Thread CLEMENT Jean-Philippe
et 2016 15:34 À : users@cxf.apache.org Objet : Re: Error during WebSocket handshake: Unexpected response code Look at that demo and check README/etc, and make it work in Karaf. I haven't written it but looks like it has all the info needed Sergey On 27/07/16 16:25, CLEMENT Jean-Philippe wrot

RE: Error during WebSocket handshake: Unexpected response code

2016-07-27 Thread CLEMENT Jean-Philippe
users@cxf.apache.org Objet : Re: Error during WebSocket handshake: Unexpected response code Look at the websocket_osgi demo done by Aki Sergey On 27/07/16 15:55, CLEMENT Jean-Philippe wrote: > Haha, it seems I'm in the "servlet container mode" and not the "Jetty > embedd

RE: Error during WebSocket handshake: Unexpected response code

2016-07-27 Thread CLEMENT Jean-Philippe
ception: BusException: No DestinationFactory was found for the namespace http://cxf.apache.org/transports/websocket What should I add to get rid of this exception? Regards, JP -Message d'origine----- De : CLEMENT Jean-Philippe [mailto:jean-philippe.clem...@fr.thalesgroup.com] Envoyé : me

RE: Error during WebSocket handshake: Unexpected response code

2016-07-27 Thread CLEMENT Jean-Philippe
CXF WebSocket transport which can support both WebSocket and 'plain' HTTP Cheers, Sergey On 27/07/16 13:49, CLEMENT Jean-Philippe wrote: > Hi Sergey, > > I added "socket.binaryType= 'arraybuffer';" but I get the same error. I'm not > too sure if it i

RE: Error during WebSocket handshake: Unexpected response code

2016-07-27 Thread CLEMENT Jean-Philippe
uillet 2016 12:34 À : users@cxf.apache.org Objet : Re: Error during WebSocket handshake: Unexpected response code Hi On 27/07/16 12:26, CLEMENT Jean-Philippe wrote: > Dear CXF experts, > > I'm trying to connect a web client to a CXF WebSocket. The browser logs the > error

Error during WebSocket handshake: Unexpected response code

2016-07-27 Thread CLEMENT Jean-Philippe
Dear CXF experts, I'm trying to connect a web client to a CXF WebSocket. The browser logs the error "WebSocket connection failed: Error during WebSocket handshake: Unexpected response code: XXX". The XXX response code changes depending on the @Produces annotation: 200 when text/plain, 406 when

RE: JSON -> JSONP leads to "No message body writer has been found for class"

2016-07-18 Thread CLEMENT Jean-Philippe
 : CLEMENT Jean-Philippe Objet : Re: JSON -> JSONP leads to "No message body writer has been found for class" Hi I replied to your earlier message, see http://cxf.547215.n5.nabble.com/JSONP-No-message-body-writer-has-been-found-for-class-tp5770477p5770482.html Some comments inline: On

JSON -> JSONP leads to "No message body writer has been found for class"

2016-07-18 Thread CLEMENT Jean-Philippe
simple way to obtain a JSONP output? PS: It would be so nice to have a simple option or annotation to output via JSONP :) Regards, Jean-Philippe -Message d'origine- De : CLEMENT Jean-Philippe [mailto:jean-philippe.clem...@fr.thalesgroup.com] Envoyé : lundi 18 juillet 2016 16:38 À :

JSONP -> No message body writer has been found for class

2016-07-18 Thread CLEMENT Jean-Philippe
Dear CXF users, I'm new to CXF and I'm writing a kind of "hello world" JAX-RS service which works well with the default JSON output. Following the user doc, I added interceptors to allow JSONP output. JSONP messages now contain the callback method name but its message content is "No message bo