org.apache.cxf.interceptor.Fault: Unmarshalling Error: Socket read failed

2013-08-01 Thread Ram
This issue occurs sometimes..Please advice. (org.apache.cxf.phase.PhaseInterceptorChain) WARN - Interceptor for [serviceName] has thrown exception, unwinding now org.apache.cxf.interceptor.Fault: Unmarshalling Error: Socket read failed at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(J

Absolute path of ws-security.signature.crypto doesn't work on REST SAML Support

2013-08-01 Thread liugang594 Liu
Hi All: (CXF version: 2.7.7.SNAPSHOT) We are tring to add SAML support on rest service, and the gave attribute ws-security.signature.crypto value is an absolute file path. After deployed this service, we always got an exception, which complains "Caused by: org.apache.ws.security.WSSecurityExcept

Re: Jaxb Impl problems.

2013-08-01 Thread Sergey Beryozkin
Hi On 01/08/13 19:03, Osvaldo Pina wrote: Sergey, Sorry to bother you again with this problem but I did some research in the cxf source code and I think that changing the property will not solve the problem because the AbstractJAXBProvider will always try to create a NamespaceMapper (insid

Re: CXF XJC Maven Plugin (xsdtojava) Maven plugin usage

2013-08-01 Thread Daniel Kulp
The m2eclipse integration stuff is a complete pain. The API for passing warnings/messages back to Eclipse REQUIRES a File object. If you use a classpath URL or if a schema imports something from an http url or something, it will NPE as we don't have a File object.For the cxf-codegen-pl

Re: wsdl2java - suppressing timestamps in Javadoc/comments?

2013-08-01 Thread Daniel Kulp
There currently isn't a way to turn this off. A patch to turn this off (and likely not generate the date="…" attribute in the @Generated annotation if the -mark-generated flag is passed) would be welcome. Dan On Jul 31, 2013, at 8:48 AM, Martin Fernau wrote: > Hi there, > > is there a s

Re: Aegis and inheritance: issue migrating from 2.3.9 to 2.7.5

2013-08-01 Thread Daniel Kulp
This certainly looks like a bug. Can you create a small test case and attache to a JIRA? Dan On Jul 29, 2013, at 12:05 PM, vincentr42 wrote: > Migrating from CXF 2.3.9 to 2.7.5, we encounter an issue regarding the aegis > marshalling in 2.7.5 when a class extend another. Indeed, attributes

Re: CXF Proxy/Code generation error, IllegalArgumentException: code size limit exceeded

2013-08-01 Thread Daniel Kulp
I honestly don't think there is a workaround for this as this is something that is a limitation down in the Java runtime, not CXF. If you do something simple like: InvocationHandler handler = new InvocationHandler() { public Object invoke(Object proxy, Method method, Obje

Re: Jaxb Impl problems.

2013-08-01 Thread Osvaldo Pina
Sergey, Sorry to bother you again with this problem but I did some research in the cxf source code and I think that changing the property will not solve the problem because the AbstractJAXBProvider will always try to create a NamespaceMapper (inside protected void setNamespaceMapper) which is

CXF Proxy/Code generation error, IllegalArgumentException: code size limit exceeded

2013-08-01 Thread Ryan Hall (ryhall)
Hello, I've recently encountered an interesting problem when trying to write a client to connect to the code stubs generated by CXF's WSDL2Java tool. Basically, the code stubs appear to generate correctly, but whenever I try to create a client which uses those stubs, I obtain the following erro

Re: org.apache.cxf.ws.policy.PolicyException: These policy alternatives can not be satisfied:

2013-08-01 Thread r . keegstra
Dear Colm, To develop this client I'm using Eclipse. I haven't successfully changed the loglevel from INFO to FINE of the java.util.logging. I tried log4j and got a bit more log, but I'm afraid it is not what your looking for. Next monday I'm going to try to get more logging with the default lo

Re: Exception in thread "main" javax.xml.ws.WebServiceException: Could not send Message

2013-08-01 Thread Aki Yoshida
Your client is trying to call http://localhost:9090/HelloWorldImplPort but there is nothing running at this url. If the url is wrong, you need to set the correct target url in your client. in this case, refer to "How to override the service address ?" http://cxf.apache.org/docs/client-http-transpo

Re: CXF Web client test with mock URL

2013-08-01 Thread Sergey Beryozkin
Hi I'm not quite sure what you mean by "//I need to show the xslt output here?? How??" inside the method implementation ? Actually, I've typed and realized why the provider won't be selected. Your method returns 'String' - XSLTJaxbProvider extends JAXB provider and expects an actual object b

Re: cxf client retries service calls

2013-08-01 Thread Sergey Beryozkin
Further updated the page to mention that all strategies can be configured to do the delays between the retries, and RetryStrategy can also be used to try the same/last address for a number of times before moving next Sergey On 01/08/13 12:25, Sergey Beryozkin wrote: Hi I've added a Failover

Re: cxf client retries service calls

2013-08-01 Thread Sergey Beryozkin
Hi I've added a Failover Feature page: https://cwiki.apache.org/confluence/display/CXF20DOC/FailoverFeature I recall JAX-WS clients can be additionally configured to alternate between WSDL service ports - FailoverTest for JAXWS in systests/categorized does something with it but I'm not sure h

Exception in thread "main" javax.xml.ws.WebServiceException: Could not send Message

2013-08-01 Thread neon
Hi, I am new to CXF and have developed and deployed my CXF Jax-ws webservice successfully on JBoss . I am able to test my webservice successfully using SOAP UI Client. I am getting below error while consuming my webservice using CXF client. Please help me here. I have copied all my project files b

Re: CXF WS-security policy question

2013-08-01 Thread Ted Roeloffzen
Hi Andrei, The problem is that i don't have a keystore. The certificate is loaded from the database. kind regards, Ted 2013/7/30 Andrei Shakirin > Hi Ted, > > I see that your crypto provider returns null for private keys and says > always false by verifyTrust(). > If you manage your private

cxf client retries service calls

2013-08-01 Thread gowri shankar iyer
Hello, Is there any way that a cxf client retries service calls particularly in a load scenario ? We have been observing when there is a spike in the website traffic by 2x the number of service calls zooms by 10x. I googled and found out in a thread that this could be a reason because of "maxIdleC

Re: Question about Interceptor setup again :)

2013-08-01 Thread Sergey Beryozkin
Hi On 01/08/13 10:17, ?? wrote: Hi, Thank you very much for your response!! I just want to also check if Interceptor supports Dynamic Binding (DynamicFeatures)? @Provider public class DynamicFeatureImpl implements DynamicFeature { @Override public void configure(ResourceInfo arg0, Configu

Re: CXF 2.6.6 Tomcat Classloading Issue

2013-08-01 Thread Sergey Beryozkin
Hi Dan - looks like that must be it... thanks, Sergey On 31/07/13 23:46, Daniel Kulp wrote: Did you also add the jaxrs-api jar to the "my-libs" dir? It LOOKS to me like the annotation classes couldn't be loaded from the class loader of your API's. Dan On Jul 31, 2013, at 2:08 PM, Tom Hart

Re: Error when building CXF

2013-08-01 Thread Aki Yoshida
for upgrading some maven plugin that i mentioned, i just created CXF-5171. 2013/8/1 Aki Yoshida : > I still use 3.0.4 and haven't tried to build with 3.1. > | heard of one issue with 3.1 with the version of maven-shade-plugin > which we still in use in cxf. So we will need to update this version.

Re: Question about Interceptor setup

2013-08-01 Thread Sergey Beryozkin
Hi I believe in CXF 2.7.5 name binding are not working with ReaderInterceptor or WriterInterceptor, I did not even know it was required, so did it only for ContainerRequestFilter and ContainerResponseFilter (and client variants). This definitely has to work on the trunk (CXF 3.0.0-SNAPSHOT),

Re: org.apache.cxf.ws.policy.PolicyException: These policy alternatives can not be satisfied:

2013-08-01 Thread Colm O hEigeartaigh
Could you turn logging to "FINE" + attach the log? That should tell us the exact policy validation error(s). Colm. On Thu, Aug 1, 2013 at 9:17 AM, wrote: > Hi, > > Because the formatting was crappy an attachement. > > > > From: Colm O hEigeartaigh To: "users@cxf.apache.org" > Date: 01-08-201

Re: Error when building CXF

2013-08-01 Thread Aki Yoshida
I still use 3.0.4 and haven't tried to build with 3.1. | heard of one issue with 3.1 with the version of maven-shade-plugin which we still in use in cxf. So we will need to update this version. But I suppose you are getting errors somewhere else. In principle, the cxf build should work behind a fi

Re: org.apache.cxf.ws.policy.PolicyException: These policy alternatives can not be satisfied:

2013-08-01 Thread r . keegstra
Hi, Because the formatting was crappy an attachement. From: Colm O hEigeartaigh To: "users@cxf.apache.org" Date: 01-08-2013 10:09 Subject: Re: org.apache.cxf.ws.policy.PolicyException: These policy alternatives can not be satisfied: Hi, It looks like the service is processing the CXF re

Re: org.apache.cxf.ws.policy.PolicyException: These policy alternatives can not be satisfied:

2013-08-01 Thread r . keegstra
Hi and thanx so far! You probably wanted to see the next piece of the wsdl:

Re: org.apache.cxf.ws.policy.PolicyException: These policy alternatives can not be satisfied:

2013-08-01 Thread Colm O hEigeartaigh
Hi, It looks like the service is processing the CXF request correctly, but is not returning a response that complies with the security policy, and the client is throwing an exception. It's impossible to find out without seeing the security policy though. It should be in the WSDL file referenced in

Re: org.apache.cxf.ws.policy.PolicyException: These policy alternatives can not be satisfied:

2013-08-01 Thread r . keegstra
Dear Colm, Sorry i didn't see your previous response. Because of my great e-mail client (Notus ;) ) I wasn't properly connected to the mailinglist, apologies for the inconvenience. I don't know how to get the security policy of the service. I added the message I send to the server. (I've removed

Re: org.apache.cxf.ws.policy.PolicyException: These policy alternatives can not be satisfied:

2013-08-01 Thread Colm O hEigeartaigh
Did you not see my previous response? We need to see the security policy of the service, the request message + the response message to be able to help you. Colm. On Thu, Aug 1, 2013 at 7:06 AM, wrote: > Dear CXF Support, > > First, I am a newbie with CXF. I am writing a CXF client to interact w