Re: Caused by: java.net.SocketException: Unexpected end of file from server

2011-09-29 Thread xuhb
Thanks for William Jiang. I also encounter such a problem. maxIdleTime works well; Will cxf support to configure maxIdleTime for jetty-transport ? - Original Message - From: Willem Jiang willem.ji...@gmail.com To: users@cxf.apache.org Sent: Wednesday, September 28, 2011 5:35 PM

Non CFX clients for CFX web services

2011-09-29 Thread Tim
Hi! I try to use CFX in first time. Before I develop web services using other framworks and tools. I make a simple project like Writing a service with Spring (Server and client sides). These are no any problems. But when I try to use my service by other clients it does not work correctly.

Re: Caused by: java.net.SocketException: Unexpected end of file from server

2011-09-29 Thread Willem Jiang
It's here CXF-3833, I just committed a patch for it. [1] https://issues.apache.org/jira/browse/CXF-3833 On Thu Sep 29 13:59:36 2011, xuhb wrote: Thanks for William Jiang. I also encounter such a problem. maxIdleTime works well; Will cxf support to configure maxIdleTime for jetty-transport ?

Re: The signature or decryption was invalid

2011-09-29 Thread yannick
I found some posts that this problem would be solved in cxf 2.4.1 - snapshot ... So I tried to change to 2.4.1 to see if it gives a difference but still same problem. The weird thing for me is that it works perfectly on windows but not on linux... -- View this message in context:

Re: DOSGI CXF inheritance question

2011-09-29 Thread Sergey Beryozkin
Hi I think it's non a DOSGi issue, more likely Aegis binding (used by default by SOAP proxies) issue. DOSGi itself does not handle the databindings Try enable jaxb and add the annotations (as well as import them) as suggested by Dan Cheers, Sergey On 28/09/11 23:05, András Liter wrote:

Re: CXF Service deployment on Websphere 6.1.0.29

2011-09-29 Thread indra_a...@yahoo.com
Hello Yann, Thank you. Yes, I am planning not to use Websphere 6.1 feature pack and use CXF 2.4 instead. Is it possible for you to provide a working pom.xml so that I can ensure that all dependent jars are copied in WEB-INF/lib. Regards Indranil -- View this message in context:

AW: AW: AW: Missing Method/Opeartion Parameters in WSDL

2011-09-29 Thread Andre.Janus
Hi Daniel, thank you very much for your answer! I added the targetNamespace (http://repurchaseresellnoreturn.xyz) annotation within the interface (package xyz.RepurchaseResellNoReturnRequester) and the implementation class (package xyz.RepurchaseResellNoReturnRequester.impl), but I still got

Re: @Context not working for ResponseExceptionMapper

2011-09-29 Thread Sergey Beryozkin
Hi ResponseReader is still the provider you need to register. I have a test which catches ServerWebApplicationException and then does ex.toErrorObject(Book.class). ResponseReader has to be registered once but you can set an expected class on it every time you need to read from Response,

Re: Marshalling REST Query Parameter directly into Integer Array

2011-09-29 Thread Sergey Beryozkin
Hi There was a minor issue to do with handling arrays such as Integer[], but I can see no problems with ListInteger. I committed a test involving ListInteger Integer[]. Not sure why you see a problem with ListInteger Can you try 2.4.2 please ? Sergey On 28/09/11 17:34, Kiren Pillay wrote:

Re: DOSGI CXF inheritance question

2011-09-29 Thread András Liter
Hello Sergey, you were right! I just needed to add the jaxb property on the consumer (and provider) side and then JAXB handles polimorphism very well! I even didnt need to put the Xml annotations on my classes. Thanks for the solution! András Liter On Thu, Sep 29, 2011 at 1:21 PM, Sergey

RE: Non CFX clients for CFX web services

2011-09-29 Thread David Sills
Tim: I regularly develop Axis 1.4 clients for my CXF web services (I have to, because any batch processes that use the services have to work from Java 1.4.2) and have never encountered any problems. I assume you are generating your client code from your WSDL? Does everything look as you would

Re: Non CFX clients for CFX web services

2011-09-29 Thread Glen Mazza
Someone else has answered your Axis question, but for another example of interoperability my DoubleIt tutorial creates both Metro and CXF clients and service providers, of which a client of one framework can successfully call the service of another:

Re: Question about web services

2011-09-29 Thread Glen Mazza
Unless you're doing a standalone web service (embedded Jetty using Endpoint.publish()), that will be marked in the web.xml for the WAR hosting your web service provider: http://www.jroller.com/gmazza/entry/ssl_for_web_services You might be able to do the same thing you're doing below if you

Re: Signature only in policy for Username Token

2011-09-29 Thread Glen Mazza
Actually, sounds like a good safety mechanism. I'm not sure if CXF should allow itself to be configured in a way that you can send out unencrypted username tokens. Glen On 09/28/2011 10:45 AM, Daniel Kulp wrote: On Wednesday, September 28, 2011 10:41:10 AM Penmatsa, Vinay wrote: Hi Colm,

Re: Sharing JAXB annotated classes and context between server and client.

2011-09-29 Thread Johan Edstrom
Doing it on the server is pretty easy, doing it on the client less so. jaxws:dataBinding ref bean=wcsriJaxb/ /jaxws:dataBinding And you probably need to extend JAXBDataBinding On Sep 29, 2011, at 3:50 PM, paragmehta wrote: Folks, I have existing java classes annotated with JAXB

Re: Non CFX clients for CFX web services

2011-09-29 Thread Tim
Thanks, Glen Mazza. I'll learn you tutorial. But my problem is is slightly different. I don't create a WSDL-first web service. I don't use wsdl at all and create web service like in http://cxf.apache.org/docs/writing-a-service-with-spring.html