RE: Versioning conflict with 2.7.7 on WebLogic 12c

2014-10-16 Thread KARR, DAVID
> -Original Message- > From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] > Sent: Thursday, October 16, 2014 1:07 PM > To: users@cxf.apache.org > Subject: Re: Versioning conflict with 2.7.7 on WebLogic 12c > > Hi David > > It is a mix of jsr311 and jsr339 API. Specifically you have > We

RE: Trouble configuring custom ResponseExceptionMapper

2014-10-16 Thread Curtis Garman
Hmm...so I guess what I'm looking for is a way to define a sort of global way to map status codes to exceptions so that I don't need to duplicate my same try/catch logic around every client call. Aside from the ResponseExceptionMapper, is there any way to do this for WebClient? -Original Messa

Re: Versioning conflict with 2.7.7 on WebLogic 12c

2014-10-16 Thread Sergey Beryozkin
Hi David It is a mix of jsr311 and jsr339 API. Specifically you have WebApplicationException from jsr311 API linked in, it has a static validate method in jsr339 but not in 311 Sergey On 16/10/14 17:00, KARR, DAVID wrote: I'm trying to take another look at an application I haven't worked w

wsdl2java maven catalog .cat file example

2014-10-16 Thread Balana, Vishal
Hi, Could anyone provide me some link or example to use .cat file(catalog) be able to use with wsdl2java command during client generation? Thanks, Vishal

Re: Trouble configuring custom ResponseExceptionMapper

2014-10-16 Thread Sergey Beryozkin
On 16/10/14 17:04, Curtis Garman wrote: I did a little debugging and have discovered that org.apache.cxf.jaxrs.client.WebClient does not seem to look for a ResponseExceptionMapper. The doInvoke() method (around line 885) simply looks at the response status returned and throws an error for status

RE: Trouble configuring custom ResponseExceptionMapper

2014-10-16 Thread Curtis Garman
I did a little debugging and have discovered that org.apache.cxf.jaxrs.client.WebClient does not seem to look for a ResponseExceptionMapper. The doInvoke() method (around line 885) simply looks at the response status returned and throws an error for status > 300. However, the org.apache.cxf.jaxrs.c

Versioning conflict with 2.7.7 on WebLogic 12c

2014-10-16 Thread KARR, DAVID
I'm trying to take another look at an application I haven't worked with in a while. I'm using CXF 2.7.7 with Spring 3.2.8, and deploying it to WebLogic 12.1.2.0.0. I'm using the Jettison provider. The service can return either XML or JSON. It appears to work fine with XML, but when I ask for

Re: CFX issue with GWT

2014-10-16 Thread David Roldan Puig
Hello Sergey. Answering your request, say that in the GWT project conduit is null in the class UpfrontConduitSelector.class line 76 so the code goes to getSelecteConduit with a {} message in AbstractConduitSelector.class line 101. Here I have the Fault() : org.apache.cxf.BusException: No conduit

Re: CFX issue with GWT

2014-10-16 Thread Jose María Zaragoza
2014-10-16 15:43 GMT+02:00 David Roldan Puig : > Hello Sergey. > Thanks for the answer. > > Has GWT the same classpath for client and server packages? > Maybe, it is necessary ot addin the .gwt.xml > file in order to have the same classpath? > > Thanks. > > > Hi David: I'm using CXF and GWT

Re: CFX issue with GWT

2014-10-16 Thread David Roldan Puig
Hello Sergey. Thanks for the answer. Has GWT the same classpath for client and server packages? Maybe, it is necessary ot addin the .gwt.xml file in order to have the same classpath? Thanks. *David Roldán* *UITU: Ubiquitous Internet Technologies Unit * http://fi2.cat/uitudesc *i2CAT FO

Re: CFX issue with GWT

2014-10-16 Thread Sergey Beryozkin
Looks like is is caused by some subtle class loading issue. The only I can recommend is to debug a call done by the client in a non-GWT environment, check how it find the conduit initiator (it is at the top of the call chain, easy to debug), and then repeat the process in a GWT context and see

Re: CFX issue with GWT

2014-10-16 Thread David Roldan Puig
The mailing list is the last option I had. I send attached the jars dependencies in my project and also I paste the stacktrace if you find more info than me. oct 16, 2014 12:48:24 PM org.apache.cxf.phase.PhaseInterceptorChain doDefaultLogging Advertencia: Interceptor for { http://clientAPIRest.sh

Re: 3.0.2

2014-10-16 Thread Sergey Beryozkin
Hi It was released on Monday, though CXF Downloads page has not been updated yet, will be done shortly Cheers, Sergey On 16/10/14 11:44, Vjacheslav V. Borisov wrote: We are using 3.0.2-snapshots in productions for last 2 months, they are very stable, but blocking maven-release-plugin usage.

Re: 3.0.2

2014-10-16 Thread Francesco Chicchiriccò
Hi all, FYI, even if CXF download page has not been updated yet, 3.0.2 artifacts are available on Maven central since few days. Regards. On 16/10/2014 12:44, Vjacheslav V. Borisov wrote: We are using 3.0.2-snapshots in productions for last 2 months, they are very stable, but blocking maven-re

Re: 3.0.2

2014-10-16 Thread Vjacheslav V. Borisov
We are using 3.0.2-snapshots in productions for last 2 months, they are very stable, but blocking maven-release-plugin usage. 2014-10-16 14:38 GMT+04:00 Malisetti, Ramanjaneyulu < ramanjaneyulu.malise...@ca.com>: > Hi, > When will 3.0.2 be available for down

Re: CFX issue with GWT

2014-10-16 Thread Vassilis Virvilis
Hi David, You don't have to use Resty-GWT. I misunderstood your setup. I thought you were trying to reach CXF from the GWT client side. Unfortunately I don't know why it doesn't work from GWT server side. It should work... Maybe check dependencies - GWT jars bundle some dependencies inline..

3.0.2

2014-10-16 Thread Malisetti, Ramanjaneyulu
Hi, When will 3.0.2 be available for download? Regards Raman

Re: CFX issue with GWT

2014-10-16 Thread David Roldan Puig
Hello Vassilis. Yes I know it, My client is in the server side of GWT (2.6.1) I have a service that is called in a Async way and the code is inside it, just in the server part of the project The error is generated when the thread executes the line: Response response = resource.getDomains(); But

Re: CFX issue with GWT

2014-10-16 Thread Vassilis Virvilis
Hi David, I am not 100% sure but looks like that you try to use cxf jax-rs client in GWT client side. I am afraid this is not possible. GWT is a java to javascript compiler and only certain - blessed/specially crafted GWT specific jars are allowed client side. I have used Resty-GWT http://re

CFX issue with GWT

2014-10-16 Thread David Roldan Puig
Hello, I would like to create an APIRest Client in a WebProject with Google Web toolkit (GWT 2.6.1). I am using CXF in order to use my interfaces to get the client. I use this code to obtain the client in the serviceImplementation class inside a package in the server of GWT project: DomainsAPI

Re: I have a wotking fix in the signed/encrypted version now (and thanks Colm)

2014-10-16 Thread Chris
Thanks, That's unfortunate because Oracle's *oracle/wss11_username_token_with_message_protection_service_policy* and *oracle/wss11_message_protection_service_policy* don't behave themselves and come up with an error: BSP:R5215: Any SECURITY_TOKEN_REFERENCE to a PKIPATH_TOKEN MUST contain a wsse11:T

Re: using XSLTJaxbProvider for text/csv

2014-10-16 Thread Sergey Beryozkin
Hi On 16/10/14 08:21, Vjacheslav V. Borisov wrote: Hi All! XSLTJaxbProvider has annotation @Produces({"application/xml", "application/*+xml", "text/xml", "text/html" }) so it is impossible to use it for text/csv is there a way to override it with , example with @Produces({"application/xml", "

Re: How to add content to an empty message body

2014-10-16 Thread Sergey Beryozkin
Hi Mandy Thanks for validating this workaround, On 15/10/14 22:38, Mandy Warren wrote: ​Hi Sergey, Thanks so much for your fix.. we tested it by writing a CustomBodyWriter as you suggested today and all worked fine except we needed to include this line to make the code work: outMessage.remov

using XSLTJaxbProvider for text/csv

2014-10-16 Thread Vjacheslav V. Borisov
Hi All! XSLTJaxbProvider has annotation @Produces({"application/xml", "application/*+xml", "text/xml", "text/html" }) so it is impossible to use it for text/csv is there a way to override it with , example with @Produces({"application/xml", "application/*+xml", "text/*" }) public class XSLTJaxb