Re: DOSGI wsdl issues

2011-05-13 Thread Sergey Beryozkin
Hi, that is most likely the issue of missing imports. You have to import a package javax.jws, that should help Cheers, Sergey On Thu, May 12, 2011 at 10:38 AM, ludovic.camus ludovic.ca...@bpm-conseil.com wrote: Hello i'm having something that i dont understand. I created some OSGI services

Accessing MessageContext when spring AOP is enabled

2011-05-13 Thread Shashank Rachamalla
Hi I have been trying to get a reference to MessageContext through @Context annotation. However, when spring AOP is enabled I see the following exception being thrown. any clues ? Caused by: java.lang.IllegalArgumentException: Can not set org.apache.cxf.jaxrs.ext.MessageContext field

Re: Analyse Soap Header via Interceptor

2011-05-13 Thread Michael Täschner
Hi again, can anyone give me a hint how to access the SOAP Header (complexType messageHeader) from the request via an interceptor ? Thanks and Regards, Michael Am 10. Mai 2011 17:17 schrieb Michael Täschner m.taesch...@googlemail.com: Hi, I have been trying to handle SOAP headers outside of

Re: Accessing MessageContext when spring AOP is enabled

2011-05-13 Thread Sergey Beryozkin
Hi - it has to be a setter and you need to have a dedicated interface with methods like setMessageContext which the root resource will implement, that should help Cheers, Sergey On Fri, May 13, 2011 at 11:01 AM, Shashank Rachamalla shashank.rachama...@hexagrid.com wrote: Hi I have been trying

Re: DOSGi #69

2011-05-13 Thread David Bosschaert
I think the bottom line is someone needs to take it on an refactor it. Unfortunately I don't have the time for this currently, but I'm happy to look at patches and apply. There were a few patches provided earlier but there were issues with those, unfortunately (see DOSGI-69 for details). Cheers,

Re: Accessing MessageContext when spring AOP is enabled

2011-05-13 Thread Shashank Rachamalla
Hi Thanks for replying. I have tried with a dedicated interface but no luck. I see the following exception now: Caused by: javax.ws.rs.WebApplicationException at org.apache.cxf.jaxrs.utils.InjectionUtils.reportServerError(InjectionUtils.java:390) at

Re: Upgrade to 2.4, NullPointerException

2011-05-13 Thread Martin Thurau
I just wanted to thank you. Your message solved my problem (which was essentially the same). Thanks man! Best regards Martin On Fri, May 13, 2011 at 12:07 AM, Kevin McClusky kevinmcclu...@yahoo.com wrote: Just to close the loop on this (and in case anyone finds it on google), the problem was

Re: Accessing MessageContext when spring AOP is enabled

2011-05-13 Thread Sergey Beryozkin
What bean scope you are using ? Is it request or session by any chance ? Please check this section as well: http://cxf.apache.org/docs/jaxrs-services-configuration.html#JAXRSServicesConfiguration-FromSpring Cheers, Sergey On Fri, May 13, 2011 at 12:28 PM, Shashank Rachamalla

Re: NullPointerException at JaxWsDynamicClientFactory.createClient(...) in CXF 2.4.0 - maybe classloader problem

2011-05-13 Thread Martin Thurau
To closes this up (and for people who find this question by Google): A solution was posted in another thread in this list (http://cxf.547215.n5.nabble.com/Upgrade-to-2-4-NullPointerException-tt4386230.html) and works for me, too. Simply adding

Re: Accessing MessageContext when spring AOP is enabled

2011-05-13 Thread Shashank Rachamalla
Hi you were right. I was working with request scope. I have made the necessary changes and things work as expected now. Thanks a lot. On Fri, May 13, 2011 at 5:01 PM, Sergey Beryozkin sberyoz...@gmail.comwrote: What bean scope you are using ? Is it request or session by any chance ? Please

Re: Accessing MessageContext and http headers across service layers

2011-05-13 Thread Pratyush Chandra
Is PhaseInterceptorChain.getCurrentMessage() thread safe ? Also if I do something like, PhaseInterceptorChain.getCurrentMessage().setContent(String.class,Myname); i.e set some data in in-interceptor...will be threadsafe and global to access from my code flow..across from wherever i call ?

Re: Accessing MessageContext and http headers across service layers

2011-05-13 Thread Sergey Beryozkin
Yes On Fri, May 13, 2011 at 1:25 PM, Pratyush Chandra coolpratyus...@yahoo.com wrote: Is PhaseInterceptorChain.getCurrentMessage() thread safe ? Also if I do something like, PhaseInterceptorChain.getCurrentMessage().setContent(String.class,Myname); i.e set some data in

Re: WSS4JInInceptor breaks recieved SOAPMessage

2011-05-13 Thread Colm O hEigeartaigh
Hi Dirk, Could you create a JIRA and attach the files to it? Some of the files didn't make it through to the list. Colm. On Wed, May 11, 2011 at 8:29 AM, Dirk Rudolph dirk.rudo...@t-systems-mms.com wrote: Hello again, I'm now able to confirm this issue. Adding a SOAPHandler to the Server

Splitted server response

2011-05-13 Thread MARTELLI Julien
Hi folks, I recently developed a custom input interceptor for one of my CXF-base Web Service client. His job is to extract the content of the server response in order to save it through the persistence layer. It is attached to the RECEIVE Phase. My problem is the following : An exception is

AW: WSS4JInInceptor breaks recieved SOAPMessage

2011-05-13 Thread Dirk Rudolph
Done! https://issues.apache.org/jira/browse/CXF-3514 -Ursprüngliche Nachricht- Von: Colm O hEigeartaigh [mailto:cohei...@apache.org] Gesendet: Freitag, 13. Mai 2011 15:03 An: users@cxf.apache.org; d...@mms-dresden.de Betreff: Re: WSS4JInInceptor breaks recieved SOAPMessage Hi Dirk,

Re: Two questions

2011-05-13 Thread Kevin McClusky
Hi,    Thanks for the responses.    For #2, how would I go about finding what the resulting class of the client.invoke will be at runtime?  (Looking to find it using programming instead of generating a code stub and manually looking through it.) Thanks, Kevin

Re: Accessing MessageContext and http headers across service layers

2011-05-13 Thread Pratyush Chandra
Hmm..then a good way to have kind of global data in one service request... Thanks a lot ! -- View this message in context: http://cxf.547215.n5.nabble.com/Accessing-MessageContext-and-http-headers-across-service-layers-tp4273158p4394104.html Sent from the cxf-user mailing list archive at