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
Check out:
http://cwiki.apache.org/CXF20DOC/debugging-and-logging.html
http://cwiki.apache.org/CXF20DOC/configuration.html
Greetings,
Malte
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
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
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
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
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
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
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
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 -
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
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
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
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
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
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
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
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
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)
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
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
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
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
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
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:
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
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,
27 matches
Mail list logo