Re: cxf.xml file not being picked up during maven2 processing

2008-06-06 Thread Glen Mazza
I'm not clear if you're creating a SOAP client or web service provider. Generally speaking, use cxf.xml only for SOAP clients; for web service providers, unless you're doing some big-time CXF surgery, cxf-servlet.xml or anythingelse.xml as shown in Steps #7 and #8 here is preferable: http://www.jr

Re: cxf.xml file not being picked up during maven2 processing

2008-06-06 Thread jsolderitsch
Still looking for help on this. I want to learn where to place my custom cxf.xml in my source tree so that is does get picked up during wsdl2java. After some more googling, I see that others have reported a similar error and that the problem is seen with 2.0.6 and 2.1 (not with 2.0.2). Any poin

JAX-RS specifying multiple values in a pathparam

2008-06-06 Thread Tim Morrow 2
I can easily invoke a resource passing in a single value, for example: /products/123 Is it possible to bind a url like this: /products/123;456;789 to a method signature? Basically I'd like to return multiple products at once. I tried defining an @PathParam on an array parameter, but that d

Re: ClientFactoryBean?

2008-06-06 Thread Benson Margulies
You would probably be happier with the DynamicClientFactoryBean, unless you have exactly the same Java code on the two sides of the service. On Fri, Jun 6, 2008 at 4:43 PM, RichT <[EMAIL PROTECTED]> wrote: > > I'm trying to use CXF to invoke a simple soap service without using a Java > interface

RE: Bug CXF-830 closed, but I still have it.

2008-06-06 Thread Wolf, Chris (IT)
This 2008-04-01 snapshot is all I have to work with here. Is there any way to get it to work with this code? Chris W. -Original Message- From: Daniel Kulp [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2008 5:13 PM To: users@cxf.apache.org Subject: Re: Bug CXF-830 closed, but I still

Re: Bug CXF-830 closed, but I still have it.

2008-06-06 Thread Daniel Kulp
Not really sure what would cause that. That said, with CXF 2.1, you don't need to configure in the SAAJInInterceptor. The WSS4JInInterceptor will automatically do that if needed.I'm not sure if that would change anything (it shouldn't). Dan On Jun 6, 2008, at 5:03 PM, Wolf, C

Bug CXF-830 closed, but I still have it.

2008-06-06 Thread Wolf, Chris (IT)
I am trying to configured the out-of-the-box CXF security interceptors, but I am getting a NullPointerException: INFO: Interceptor has thrown exception, unwinding now java.lang.NullPointerException at org.apache.cxf.staxutils.StaxUtils.readDocElements(StaxUtils.java:658) at org.apa

Re: Using AOP in CXF service impl

2008-06-06 Thread Daniel Kulp
On Jun 6, 2008, at 4:37 PM, Wolf, Chris (IT) wrote: Dan, You mentioned that CXF interceptors have a performance advantage over JAX-WS interceptors, such as SOAPHandler implementations because CXF interceptors don't read in the whole message into DOM. However, I notice that in the code for SAA

ClientFactoryBean?

2008-06-06 Thread RichT
I'm trying to use CXF to invoke a simple soap service without using a Java interface or WSDL to generate a proxy. I'm assuming CXF provides a generic soap client with which I can tell it which operation to invoke, and give it in the inputs. This is the code I expected to work in CXF: ClientFa

RE: Using AOP in CXF service impl

2008-06-06 Thread Wolf, Chris (IT)
Dan, You mentioned that CXF interceptors have a performance advantage over JAX-WS interceptors, such as SOAPHandler implementations because CXF interceptors don't read in the whole message into DOM. However, I notice that in the code for SAAJInInterceptor that, in fact, this CXF interceptor do

RE: WSDLToJava Error | xmldsig-core-schema.xsd | Connection timed out

2008-06-06 Thread Wolf, Chris (IT)
I recommend not touching the "schemaLocation" settings. You can override this externally with an XML catalog, which can redirect to a local copy. In Eclipse: Window=>Preferences=>Web and XML=>XML Catalog, then press "Add". Also see: http://www.eclipse.org/webtools/community/tutorials/XMLCata

Re: Use WSS4JOutInterceptor to add header is broken with 2.1

2008-06-06 Thread Boxiong Ding
I have fixed the problem. It seems the behavior of WSS4JOutInterceptor has changed, so I have to call super.handleMessage(message) from my interceptor and add my real interceptor to the interceptor chain as it does in WSS4JOutInterceptor. Boxiong - Original Message From: Boxiong Ding

Re: webservice binding issue

2008-06-06 Thread Daniel Kulp
H We updated to XmlSchema to 1.4.2 in the latest releases (2.0.6/2.1) as it fixes a WHOLE bunch of blocker bugs that users were hitting. Example, if any of your jaxb beans were final, it would barf. However, in your stack trace, I see: org .apache .cxf .service.factory.Reflect

Re: rest services and soap services with cxf and tomcat

2008-06-06 Thread Sergey Beryozkin
Hi, If you comment the jaxws endpoint definition, do you have a rest service accessible ? Cheers, Sergey - Original Message - From: "Frank Ittermann" <[EMAIL PROTECTED]> To: Sent: Friday, June 06, 2008 4:42 PM Subject: rest services and soap services with cxf and tomcat Hello anyon

rest services and soap services with cxf and tomcat

2008-06-06 Thread Frank Ittermann
Hello anyone, I've tried to develop soap services with cxf. Thats work and rocks. But i've also tried rest (jaxrs) services to devlop with cxf. Develop work means compile and deploy to tomcat but I can't call the rest service and after a debug session i saw that the soap services overrided the res

CXF with JBoss 5

2008-06-06 Thread JSP
Has anyone been able to get CXF working with JBoss 5? I can't get the JBoss container to use CXF instead of the JBossWS implementation. -- View this message in context: http://www.nabble.com/CXF-with-JBoss-5-tp17693924p17693924.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: Problems with schema-validation-enabled

2008-06-06 Thread Daniel Kulp
On Jun 6, 2008, at 9:20 AM, Nikolaj A. wrote: Sorry for the delay, but I've been stuck on other projects. I tried with the apache-cxf-2.1.1-20080530.191058 snapshot and it did not solve the stack overflow issue (see the trace below). But I'm not sure if I tried with the correct snapshot t

Re: Problems with schema-validation-enabled

2008-06-06 Thread Nikolaj A.
Ups, I forgot the trace: java.lang.StackOverflowError at java.lang.System.checkKey(System.java:742) at java.lang.System.getProperty(System.java:626) at sun.security.action.GetPropertyAction.run(GetPropertyAction.java:66) at java.security.AccessController.doPrivileg

Re: Problems with schema-validation-enabled

2008-06-06 Thread Nikolaj A.
Sorry for the delay, but I've been stuck on other projects. I tried with the apache-cxf-2.1.1-20080530.191058 snapshot and it did not solve the stack overflow issue (see the trace below). But I'm not sure if I tried with the correct snapshot that you generated for me Dan, could you verify? Thank

Re: CXF & JSON Response

2008-06-06 Thread Sergey Beryozkin
Hi Current JSON provider on the trunk works with a JAXBContext in tandem and it can only acquire a JAXBContext if XMLRootElement annotation is available. Once the patch I'm slowly working upon is commited, it will be able to acquire contexts if an ObjectFactory is available in a package and thu

I'm using SOAP Headers to send Authentication tokens. Do this Authentication work with REST Services or what changes are required to implement the security.

2008-06-06 Thread kashif Qazi
Hi, I'm using SOAP Headers to send Authentication tokens.The Security implementation technique is same as described on http://cwiki.apache.org/CXF20DOC/ws-security.html i want to expose my services as REST do this existing Authentication soap header work with REST services or what changes are req

I'm using SOAP Headers to send Authentication tokens. Do this Authentication work with REST Services or what changes are required to implement the security.

2008-06-06 Thread kashif Qazi
Hi, I'm using SOAP Headers to send Authentication tokens.The Security implementation technique is same as described on http://cwiki.apache.org/CXF20DOC/ws-security.html i want to expose my services as REST do this existing Authentication soap header work with REST services or what changes are req

Re: webservice binding issue

2008-06-06 Thread Daniel Wood
Hi Dan, unfortunately I can't send a test case due to the IP on the wsdl. However, here is the full stack trace: testRetrieveParties(xxx.xxx..xxx.service.party.PartyManagerServiceIm plTest) Time elapsed: 1.719 sec <<< ERROR! org.apache.ws.commons.schema.XmlSchemaException: Schema name c

I'm using SOAP Headers to send Authentication tokens. Do this Authentication work with REST Services or what changes are required to implement the security.

2008-06-06 Thread Kashif Qazi
Hi, I'm using SOAP Headers to send Authentication tokens.The Security implementation technique is same as described on http://cwiki.apache.org/CXF20DOC/ws-security.html i want to expose my services as REST do this existing Authentication soap header work with REST services or what changes i are r

Re: Problem with schema validation (JAX-WS & JAXB)

2008-06-06 Thread Daniel Kulp
On Jun 6, 2008, at 2:38 AM, jfougere wrote: Hi Dan, I tested my full project with your workaround in 2.1.1-SNAPSHOT and everything works correctly. Cool. Thanks for the verification. Thanks a lot. I assume this correction will be in official 2.1.1 release ? release date in june, a

Re: CXF delivers transformed WSDL on ?wsdl Request

2008-06-06 Thread Daniel Kulp
Would you happen to have xalan on the classpath or in your war? The loss of the namespace prefix is a xalan bug. It's SUPPOSEDLY fixed in xalan 2.7.1, but that version has other problems that makes it not usable (and isn't in maven either).In most cases, you can remove xalan jar an

Re: CXF delivers transformed WSDL on ?wsdl Request

2008-06-06 Thread Maurer Uwe
Hello, this worked for me: > 2) Update the element in your config to add the > qnames for the service name and portname. I changed my configuration like this...: ...and now my service responds properly and is accessible from the clients. Thanks a lot for your support! There is one