Re: Client can't receive the message due to read timed out

2007-10-24 Thread MtnAlps
Hi Willem, Thank you so much for the info!!! The issue is fixed. We just migrated from XFire 1.2.6 to CXF 2.0.2. A lot of issues we had with XFire 1.2.6 are gone. Thanks! -Miknsheng Willem2 wrote: Hi , FYI, you can find the how to set the timeout parameters here [1] [1]

RE: Serialization of XML attributes to Java Types

2007-10-24 Thread Liu, Jervis
CXF HTTP REST binding uses JAXB data binding as the underlying marshal/unmarshal mechanism. I have not tried this by myself, but your case should be a matter of tuning JAXB to do a customized mapping for you. For example, if you want to map MyObject myVar1=value 1 myVar2=value 2 / to MyObject

Re: Example java2ws maven plugin config?

2007-10-24 Thread Jim Ma
Hi Callum, I just fixed an issue for this plugin and updated the CXF wiki for it . Refer to this link http://cwiki.apache.org/CXF20DOC/maven-integration-and-plugin.html for its configuration and usage . I will ask other guys to publish a snapshot for this fix. Before the new snapshot is

Re: cxf jms with java first

2007-10-24 Thread Willem Jiang
AFAIK, that is what you need to do. Setting the factory's address to be the String which start with jms:// will be OK. BTW, you do not need to include the below files in your spring.configuration import resource=classpath:META-INF/cxf/cxf-extension-local.xml / import

CXF First Time User Questions

2007-10-24 Thread Asleson, Ryan
Hello, I'm a first time user of CXF. I've used other web service tools in the past and am now looking at using CXF. I have a series of questions that I hope somebody can answer for me: 1. I used the WSDL2Java tool to generate a web service client from a WSDL. I noticed that none of the

Re: CXF-2.0.2 Rest service exception

2007-10-24 Thread Ivan Luzyanin
I don't know if this still interesting for you but it might help someone else. Anyway, I faced the same problem. I'm using JAXB 2 mappings for the parameter passed to the REST service method. I tried to use @XmlRootElement first and getting the same exception by after I've changed it to the

how clients handle changing wsdls

2007-10-24 Thread Christian Vest Hansen
If you generate a java client from a wsdl, and then add an operation to the wsdl but forget to update the client code - how does CXF handle that situation? Will the client crash or blissfully hum along (but withut being able to invoke the new operation)? I'm asking because it might influence

RE: CXF First Time User Questions

2007-10-24 Thread Jiang, Ning (Willem)
Hi Please see my comments in the mail. -Original Message- From: Asleson, Ryan [mailto:[EMAIL PROTECTED] Sent: Wed 10/24/2007 21:38 To: cxf-user@incubator.apache.org Subject: CXF First Time User Questions Hello, I'm a first time user of CXF. I've used other web service tools in

RE: CXF First Time User Questions

2007-10-24 Thread Asleson, Ryan
Hi Willem, Thanks for the pointers. They were quite helpful. I'm still having trouble understanding how an http proxy host and http proxy port can be specified. This URL: http://cwiki.apache.org/CXF20DOC/client-http-transport.html Briefly mentions something about a

Unintended Consequences...

2007-10-24 Thread Yeroc
All... I've got a very puzzling problem issue with CXF v2.0.1. I implemented a SOAPHandler that logs all the SOAP messages being sent over the wire. It's very similar to the one that ships as an example in the CXF distribution except that I'm logging to a log4j Logger. What's strange is that

Re: cxf jms with java first

2007-10-24 Thread Christian Schneider
I have the example running ... phew ... That was some work. After some cleanup I will write a wiki page about my example. In fact once all is set up it is quite easy. Only the fact that you have to connect jms:conduit and service by the endpoint name is not very intuitive. I would like to

Re: Unintended Consequences...

2007-10-24 Thread Yeroc
Glen, Glen Mazza-2 wrote: Am Mittwoch, den 24.10.2007, 14:36 -0700 schrieb Yeroc: All... I've got a very puzzling problem issue with CXF v2.0.1. I implemented a SOAPHandler that logs all the SOAP messages being sent over the wire. It's very similar to the one that ships as an

Spring demo client

2007-10-24 Thread 曾信誠_thc
hi all. I got a question about spring demo in CXF document. Follow the article, I have built the environment, publish service on Tomcat setting client, etc. However, when I try to get service response, i got a problem just like the article posted on 06 Aug 2007, the title is spring demo client

Re: CXF + Spring : Bean outside WebApp have empty properties

2007-10-24 Thread bastien.legras
... So the point is : has anyone managed to move the JAX Beans outsite the web services' application (i.e : external jar) ? -- View this message in context: http://www.nabble.com/CXF-%2B-Spring-%3A-Bean-outside-WebApp-have-empty-properties-tf4687334.html#a13397362 Sent from the cxf-user

CXF+ACEGI setting userid/pw on the client side

2007-10-24 Thread mattmadhavan
Hi, Is there any way to setup userid/pw soap header token on the client side programatically without having to create a callback handler class etc? I just want to create a token and add it to the soap message! My client side can be .NET, JAVA. FLEX etc. I cannot force them to do equivalent

undocumented configuration with jetty

2007-10-24 Thread Miguel De Anda
i've got an application (my server) that launches its own jetty server for sending files to external nodes. they currently talk to each other using simple xml passed in as a post request and in the response. the external nodes don't run a web server of any kind. i now need to add a soap

Re: wsdl2java NPE for liberty-idff-wsdl-v1.1.wsdl

2007-10-24 Thread James Mao
Hi, Hi, I have the same issue. According to the WSDL 1.1 spec (http://www.w3.org/TR/wsdl), WSDL can import xsd by using wsdl:import, but CXF wsdl2java throws exception. Sure, we do support this, *but* make sure the attribute is *location*, not the *schemaLocation* Another thing I am

Re: how clients handle changing wsdls

2007-10-24 Thread James Mao
If you just add an operation, it will/should not failed the client, you can modify the hello_world demo in cxf samples, and give it a try (Before you run the client after you modify the wsdl, make sure to remove the depends=build in the client target, so it'll not generate the client code)

Re: Spring demo client

2007-10-24 Thread Willem Jiang
Hi, Here is a clue for your issue. Exception in thread main java.lang.NoSuchMethodError: javax.xml.soap.SOAPFactory.createFault()Ljavax/xml/soap/SOAPFault; It could be another SAAJ implementation instead of SUN's SAAJ1.3 was load in the Tomcat. Please check the Tomcat's class path for it.

RE: Unintended Consequences...

2007-10-24 Thread Liu, Jervis
This indeed looks like a bug to me. I vaguely recalled that I once ran into a weird problem with SAAJ impl, which is that in some cases SOAPBody() wont be not properly initialized until SOAPMessage.writeTo() or some other similar methods are called. I guess what might happen is that CXF creates