Re: generic exception handling

2012-04-30 Thread dkundo
Thanks Dan, you were right - it was "hiding" under the getCause. Not sure, though, it puts me closer to the target. I'm trying it accomplish the following: Instead of coding like: @WebMethod void foo() throws MyCustomGenericWebFault { try { ... do something } catch (Exception e) {

Re: CXF + Guice Integration

2012-04-30 Thread Jakub Bochenski
Hi Sergey, I was actually on holidays so I didn't mind the delay. Taking your anwser into account I will try to do it by injecting context instances into those subresources that are provided by Guice. Will you acept a patch to trunk refactoring the JaxRsInvoker, so that the conditions for injectio

CXF client / WCF service interoperability with wsHttpBinding

2012-04-30 Thread gmui
I have been using CXF to generate client side Java stubs from a WCF hosted web service with basicHttpBinding with much success. I now need to get it to work with wsHttpBinding (for added transport and message level security) and am running into exceptions. I have seen posts as late as last year s

Re: Cxf 2.2.9 client thread safety and MTOM

2012-04-30 Thread sfont
Hi Daniel, thank you very much! We surely migrate to a new release as soon as possible. Until now we had no troubles with 2.2.9 in but I surely will take a look at the bug list as you suggested. Stefano. -- View this message in context: http://cxf.547215.n5.nabble.com/Cxf-2-2-9-client-thread-

Re: clarifying questions re: CXF 2.6.0 recent changes

2012-04-30 Thread Daniel Kulp
I went ahead and added the spring-web jar back into the lib dir for 2.6.1. In general, Maven users don't need the stuff in the lib dir at all. The stuff in lib really should be "helpful" for the non-maven users so adding the jar back in there is simple and should help. Dan On Friday, Apr

Re: generic exception handling

2012-04-30 Thread Daniel Kulp
On Monday, April 30, 2012 04:17:59 AM dkundo wrote: > In my project the web services tier wraps the business logic tier. The BL > tier generates many types of exceptions. I don't want to enclose all the > WS -> BL tiers interaction with try..catch blocks, so I'm thinking about > creating an interce

Re: Cxf 2.2.9 client thread safety and MTOM

2012-04-30 Thread Daniel Kulp
I don't think there are any concurrency issues with MTOM with 2.2.9. I'd be more concerned with just the general "bugs" in the attachment handling. There have a been several bugs related to the mime parsing that have been fixed since then. (CXF-3068, CXF-3383, CXF-3505, CXF-3504, CXF-3582,

Re: generic exception handling

2012-04-30 Thread Mark Streit
Not sure this is exactly what you're looking for but we adopted the practice of having all @WebMethods throw a ServiceException following the patterns outlined in this helpful article: http://io.typepad.com/eben_hewitt_on_java/2009/07/using-soap-faults-and-exceptions-in-java-jaxws-web-services.htm

Re: cxf 2.6.0 deploy into karaf 2.2.5

2012-04-30 Thread fitzcaraldo
Thanks for your help Christian. -- View this message in context: http://cxf.547215.n5.nabble.com/cxf-2-6-0-deploy-into-karaf-2-2-5-tp5672113p5675106.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: customize namespace - wsdl2java

2012-04-30 Thread karthicksub
Hi Vinay, I also have the same requirement. Do you have any update on this? Thanks, Karthick S Vinay wrote > > Hi, > I want to prefix a string to certain namespaces in the generated tags in > the source code(from wsdl 2 java). Any examples of how I can do it? > > In wsdl, say target namespac

generic exception handling

2012-04-30 Thread dkundo
In my project the web services tier wraps the business logic tier. The BL tier generates many types of exceptions. I don't want to enclose all the WS -> BL tiers interaction with try..catch blocks, so I'm thinking about creating an interceptor which will catch all exceptions and transform them into

Re: Cxf 2.2.9 client thread safety and MTOM

2012-04-30 Thread sfont
Hi, I took a look at source code (always in the old 2.2.9 release) starting from a debug session. Cxf code is always a good read :) I think there is no difference on thread safety of clients in the case MTOM enabled from the case "disabled" because the references to attachments are included in th

RE: Spring bean problem

2012-04-30 Thread John Baker
Hello Are there specific Spring Integration elements that pull in CXF? If so ,I can't find the docs.. John -Original Message- From: Daniel Kulp [mailto:dk...@apache.org] Sent: 27 April 2012 21:07 To: users@cxf.apache.org Cc: John Baker Subject: Re: Spring bean problem On Friday, Apri