Re: Consuming a WebService with NTML authentication

2011-08-29 Thread jp_listero
I think I have bad set my Url ... now I have other Exception: INFO: Creating Service {http://tempuri.org/action/}WsPresC1SoapPortService from class org.tempuri.action.WsPresC1SoapPort 30-ago-2011 0:06:09 org.apache.cxf.phase.PhaseInterceptorChain doIntercept ADVERTENCIA: Interceptor has thrown ex

Re: Problem for Websphere 7 deployment

2011-08-29 Thread Peter4Work
Do any one has full setting/configure procedure to deploy cxf 2.4.1 into WAS 7.0.0.17 successfully? I have tried lot of way including disable IBMWASEngine, using parent last class loader and setting share libraries; but still fail to publish wsdl (we are using code first approach). Please help.

Re: SOAP Client in OSGi Container - ERROR java.lang.ClassCastException: class org.apache.cxf.bus.spring.SpringBusFactory

2011-08-29 Thread Freeman Fang
Hi, This error generally means two different classloader load same set of cxf classes, so you see this java.lang.ClassCastException even between same classes. In OSGi container, when see this error it indicate that you use incorrect way to package your bundle, you need check if your bundle

SOAP Client in OSGi Container - ERROR java.lang.ClassCastException: class org.apache.cxf.bus.spring.SpringBusFactory

2011-08-29 Thread Rodolfo Barbeiro
Hi everyone! I'm try create a simple Dynamic WS Client using JaxWsDynamicClientFactory, but the error "java.lang.RuntimeException: java.lang.ClassCastException: class org.apache.cxf.bus.spring.SpringBusFactory" occurs. I'm using the CXF version: cxf-bundle-2.3.4.jar Can anyone help me? Rodo

Re: Some questions about @RequestWrapper/@ResponseWrapper annotations

2011-08-29 Thread Daniel Kulp
On Monday, August 29, 2011 8:58:47 AM dstainer wrote: > Hello, I had a couple of questions about @RequestWrapper and > @ResponseWrapper annotations with respect to CXF: > > 1) For code first development, if you specify either of the wrapper > annotations it MUST include a className, correct? I bel

Some questions about @RequestWrapper/@ResponseWrapper annotations

2011-08-29 Thread dstainer
Hello, I had a couple of questions about @RequestWrapper and @ResponseWrapper annotations with respect to CXF: 1) For code first development, if you specify either of the wrapper annotations it MUST include a className, correct? I believe that's what the Javadoc says, looking for confirmation. 2)

Re: Is the "Request Context" essentially a ThreadLocal?

2011-08-29 Thread Daniel Kulp
On Monday, August 29, 2011 3:41:41 PM KARR, DAVID wrote: > > -Original Message- > > From: Daniel Kulp [mailto:dk...@apache.org] > > Well, I guess the right answer really is that you should not use a > > single port > > to issue concurrent requests if you want to be spec compliant. Either

RE: Is the "Request Context" essentially a ThreadLocal?

2011-08-29 Thread KARR, DAVID
> -Original Message- > From: Daniel Kulp [mailto:dk...@apache.org] > Sent: Monday, August 29, 2011 8:36 AM > To: users@cxf.apache.org > Cc: KARR, DAVID > Subject: Re: Is the "Request Context" essentially a ThreadLocal? > > On Monday, August 29, 2011 2:03:37 PM KARR, DAVID wrote: > > >

Re: Is the "Request Context" essentially a ThreadLocal?

2011-08-29 Thread Daniel Kulp
On Monday, August 29, 2011 2:03:37 PM KARR, DAVID wrote: > > -Original Message- > > From: Daniel Kulp [mailto:dk...@apache.org] > > Sent: Monday, August 29, 2011 6:18 AM > > To: users@cxf.apache.org > > Cc: KARR, DAVID > > Subject: Re: Is the "Request Context" essentially a ThreadLocal? > >

Re: global xa/jta transaction with spring

2011-08-29 Thread Guy Pardon
Sure, http://www.atomikos.com/Main/ExtremeTransactions - check the web service samples in the eval download... Guy Sent from my iPad On 28-aug.-2011, at 10:57, mymacin wrote: > Hi, > > Thank you, > > Is there any way to pass the spring JTA transaction through CXF service to > another appli

Re: Publish with Spring without web

2011-08-29 Thread Mahesh Koli
UT meaning Unit Test? Its all configuration driven with no direct dependency on Spring Test. I don't see how it cannot be adopted for any other spring config setup Mahesh On Mon, Aug 29, 2011 at 2:46 AM, Raj Floyd wrote: > Thanks. > > This uses special Spring UT class. Is there any way, I can

Re: Global unique request id?

2011-08-29 Thread Aki Yoshida
Hi David, in that case, either you could make this ID as part of your event message or invent your own ID property and set it in the message using message.put("your-app-message-id-key", value) or you could set the value using the API that Freeman mentioned. you can use java.util.UUID for generatin

RE: Is the "Request Context" essentially a ThreadLocal?

2011-08-29 Thread KARR, DAVID
> -Original Message- > From: Daniel Kulp [mailto:dk...@apache.org] > Sent: Monday, August 29, 2011 6:18 AM > To: users@cxf.apache.org > Cc: KARR, DAVID > Subject: Re: Is the "Request Context" essentially a ThreadLocal? > > On Saturday, August 27, 2011 1:01:21 AM KARR, DAVID wrote: > > > --

Re: Is the "Request Context" essentially a ThreadLocal?

2011-08-29 Thread Daniel Kulp
On Saturday, August 27, 2011 1:01:21 AM KARR, DAVID wrote: > > -Original Message- > > From: KARR, DAVID (ATTSI) > > Sent: Friday, August 26, 2011 2:19 PM > > To: users@cxf.apache.org > > Subject: Is the "Request Context" essentially a ThreadLocal? > > > > I consider this mostly a rhetorica

Re: CXF Feature and Interceptor

2011-08-29 Thread Daniel Kulp
On Monday, August 29, 2011 12:10:08 PM Raj Floyd wrote: > And therefore it is appropriate to say that Features alwayz use > Interceptors. A kind of an abstraction over interceptors. Well, it doesn't HAVE to use interceptors at all. It could do other things like configure properties instead.

Re: selection algorithm not navigating sub resource when finding resource method

2011-08-29 Thread Sergey Beryozkin
Hi On 27/08/11 16:06, jo...@kiegeland.com wrote: I have a URL e.g. http://myhost.com/a/b/c Now lets say b is matched by a resource method class RootResource{ @GET @Path("/b") TypeX getB() {...} } and in class TypeX: class TypeX{ @GET @Path("/c") String getC() {...} } While the URL http://my

Re: JAX-RS: Specify namespace prefix in responses

2011-08-29 Thread Sergey Beryozkin
Hi JAXRS JAXB provider does not support itself this property, but delegating to CXF JAXB DataBinding should've worked, - I'll look into it... thanks, Sergey On Fri, Aug 26, 2011 at 9:33 PM, Raphael Vullriede wrote: > Hi, > > I'm building a JAX-RS service with CXF 2.4.2 and JAXB for the bindings

Re: Global unique request id?

2011-08-29 Thread David Karlsen
Inside. I'll be sending Come lokal events during the request which needs correlation. Den 29. aug. 2011 10:17 skrev "Aki Yoshida" følgende: > > Hi, > what is your use case for this ID, within a system or across systems > (e.g., the client sending out a message that has this ID header)? > > For the

Re: Global unique request id?

2011-08-29 Thread Aki Yoshida
Hi, what is your use case for this ID, within a system or across systems (e.g., the client sending out a message that has this ID header)? For the latter, you can consider using ws-addressing. You can simply activate the ws-a addressing feature and this will offer you the MessageID header with the