Re: [DOSGi] patch for CXF-1851

2008-10-09 Thread David Bosschaert
Hi Eoghan, Yes, the patch contained fairly complex moves of a number of XML files, which involved moving them to new directories etc. To get around the problem, I have created a new patch that was created without using moves (I simply copied the file and deleted the original). This causes so

Re: [DOSGi] patch for CXF-1851

2008-10-09 Thread Eoghan Glynn
Thanks David, patch is applied. /Eoghan David Bosschaert wrote: Hi Eoghan, Yes, the patch contained fairly complex moves of a number of XML files, which involved moving them to new directories etc. To get around the problem, I have created a new patch that was created without using moves

Initial bits for a DOSGi distribution (CXF-1854)

2008-10-09 Thread David Bosschaert
Hi all, I've attached a patch to https://issues.apache.org/jira/browse/CXF-1854 which contains the beginning of a distribution of the DOSGi stuff. The distribution contains all the required dependencies (OSGi bundles) is built as part of the maven build in distribution/multi-bundle/target Wo

Using JAX-WS Dispatch with custom data binding.

2008-10-09 Thread Paibir, Ajay
Hi, I have a use case where I need to use the JAX-WS Dispatch Instance with a custom data binding not the SourceDataBinding that get used for the Dispatch createDispatch (..., java.lang.Class type, ...) call in org.apache.cxf.jaxws.ServiceImpl. Is it possbile to configure this via cxf

Re: More on server response policies

2008-10-09 Thread Fred Dushin
On Oct 8, 2008, at 5:16 PM, Sergey Beryozkin wrote: Hi I agree with what Dan suggested - logging a message in a PolicyVerificationOutInterceptor should suffice in most cases. Few more comments. I think that asserting a policy on the outbound path makes sense only if a specification for a

Re: Initial bits for a DOSGi distribution (CXF-1854)

2008-10-09 Thread Eoghan Glynn
Thanks David, patch applied. David Bosschaert wrote: Hi all, I've attached a patch to https://issues.apache.org/jira/browse/CXF-1854 which contains the beginning of a distribution of the DOSGi stuff. The distribution contains all the required dependencies (OSGi bundles) is built as part of

Re: More on server response policies

2008-10-09 Thread Fred Dushin
Doh! That was supposed to be [{foo:Bar}, {bling}Blang] On Oct 9, 2008, at 9:44 AM, Fred Dushin wrote: And on the outbound side you'd get [{foo:Bar}, {gnu}Gnat]

NoClassDefFoundError when building the example in CXF 2.0.9 SNAPSHOT

2008-10-09 Thread Willem Jiang
Hi Dan, I got a java.lang.NoClassDefFoundError: org/apache/xml/serializer/TreeWalker when I try to build the sample in the latest CXF 2.0.9 SNAPSHOT. It looks like current CXF 2.0.9-SNAPSHOT shipped xalan-2.7.1.jar don't have the org.apache.xml.serializer package. Can you help me to verify i

Re: Release manager for 2.1.3 and/or 2.0.9.....

2008-10-09 Thread Willem Jiang
Does the java.lang.NoClassDefFoundError: org/apache/xml/serializer/TreeWalker relates to change of updating to using xalan 2.7.1 ? Daniel Kulp wrote: Willem, Thanks for volunteering to do this. That's great. I think it would be good to do 2.0.9 late this week and probably 2.1.3 middle o

Re: Release manager for 2.1.3 and/or 2.0.9.....

2008-10-09 Thread Daniel Kulp
On Thursday 09 October 2008 10:13:08 am Willem Jiang wrote: > Does the java.lang.NoClassDefFoundError: > org/apache/xml/serializer/TreeWalker relates to change of updating to > using xalan 2.7.1 ? Yea. Where are you seeing that? There is a new jar (serializer.jar) in lib that contains that c

Re: Release manager for 2.1.3 and/or 2.0.9.....

2008-10-09 Thread Willem Jiang
I can't find the serializer.jar in 2.0.9 SNAPSHOT, but I found it in 2.1.3 SNAPSHOT. After went through the commit log , I found there is one different between rt/ws/security/pom.xml in 2.0.x and 2.1.x , the xalan's dependency scope is runtime in 2.0.x, and uses the default compile scope in 2

Re: More on server response policies

2008-10-09 Thread Sergey Beryozkin
Hi Suppose you have this config: Does apply to the inbound our outbound path? Or both? What are the semantics here? This coarse-graned policy applies to an endpoint so as I said it's up to the implementation as to whether it will affect in/out/both pathes. As far as the poli

Re: svn commit: r702961 - in /cxf/branches/2.0.x-fixes: ./ distribution/bundle/all/pom.xml distribution/bundle/minimal/pom.xml integration/jca/src/main/java/org/apache/cxf/jca/outbound/ManagedConnecti

2008-10-09 Thread William Tam
Hi Dan, -@SuppressWarnings("unchecked") public ManagedConnection matchManagedConnections(Set mcs, Subject subject, ConnectionRequestInfo reqInfo) throws ResourceException { Without the @SuppressWarnings, my Eclipse IDE flags me a warning loud and clear. (I do mvn -Psetup.ecl

Re: svn commit: r702961 - in /cxf/branches/2.0.x-fixes: ./ distribution/bundle/all/pom.xml distribution/bundle/minimal/pom.xml integration/jca/src/main/java/org/apache/cxf/jca/outbound/ManagedConnecti

2008-10-09 Thread Daniel Kulp
Interesting. I removed it because my eclipse IDE gave me a warning saying it was unneeded.Strange. Not sure what that would occur. Hmm Dan On Thursday 09 October 2008 11:24:32 am William Tam wrote: > Hi Dan, > > > -@SuppressWarnings("unchecked") > public ManagedConnection

Re: More on server response policies

2008-10-09 Thread Fred Dushin
On Oct 9, 2008, at 10:38 AM, Sergey Beryozkin wrote: Does apply to the inbound our outbound path? Or both? What are the semantics here? This coarse-graned policy applies to an endpoint so as I said it's up to the implementation as to whether it will affect in/ out/both pathes. Tha

cxf-spring integration questions

2008-10-09 Thread Orban, Gyorgy (IT)
Hi, I would like to ask for some guidance on using CXF together with Spring, more specifically in terms of lifecycle management. There seems to be two ways how CXF can be integrated with Spring: 1) It can be embedded in Spring as outlined in http://cwiki.apache.org/CXF20DOC/deploymentspring.ht

Re: More on server response policies

2008-10-09 Thread Sergey Beryozkin
Hi Fred I strat thinking this message gets a bit off-track :-) Few more comments. That's fine, in that the AssertionBuilder can render a decision about what interceptors to add to the chain. But that won't solve the bug I've identified. As we've said many times what will solve this probl

Re: cxf-spring integration questions

2008-10-09 Thread Daniel Kulp
On Thursday 09 October 2008 11:49:28 am Orban, Gyorgy (IT) wrote: > 1) It can be embedded in Spring as outlined in > http://cwiki.apache.org/CXF20DOC/deploymentspring.html. In this case, the > user's application context imports the cxf spring configuration and the CXF > runtime will be in the s

Re: How to handle a configuration problem generally in CXF code

2008-10-09 Thread Daniel Kulp
On Wednesday 08 October 2008 7:17:59 pm Christian Schneider wrote: > I would propose to add the following to UncheckedException and > corresponding "super" calls to all exceptions. > > public UncheckedException(String code, ResourceBundle bundle, > Object...params) { > this(new Message(

Re: wsa:Action interop issue

2008-10-09 Thread Daniel Kulp
I'm not sure what to say about this one. Neither CXF or the RI are "wrong" here, they are both completely correct per the specifications. Putting the "name" there is definitely OK per JAX-WS spec and I definitely prefer keeping it there as certain tools sometimes have issues mapping things

RE: More on server response policies

2008-10-09 Thread Sergey Beryozkin
Hi, I'd like to try to summarize what we've talked at this thread. Fred - please feel free to challenge what I'm about to say :-) Original problem : server-side outbound Policy interceptor assumes that no policy alternative has been asserted on the outbound path and reports a failure by (mistaken

Wiki JAX-RS(JSR-311) documentation

2008-10-09 Thread Ricardo Paiva
There are an error on page: http://cwiki.apache.org/CXF20DOC/jax-rs-jsr-311.html the code: Should be: I tried to fix by myself, bu I don't have permission for that. Regards, Ricardo -- Ricardo Paiva Java & Flex Developer - RHCE Rio de Janeiro - Brazil we

Re: More on server response policies

2008-10-09 Thread Fred Dushin
Yeah, I think this summarizes it well. On Oct 9, 2008, at 5:10 PM, Sergey Beryozkin wrote: Hi, I'd like to try to summarize what we've talked at this thread. Fred - please feel free to challenge what I'm about to say :-) Original problem : server-side outbound Policy interceptor assumes

Spring + Hibernate + Apache CXF Error

2008-10-09 Thread Saiful Haqqi
hi all, I try build WS with apache cxf + Sring + Hibernate, but get some error when implementation with hibernate. 1. Without Hibernate my [appContext.xml] http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:context="http://www.s

Re: Spring + Hibernate + Apache CXF Error

2008-10-09 Thread 王洪伟
The version of you are using asm jars (with org.objectweb.asm.ClassVisitor) is not match with current spring ,try a newer. Good luck! 2008/10/10 Saiful Haqqi <[EMAIL PROTECTED]> > > hi all, > > I try build WS with apache cxf + Sring + Hibernate, but get some error when > implementation with hib

Re: Spring + Hibernate + Apache CXF Error

2008-10-09 Thread Saiful Haqqi
> The version of you are using asm jars (with org.objectweb.asm.ClassVisitor) > is not match with current spring ,try a newer. > > Good luck! In my wat file containt with more than one asm jar file 1. asm <--- hibernate 2. asm-2.2.3 <-- apache cxf 3. asm-all-3.1 <--- my own add 4. asm-attrs <---

Re: Spring + Hibernate + Apache CXF Error

2008-10-09 Thread Saiful Haqqi
Saiful Haqqi wrote: > >> The version of you are using asm jars (with >> org.objectweb.asm.ClassVisitor) >> is not match with current spring ,try a newer. >> >> Good luck! > > I am just use asm-all and cglib-nodep now and does't get any exception > when deploying spring application. > > But I

Re: Spring + Hibernate + Apache CXF Error

2008-10-09 Thread Willem Jiang
Please use the CXF shipped asm for CXF, and use the cglib-nodep for hibernate. Willem Saiful Haqqi wrote: The version of you are using asm jars (with org.objectweb.asm.ClassVisitor) is not match with current spring ,try a newer. Good luck! In my wat file containt with more than one as