Re: What jar is ca.uhn.hl7v2.parser.Parser in?

2009-02-11 Thread Willem Jiang
How about just loading the converter when the component is load? Since the component is loaded when the camel context need it, it will help us to avoid the annoying class load error. Willem Willem Jiang wrote: > Hi, > > I doubt it is caused by using the bundle jar. > I just checked the camel-hl7

SAXParseException - who's to blame?

2009-02-11 Thread buzzterrier
I am getting the following error when sending a soap request to a remote service and I am not quite sure who is throwing it. I found that this is sometimes thrown when some elements had text containing unescaped extended characters. But I have some posts that are failing and I cannot see anything

RE: Sending XML payload without encoding it

2009-02-11 Thread xbranko
Hi Seán, With the example's help I was able to get it done. It took a while. Thanks for pointing me there. How about adding a feature that would not require one to use this exceedingly complex process? Could this not be achieved by adding a parameter annotation (e.g. @NoEncoding, or some such)?

Is CXF (2.1.4) compatible with Spring 3.0.0 (M1)?

2009-02-11 Thread guofoo
I'm trying to use Spring 3.0.0 M1 with CXF by replacing the spring-xxx-2.0.8.jar files with the Spring jars, but I'm seeing the following exception when trying to start Tomcat 6.0.18. Is CXF compatible with Spring 3.0.0? 15:03:03.550 [main] ERROR o.s.web.context.ContextLoader - Context initial

Re: problem using marshallerProperties for CData output

2009-02-11 Thread Daniel Kulp
This looks like a restriction/bug in JAXB, not really CXF.If you use a marshaller to marshal an object to an OutputStream with encoding UTF-8, then the CharacterEscapeHandler never comes into play. You can verify that by writing a simple program that marshals something to and outputstream.

Re: After updating to 2.1.4: No DestinationFactory was found for the namespace http://schemas.xmlsoap.org/soap/http

2009-02-11 Thread Daniel Kulp
I've fixed this on trunk and will merge to 2.1.5-snapshot. Dan On Wed February 11 2009 6:57:56 am Daniel Kulp wrote: > Adding the cxf-rt-transports-http-jetty jar onto the classpath should fix > this. We did a bit of work to try and reduce dependencies pulled in from > maven when they aren

Re: Logging Interceptors Disable GZip Interceptors?

2009-02-11 Thread Daniel Kulp
I'm not able to reproduce this. I did the same thing you have below and the on-the-wire stuff (grabbed with wireshark) is all gzipped (once the threshold was hit). Now, what was logged via the Logging interceptors is kind of a mix. Since the logging interceptors and gzip interceptors liv

Re: Retry on java.net.SocketTimeoutException: Read timed out

2009-02-11 Thread Dennis Kieselhorst
Hi Dan, thanks for the quick response. > Would increasing the read timeout on the client solve your problem? By > default, I think we set it to 60 seconds but there is configuration to > increase it (or set to -1 for no timeout). That would definitely be the > easiest to do if it works for

@Oneway and @OneWay difference or fault in documentation

2009-02-11 Thread hairman
I'm trying to use the @Oneway-Annotation in a CXF Serviceinterface using Spring. @OneWay (camelCase) doesn't exist, so I think, it's a fault in the CXF docu? ( http://cwiki.apache.org/CXF20DOC/developing-a-service.html#developingaservice-the%257b%2...@oneway%257d%257dannotation ) I import javax.

RE: CXF on WebSphere6 - any good solutions on for the SAAJ version incompatibility?

2009-02-11 Thread Eoghan Glynn
Needless to say, I shall update the wiki with this info. -Original Message- From: Eoghan Glynn [mailto:eogl...@progress.com] Sent: Wed 11/02/2009 12:17 To: users@cxf.apache.org; users@cxf.apache.org Subject: RE: CXF on WebSphere6 - any good solutions on for the SAAJ version incompatibil

RE: CXF on WebSphere6 - any good solutions on for the SAAJ version incompatibility?

2009-02-11 Thread Eoghan Glynn
Folks, One of my colleagues figured this out (thanks Oli!). So here's a quick summary of his approach for posterity: (a) via the WAS Console->Environment->Shared Libraries, create 3 new shared libraries: (i) saaj library containing the SAAJ API and impl jars (ii) wsdl4j library containing

Re: After updating to 2.1.4: No DestinationFactory was found for the namespace http://schemas.xmlsoap.org/soap/http

2009-02-11 Thread Daniel Kulp
Adding the cxf-rt-transports-http-jetty jar onto the classpath should fix this. We did a bit of work to try and reduce dependencies pulled in from maven when they aren't really needed to reduce the size of applications and such. The question is, why is it needed here? You are creating a c

After updating to 2.1.4: No DestinationFactory was found for the namespace http://schemas.xmlsoap.org/soap/http

2009-02-11 Thread Dennis Kieselhorst
Hi, updated CXF from 2.1.3 to 2.1.4. Changed nothing else and got the following exception while loading springs app context: Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public java.lang.Object org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create()] thre

Re: HttpConduit thread safety

2009-02-11 Thread Marc Giger
Hi Dan On Mon, 9 Feb 2009 16:43:35 -0500 Daniel Kulp wrote: > > Basically, if you set all the conduit properties ONCE up front and also don't > use http sessions and all use either http or https, but not both, then you > can > do this. Do: > > ((BindingProvider)proxy).getRequestContext().

problem using marshallerProperties for CData output

2009-02-11 Thread jean pierre pelerin
Hi, I'm trying to use a com.sun.xml.bind.characterEscapeHandler for JAXB customize escaping, in order to output CData text. This is my cxf configuration : http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:jaxws="ht

Re: Problem: Character content of elements discarded during unmarshalling

2009-02-11 Thread Kirill R.
Thank you! dkulp wrote: > > > The request is definitely wrong: > > -- View this message in context: http://www.nabble.com/Problem%3A-Character-content-of-elements-discarded-during-unmarshalling-tp21930755p21950713.html Sent from the cxf-user mailing list archive at Nabble.com.