Re: Publish CXF REST WS dinamically

2013-07-05 Thread Julio Carlos Barrera Juez
Yes, it helps. I will generate the XML dinamycally. Thank you. On 4 July 2013 14:34, Sergey Beryozkin sberyoz...@gmail.com wrote: Hi On 04/07/13 12:40, Julio Carlos Barrera Juez wrote: Hi. I want to publish REST WS without having an annotated interface or class. I mean, the endpoint

RE: NullPointerException when encrypting an outbound message

2013-07-05 Thread Horváth Márton
You were absolutely right, changing useReqSigCert on the client side solved my problem. Thank you for your help! Márton Horváth Feladó: Colm O hEigeartaigh [cohei...@apache.org] Küldve: 2013. július 4. 12:13 To: users@cxf.apache.org Tárgy: Re:

Re: Publish CXF REST WS dinamically

2013-07-05 Thread Sergey Beryozkin
You can use user model classes, see: http://svn.apache.org/repos/asf/cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerUserResourceTest.java Cheers, Sergey On 05/07/13 09:06, Julio Carlos Barrera Juez wrote: Yes, it helps. I will generate the XML dinamycally.

Re: Publish CXF REST WS dinamically

2013-07-05 Thread Julio Carlos Barrera Juez
This solution is great, Sergey! It is what I was exactly looking for! Thank you so much! On 5 July 2013 12:07, Sergey Beryozkin sberyoz...@gmail.com wrote: You can use user model classes, see: http://svn.apache.org/repos/**asf/cxf/trunk/systests/jaxrs/**

JacksonJaxbJsonProvider anomalous behavior (add unexpeted chars to the String returned by web method)

2013-07-05 Thread eanbiso
Hi all, I've published a rest endPoint adding the JacksonJaxbJsonProvider at publication time (I've added it to properly support swagger). All is good but some times the JacksonJaxbJsonProvider seems to smudge the response adding unexpected chars. For example, I have an endPoint with this web

Re: java.lang.ClassCastException: [B cannot be cast to [Ljava.lang.Object

2013-07-05 Thread Sergey Beryozkin
Hi On 04/07/13 17:57, eanbiso wrote: Sorry for the trouble, I've found the simple solution :-): @Produces(application/json;charset=UTF-8) Yes, this is the right solution, Re the providers supporting arrays - has been fixed Thanks, Sergey Best regards, Andrea -- View this message in

Re: JacksonJaxbJsonProvider anomalous behavior (add unexpeted chars to the String returned by web method)

2013-07-05 Thread Sergey Beryozkin
Hi On 05/07/13 13:20, eanbiso wrote: Hi all, I've published a rest endPoint adding the JacksonJaxbJsonProvider at publication time (I've added it to properly support swagger). All is good but some times the JacksonJaxbJsonProvider seems to smudge the response adding unexpected chars. For

RE: Generating classes with jaxb binding, container classes not gen'd

2013-07-05 Thread Andrei Shakirin
Hi Pete, It is normal JAXB behaviour. Java class will be generated for complex type, not for element. You can create element either using appropriate method from ObjectFactory.createQueryLineupRequest() or yourself using JAXBElement type: new

CXF, JMS and HornetQ

2013-07-05 Thread INsanityDesign
Hi I got a question and CXF is only a part of it, but I want to request some feedback from you and everyone who reads this, if I am missing something. I want to use the JMS Transport ability of CXF for restful services. From the documentation and setup I got everything as far as I wanted and it

@Secured @RolesAllowed integration

2013-07-05 Thread inteloid
Hi, is there a place where I can find examples of integration with these annotations? Or, what is needed to be configured to make them work? Thanks H. -- View this message in context: http://cxf.547215.n5.nabble.com/Secured-RolesAllowed-integration-tp5730361.html Sent from the cxf-user

[Users] Issue with CXF Client

2013-07-05 Thread Harsha Thirimanna
Hi all, I am using CXF 2.7.5. It is JaxWS client that access my own webservice running on Axis2 Service vendor. I need to handle session with few operation call at once in one webservice. My issue is , when call my first operation in service , server return session id and then my second operation

OAuthClientUtils.fromMapToClientToken

2013-07-05 Thread inteloid
Hi. in mentioned method, the first line checks whether the token map contains keys: OAuthConstants.ACCESS_TOKEN and OAuthConstants.ACCESS_TOKEN_TYPE In my case, map looks like this, and I assume it's correct and shouldn't contain that keys. { tokenKey=1|2PoPR7hwrPOPAdiCuVrpINFErQTy0MLy,