Re: Does CXF support multiple endpoint for single wsdl now?

2011-12-27 Thread xuhb
Thanks willem and Glen: I have tried, it seems I can only make CXF to publish a service with single port , I still cannot make CXF to publish a service with multi-port taking effect at same time; Also I have tried the example of CXF systest which support multiport(systests\ws-security\src\test

Re: Preparing for DOSGi RI 1.3 release

2011-12-27 Thread Sergey Beryozkin
I'm thinking that org.osgi/org.osgi.enterprise/org.osgi.enterprise-4.2.0.jar needs to be included in the single bundle distro (this is a replacement for the dosgi ri local copy of the remote admin packages). As a side note may be we should add a dosgi feature into our CXF Karaf profile, as my

Re: Repeated JAXWS annotations on SEI and impl class

2011-12-27 Thread Glen Mazza
Dan's technically on vacation this week, so perhaps I can answer: Yes[1], although hardcoding the wsdlLocation makes it less maintainable (can't change the value without recompiling) so keeping that value in the cxf-servlet.xml or other XML configuration file[2] would be preferable IMO. HTH,

Re: Repeated JAXWS annotations on SEI and impl class

2011-12-27 Thread Guy Pardon
Dan, One more thing: is wsdlLocation allowed on an SEI? Guy On 27-dec-2011, at 05:13, Daniel Kulp wrote: On Monday, December 26, 2011 11:09:40 PM Daniel Kulp wrote: > On Monday, December 26, 2011 9:55:06 PM Guy Pardon wrote: >> Hi all, >> >> Last time I tried to do both an SEI class and an imp

Re: CXF, Jetty, OSGI and multiple web contexts

2011-12-27 Thread Sergey Beryozkin
Hi, On 27/12/11 13:12, Tcharl wrote: Hi, Yes, I am. But this absolute adress use a different context as the webapp one. Is that change something? What webapp are you talking about ? Is it the one which loads the jaxrs:endpoint ? If yes then why do you get an absolute address, may be you

Re: Cannot override read-only parameter: classesDirectory in goal: cxf-codegen:wsdl2java

2011-12-27 Thread David Karlsen
I also found another regression: Duplicated option: verbose when I have -verbose And when I have these plugins activated: org.apache.cxf.xjcplugins cxf-xjc-ts 2.4.0

Re: validation error

2011-12-27 Thread TON
*it is not occurred* in *cxf 2.3.1* that jboss 6.1 used, only occurred in cxf *2.5.1* in my testing env -- View this message in context: http://cxf.547215.n5.nabble.com/validation-error-tp5101800p5103132.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: validation error

2011-12-27 Thread TON
rbSwmComponent is annotated by: @XmlType(propOrder={}) @XmlAccessorType(XmlAccessType.FIELD) the test i am using: JaxWsServerFactoryBean svrFactory = new JaxWsServerFactoryBean(); svrFactory.setServiceClass(serviceClass); svrFactory.setAddress(servic

Re: Does CXF support multiple endpoint for single wsdl now?

2011-12-27 Thread Willem Jiang
Hi, I didn't quite get your meaning. CXF should support this kind feature long time ago. You can specify the endpoint Qname of the WSDL when publish the service from CXF. It means CXF supports to create the service module from the WSDL which has multiple ports. On 12/27/11 12:12 PM, xuhb w

Re: How to make CXF interceptorchain unwind without throw a fault

2011-12-27 Thread Willem Jiang
It could be easy if we just hack the Soap11FaultOutInterceptor and Soap12FaultOutInterceptor to deal with special exception which is throw from the user interceptor. On Tue Dec 27 18:09:51 2011, Son Tung Nguyen wrote: Hi kobol, I think you can put a flag in WebserviceContext object and contin

RE: CXF, Jetty, OSGI and multiple web contexts

2011-12-27 Thread Tcharl
Hi, Yes, I am. But this absolute adress use a different context as the webapp one. Is that change something? Date: Mon, 26 Dec 2011 07:22:20 -0800 From: ml-node+s547215n510164...@n5.nabble.com To: tchar...@hotmail.fr Subject: Re: CXF, Jetty, OSGI and multiple web contexts Hi On 2

Re: How to make CXF interceptorchain unwind without throw a fault

2011-12-27 Thread Son Tung Nguyen
Hi kobol, I think you can put a flag in WebserviceContext object and continue the flow as normally. And in your ws implementation method, you would check for that flag and return the error code... But i don't think by doing this all preceding interceptors will be unwind .. If you use SOAP, SoapF

Cannot override read-only parameter: classesDirectory in goal: cxf-codegen:wsdl2java

2011-12-27 Thread Celinio
Hi, I am getting this error when using the version 2.5.1 of the cxf-codegen-plugin (i did not get this error with the previous version that was using which was 2.1.8) . Any idea about what could go wrong ? Thanks ! Pom of the parent : org.apache.cxf cxf-codegen-plugin

How to make CXF interceptorchain unwind without throw a fault

2011-12-27 Thread June Kobol
Hi all, In such a case, I need to authenticate the user's login information. Luckily, CXF provides interceptors to deal with SOAP message. I can implement the function using an interceptor. Generally, if the user is invalid, then the interceptor may throw a Fault, or a derivative of a Fault