Re: Transformation interceptor to replace arbitrary text content

2017-11-29 Thread Marcel Stör
simple elements are united by a namespace > which does not qualify complex ones as well, then you may still be able > to use the transform one, check the tests, there some examples how to > use the wildcards > > Sergey > On 29/11/17 13:32, Marcel Stör wrote: >> I think e

Re: Transformation interceptor to replace arbitrary text content

2017-11-29 Thread Marcel Stör
hub.com/apache/cxf/blob/master/core/src/test/java/org/apache/cxf/staxutils/transform/InTransformReaderTest.java#L73 > > > You'd likely need to say that {someNs}modifiedBy has to be replaced by > {someNs}modifiedBy > > HTH, Sergey > On 29/11/17 09:22, Marcel Stör wrote: >>

Transformation interceptor to replace arbitrary text content

2017-11-29 Thread Marcel Stör
we need to use the XSLT transformation, right? [StringType] ...some documentation... VEMPTY if effective value is null ...some more documentation... -- Marcel Stör, https://frightan

Re: Potential Memory Leak

2013-10-25 Thread Marcel Stör
which may cause this? Thanks, Dan. -- View this message in context: http://cxf.547215.n5.nabble.com/Potential-Memory-Leak-tp5735592.html Sent from the cxf-user mailing list archive at Nabble.com. -- Marcel Stör, http://frightanic.com Couchsurfing: http://www.couchsurfing.com/people/marce

Re: Service doc generation not working for JAX-RS

2013-10-18 Thread Marcel Stör
On 18.10.2013 17:50, Sergey Beryozkin wrote: Hi On 18/10/13 13:39, Marcel Stör wrote: Are there known limitations for the "/services" and "?_wadl" auto doc generation features when CXF serves both JAX-WS and JAX-RS? [Context] - CXF 2.7.5 - *1* CXF Servlet mapped to /*

Re: SSL handshake exception on IBM AIX 6.1 with IBM JDK 7

2013-10-18 Thread Marcel Stör
below (client.xml): Thanks, Venkat -- Marcel Stör, http://frightanic.com Couchsurfing: http://www.couchsurfing.com/people/marcelstoer O< ascii ribbon campaign - stop html mail - www.asciiribbon.org

Service doc generation not working for JAX-RS

2013-10-18 Thread Marcel Stör
have auto doc generation play nice? Regards, Marcel -- Marcel Stör, http://frightanic.com Couchsurfing: http://www.couchsurfing.com/people/marcelstoer O< ascii ribbon campaign - stop html mail - www.asciiribbon.org

Re: MTOM: large attachments eating up JVM heap

2012-09-21 Thread Marcel Stör
everything could still use the original WSDL. -- Marcel Stör, http://www.frightanic.com Couchsurfing: http://www.couchsurfing.com/people/marcelstoer O< ascii ribbon campaign - stop html mail - www.asciiribbon.org

Re: MTOM: large attachments eating up JVM heap

2012-09-21 Thread Marcel Stör
On 21.09.2012 15:33, Glen Mazza wrote: On 09/21/2012 08:08 AM, Marcel Stör wrote: The bad news: d) Since we run wsdl2java in each an every Maven build a) isn't an option anyway. wsdl2java should be able to generate DataHandlers within method signatures, my MTOM/Apache FOP tutorial[1]

Re: MTOM: large attachments eating up JVM heap

2012-09-21 Thread Marcel Stör
On 20.09.2012 16:44, Daniel Kulp wrote: This is definitely one area of JAXB/JAX-WS that I am not exactly "happy" with. I can understand why they decided to map it to java.awt.Image, but I'm not sure why they then didn't provide a customization option to map it to a DataHandler. For many (m

Re: MTOM: large attachments eating up JVM heap

2012-09-20 Thread Marcel Stör
org.apache.cxf.binding.soap.SoapMessage (via MessageImpl.contextCache) /from the native stack/. Starting the JVM with -Djava.awt.headless=true fixes this. Uploading a 50MB JPEG still consumes >1GB heap but at least the GC clears this. Cheers, Marcel On 19.09.2012 23:28, Marcel Stör wrote: I try to

Re: Logging interceptor using unexpected logger name

2012-09-20 Thread Marcel Stör
Oh never mind... I failed to see that the current behavior is actually beneficial as it is a lot more flexible. Cheers, Marcel On 19.09.2012 23:46, Marcel Stör wrote: We used to have a log4j config like below: I noticed that with CXF 2.6.1 (don't know with which version

Logging interceptor using unexpected logger name

2012-09-19 Thread Marcel Stör
services since you need to either configure them all individually in log4j.xml or use wildcards in log4j.xml. Are there ways around that? Cheers, Marcel [1] org.apache.cxf.interceptor.AbstractLoggingInterceptor.getMessageLogger(Message) -- Marcel Stör, http://www.frightanic.com

MTOM: large attachments eating up JVM heap

2012-09-19 Thread Marcel Stör
on=[""], user-agent=[Apache-HttpClient/4.1.1 (java 1.5)]} Messages: Message (saved to tmp file): Filename: C:\Users\mstoer\AppData\Local\Temp\cxf-tmp-357825\cos3686535214659827149tmp (message truncated to 65536 bytes) Payload: --=_Part_8_716120932.1348085609456 ... Cheers, Mar

Confused about OUT parameters vs. return types

2012-08-18 Thread Marcel Stör
WebParam-Mode-OUT-params-are-generated-td4587065.html [3] http://cxf.547215.n5.nabble.com/wsdl2java-avoiding-INOUT-parameters-in-wrapper-style-td2827683.html -- Marcel Stör, http://www.frightanic.com Couchsurfing: http://www.couchsurfing.com/people/marcelstoer O< ascii ribbon campaign - stop html mail - www.asciiribbon.org

Re: Missing option in codegen Maven plugin?

2012-03-19 Thread Marcel Stör
the plugin and the classpath: URL should allow CXF to load it from there. It does work indeed, although I still don't understand /why/ this works. After all 'classpath:' isn't a "real" URL. Cheers, Marcel -- Marcel Stör, http://www.frightanic.com Couchsurfing: http:

Missing option in codegen Maven plugin?

2012-03-17 Thread Marcel Stör
in/WsdlArtifact.java [3] http://svn.apache.org/repos/asf/cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/AbstractCodegenMoho.java -- Marcel Stör, http://www.frightanic.com Couchsurfing: http://www.couchsurfing.com/people/marcelstoer O< ascii

Re: No logging interceptor when using jaxws:client?

2012-03-07 Thread Marcel Stör
ache.org/docs/jax-ws-configuration.html I assumed that if I had the configuration right there'd be a Spring bean 'cxf' which apparently is the default bus being used for all endpoints. Cheers, Marcel On Wednesday, March 07, 2012 04:59:45 PM Marcel Stör wro

No logging interceptor when using jaxws:client?

2012-03-07 Thread Marcel Stör
ad in the Spring configuration it works: class="org.apache.cxf.jaxws.JaxWsProxyFactoryBean"> factory-method="create" /> Why is that? Looking at the documentation and the source code didn't help for me. Cheers, Marcel -- Marcel Stör, http:/

Re: Using custom SSLSocketFactory

2010-04-13 Thread Marcel Stör
ConnectionDefaultSslSocketFactory" and > "useHttpsURLConnectionDefaultHostnameVerifier" to the > configuration element (2). > > I understand this is slightly different from what you ask for this > may be a convenient workaround. Would it do the job ? It's *ex

Re: NAMESPACE_ERR when trying to use jaxws:client

2010-04-13 Thread Marcel Stör
tml) suggests it has something to do with woodstox missing in the classpath. That may very well be...I excluded it explicitly because of one of its own bugs (http://jira.codehaus.org/browse/WSTX-168, it tries to download TLD DTDs on hosts with no Internet connection). Regards, Marcel -- Marcel S

Re: Using custom SSLSocketFactory

2010-04-12 Thread Marcel Stör
On 12.04.2010, at 18:20, Marcel Stör wrote: > Java allows to use a custom VM-wide SSLSocketFactory implementation like so: > > javax.net.ssl.HttpsURLConnection.setDefaultSSLSocketFactory(SSLSocketFactory) > > I noticed, however, that CXF does not honor this "settin

Using custom SSLSocketFactory

2010-04-12 Thread Marcel Stör
be used in org.apache.cxf.transport.https.HttpsURLConnectionFactory.decorateWithTLS(HttpURLConnection). Question: how can I use my (customer's) own configuration of a SSLSocketFactory with CXF? Regards, Marcel -- Marcel Stör, http://www.frightanic.com Couchsurfing: http://www.couchsurfing.com/people/marcelstoer Skype