enable logging for cxf with BEA Weblogic 9.2

2009-10-27 Thread Alexandre Jaquet
Hi, I don't find a solution to enable cxf logging for my application that return under bea weblogic 9.2 I've added into log4j.xml the following lines category name=org.apache.cxf additivity=false priority value=DEBUG / appender-ref ref=console / appender-ref

Re: logging incoming requests in CXF

2009-10-27 Thread Malte Finsterwalder
Check out: http://cwiki.apache.org/CXF20DOC/debugging-and-logging.html http://cwiki.apache.org/CXF20DOC/configuration.html Greetings, Malte

Use of CXF without javax.wsdl.extensions.soap12 package

2009-10-27 Thread Fabrice Fontenoy
Hi, We've got a problem using CXF in our project since it uses the wsdl4j library. This library is under the CPL licence which is not compatible with our project licence (GPL). One solution is to replace this lib with either groovysoap-all.jar or axis-wsdl4j.jar (ASL licence compatible with

Re: Problem configuring CXF DOSGi to run with JAX-WS

2009-10-27 Thread FrozenQ
Hi Sergey, thanks for your quick reply. Unfortunately, I d'ont succeed in getting the greeter demo run with JAXB and JAXWS. I tried the greeter example to come along and so I have modified the greeter demo maven projects as follows: 1. I added the options org.apache.cxf.ws.databinding = jaxb

WSDLToJava Error

2009-10-27 Thread Nate Woody
I maintain a CXF-interface to Microsofts HPC2008 webservice (meaning the WSDL exists in the wild), which we recently upgraded and I'm unable to build stubs off of the WSDL anymore. I've tried wsdltojava from 2.3 and 2.4, but I get the same error. It's a WS-Addressing error of some sort, but

Re: cxf client inside servicemix

2009-10-27 Thread Jaime Hablutzel Egoavil
I think I will need definetely to create annotated jax-ws client from scratch, but I want use as a base the code generated by wsdl2java for another web service, but, I'm getting into issues when jax-ws tries to validate (does it? ) against the wsdl, is there anyway to make a jax-ws client to

Re: Marshalling Error when Schema Validation is On

2009-10-27 Thread Daniel Kulp
Couple thoughts: 1) Is ASM on the classpath? 2) What does the soap message look like if validation is turned off? Does it actually match the schema? 3) I notice you aren't using the WSDL at runtime. Thus, it ends up using a generated schema and not the real schema from the wsdl. You

Re: Marshalling Error when Schema Validation is On

2009-10-27 Thread Suneet Shah
Hi Dan: ASM is on the classpth.. Does this have an impact? Dumb question - how do I use the wsdl at runtime? Do you mean that I should use the wsdl in my service definition? ie. jaxws:endpoint id=userDataService implementor=#userManager

CXF calling custom interceptor twice

2009-10-27 Thread deepika vadapalli
Hello, I create a CXF client and add my custom interceptors to it. When I call the service, in some scenarios when request is long, I see that my interceptor is called twice. For the first time, I recieve response , handle it and log it. Since its automatically goes into second time, I get Stream

Re: Marshalling Error when Schema Validation is On

2009-10-27 Thread Daniel Kulp
On Tue October 27 2009 1:17:40 pm Suneet Shah wrote: Hi Dan: ASM is on the classpth.. Does this have an impact? It can for cases where the SEI and stuff was not generated from wsdl. If asm isn't there, that can be a problem.If ASM is there, then you should be all set. Dumb question -

Re: WSDLToJava Error

2009-10-27 Thread Daniel Kulp
It's possible that the modified schema is causing issues. What's the stack trace if you run wsdl2java with -v? Also, you can try adding: -noAddressBinding to wsdl2java to turn off the internal mapping of the ws-addressing schema into javax.xml.ws.wsaddressing types. It would actually

Re: Use of CXF without javax.wsdl.extensions.soap12 package

2009-10-27 Thread Daniel Kulp
On Tue October 27 2009 8:33:51 am Fabrice Fontenoy wrote: Hi, We've got a problem using CXF in our project since it uses the wsdl4j library. This library is under the CPL licence which is not compatible with our project licence (GPL). One solution is to replace this lib with either

Re: CXF and WAS 6.1(.0.19)

2009-10-27 Thread Craig Tataryn
Happy to say the issue is *finally* resolved. Essentially had to get Maven to compile using the JVM provided jaxp deps. It wasn't enough to just exclude these deps from the war after a build was through. This was done by adding the following to my master pom's dependencyManagement section, a

Re: CXF and WAS 6.1(.0.19)

2009-10-27 Thread Daniel Kulp
Cool.Glad to see it's finally working. Have I mentioned that I'm not a fan of WAS or AIX? You've managed to hit both of them. ;-) Dan On Tue October 27 2009 2:59:39 pm Craig Tataryn wrote: Happy to say the issue is *finally* resolved. Essentially had to get Maven to compile using

RE: WSDLToJava Error

2009-10-27 Thread Nate Woody
Sorry, thought I'd included the stack trace initially. The -noAddressBinding allows wsdl2java to finish successfully, but looks like it breaks things. At the very least the existing code doesn't work and like you say I've got a workaround with replacing the Addressing schema. Thanks, Nate

Re: (newbie urgent !) i'd like to avoid generating the Service- and SEI-implementation at runtime

2009-10-27 Thread Kalle Korhonen
Hey Dan, are there any examples out there on how to use sxc-jaxb-maven-plugin? I know documentation for sxc is pretty scarce which is ok but it'd be nice to have at least one simple example of the configuration options. Couldn't find anything in sxc's svn repo. Kalle On Tue, Feb 10, 2009 at

Re: WSDLToJava Error

2009-10-27 Thread Daniel Kulp
On Tue October 27 2009 3:08:51 pm Nate Woody wrote: Sorry, thought I'd included the stack trace initially. The -noAddressBinding allows wsdl2java to finish successfully, but looks like it breaks things. At the very least the existing code doesn't work and like you say I've got a workaround

Re: CXF calling custom interceptor twice

2009-10-27 Thread Daniel Kulp
On Tue October 27 2009 2:06:49 pm deepika vadapalli wrote: Hello, I create a CXF client and add my custom interceptors to it. When I call the service, in some scenarios when request is long, I see that my interceptor is called twice. For the first time, I recieve response , handle it and

Re: cxf client inside servicemix

2009-10-27 Thread Daniel Kulp
Other than the soapenv:encodingStyle attribute which I don't think you'll ever get output other than writing an interceptor to add it, you could probably do something like: @WebService(targetNamespace=http://hndac.gob.pe/soasighhc/message/; ) @SOAPBinding(style = SOAPBinding.Style.RPC)

Re: javax.inject.DefinitionException: import not a Java type

2009-10-27 Thread Daniel Kulp
I've never seen this error before. You may need to ask on the jboss lists as I'm not sure where javax.inject.DefinitionException errors are thrown. Is there a stack trace? Dan On Mon October 26 2009 4:10:17 pm srini raju wrote: I am trying to deploy the JAX-RS sample to JBOSSAS5.1.0 and

RE: javax.inject.DefinitionException: import not a Java type

2009-10-27 Thread Sergey Beryozkin
Hi, http://docs.jboss.org/webbeans/apidocs/current/javax/inject/DefinitionEx ception.html and http://java.sun.com/javaee/6/docs/api/javax/inject/DefinitionException.h tml say it's thrown if the definition of a bean is incorrect... That said, googling for 'javax.inject.DefinitionException' does

RE: OSGi (Equinox) and CXF troubles

2009-10-27 Thread Sergey Beryozkin
Hi, I think the DOSGI DSW client runtime sets a thread context loader to the one which loaded one of the CXF classes which is currently in scope, so in this case it might be worth trying setting a context loader to JaxWsProxyFactoryBean.class.getClassLoader() it might help... cheers, Sergey

RE: Registering a custom MessageBodyReader with a non-Spring CXF install

2009-10-27 Thread Sergey Beryozkin
Hi Sorry for a delay, I'm just back from a short break... Perhaps using CXFNonSpringJAXRSServelt can help ? http://cxf.apache.org/docs/jax-rs.html#JAX-RS-ConfiguringJAXRSservicesin containerwithoutSpring one can use a jaxrs.providers servlet parameter, listing all the providers (separated by

RE: No message body writer found for response class : ArrayList

2009-10-27 Thread Sergey Beryozkin
Hi MessageBodyWriter should be parameterized by CollectionPublisherReport... Using Collection only will work in 2.2.3/2.2.4, Benson has done some fixes on the trunk so CollectionPublisherReport will be the best option going forward... That said, it is not the first time users have to deal with

RE: Problem configuring CXF DOSGi to run with JAX-WS

2009-10-27 Thread Sergey Beryozkin
Hi I only added 'javax.jws.*', both to the interface and impl bundles. By the way, are you using 1.1-SNAPSHOT ? I might have to repeat the test and send the zip cheers, Sergey -Original Message- From: FrozenQ [mailto:zickenfr...@gmx.de] Sent: 27 October 2009 13:19 To:

RE: Delegating REST request to sub-resource classes ??

2009-10-27 Thread Sergey Beryozkin
Hi It is subresourceLocatorItemHandler() which will do the delegation in this example, because it is a subresource locator. This method has only a @Path annotation so it returns an object (CatalogHandler impl) which will be able to execute a required action... So if you have POST

Re: CXF calling custom interceptor twice

2009-10-27 Thread deepika vadapalli
Dan, Thank you so much for prompt response. Here is the interceptor chain. *first time:* Chain org.apache.cxf.phase.phaseinterceptorch...@9ebf46. Current flow: receive [SELoggingInInterceptor, AttachmentInInterceptor] post-stream [StaxInInterceptor] read [ReadHeadersInterceptor,