Re: Setting the timeout on the client side

2007-09-03 Thread Willem Jiang
Hi CXF will load the cxf.xml as the default configuration file from the class path. If your configuration file's name is services.xml you need to specify it with java command line option -Dcxf.config.file=some_other_config.xml or load the configuration file with SpringBusFactory first. Here

Re: Setting the timeout on the client side

2007-09-03 Thread Willem Jiang
Hi CXF will load the cxf.xml as the default configuration file from the class path. If your configuration file's name is services.xml you need to specify it with java command line option -Dcxf.config.file=some_other_config.xml or load the configuration file with SpringBusFactory first. Here

Re: Different

2007-09-03 Thread Willem Jiang
Hi For the Server side If you are using the JAXS API , you can Endpoint.publish() the service with different address. Object implementor1 = new AnonymousComplexTypeImpl(); String address = "http://localhost:9000/anonymous_complex_typeSOAP";; Endpoint.publish(address, implementor1); If you are u

Re: Additional element in Request Packet (SOAP payload ) is generated with name arg0

2007-09-03 Thread vashistvishal
Thanks Glen and Dan. If this the case (that arg0 is a correct arg in SOAP packet), then please point me how do i send the packet without this, becuse my intention is to send a warpper class which contains _id_ as a _string_. In this case that is HelloWorldReq. So in a nutshell i want to send th

Re: Additional element in Request Packet (SOAP payload ) is generated with name arg0

2007-09-03 Thread Daniel Kulp
Looking at the schema, it looks like the CXF message is correct. The operation message points at the HelloWorld element: The HelloWorld type is a sequence with an arg0 element: Thus the arg0 should be there according to the schema. Dan On Monday 03 September 2007, vashi

Re: Additional element in Request Packet (SOAP payload ) is generated with name arg0

2007-09-03 Thread Glen Mazza
We need to do more detective work. I would create your client against GlassFish Metro using your WSDL to see if the problem still occurs; if it does, we know it's a WSDL problem, if it doesn't then it's a CXF problem. The two products are very similar (and if you're going to do any amount of web

Re: Additional element in Request Packet (SOAP payload ) is generated with name arg0

2007-09-03 Thread vashistvishal
Thanks Glen, This is what the binding looks like. It is doc/lit wrapped. It will be good if you can give me some pointers why it is adding _arg0_ in packet. --

Re: Additional element in Request Packet (SOAP payload ) is generated with name arg0

2007-09-03 Thread Glen Mazza
This seems to be a simple web service, so I am not sure of the problem Can we see the and section for this operation--that might be helpful in determining the types of message being sent--doc/lit, doc/lit wrapped, rpc/literal? Thanks, Glen Am Montag, den 03.09.2007, 00:37 -0700 schrieb vashistv

RE: Setting the timeout on the client side

2007-09-03 Thread Verachten Bruno
Hi, > Please take a look at the CXF 2.0 user doc :) > http://cwiki.apache.org/CXF20DOC/client-http-transport.html Sorry, I have read this doc and didn't see this info. :-/ > If you want all the http-conduit with same client policy, you > could specify the conduit name like this, name="*.http-c

RE: Sending big file attachments

2007-09-03 Thread Verachten Bruno
Hi Daniel, > Is there any way you could send small file and tcpdump the > wire to see if > attachments really are being sent? I'll try that, thanks for the info. Later, Bruno Verachten

Aegis binding & MTOM (newbie)

2007-09-03 Thread tog
I would like to transfer file using both MTOM & the Aegis binding ... The documentation seems to be very JAXB binding oriented ;-) Could someone give some hints on how to implement this on the server side. What do I have to use in place of the DataHandler ? I was looking for an example in the do

Different

2007-09-03 Thread jackal1100
Hi to all, I need to have a great number of clients pointing to some servers. The wsdl is the same for all services , except for the The configuration of the clients/servers is stored in the database. Is possible to set a runtime the contents ? Otherwise how is possible to have a flexible co

Re: CXF Client not working

2007-09-03 Thread exgorth
Hello, thanx. How could one access that fix? What version i shall put in dependencies? dkulp wrote: > > > Just to let you know. I can reproduce this issue. I have a fix that > I'm testing now and hope to have committed to SVN shortly. > > Dan > > > > On Friday 31 August 2007, exgorth

Which maven module do i have to include?

2007-09-03 Thread Jan Lisse
Hi, i want to use cfx as a replacement for xfire. i have a schema-first approach with jaxb2 and i'm using maven 2 as build system. after a look at the cfx maven repository it is not obvious for me which module i have to include to have the right dependencies set up. Any suggestions? Many thx

RE: Obtaining source address and operation name

2007-09-03 Thread Liu, Jervis
So it seems that we did some duplicate work in the code. In org.apache.cxf.transport.ChainInitiationObserver we already set most properties into the Exchange except the operation name, the operation name wont be available until the interceptor who knows how to parse the operation name info from

Re: Aegis, Proxies & Interfaces

2007-09-03 Thread Lee Theobald
Hi Dan, Cheers for letting me know. I've got a workaround in my code for now so I'll be waiting for the snapshot or the 2.0.2 release. Thanks for looking into it for me, Regards, Lee Dan Diephouse-2 wrote: > > Hi Lee, > > Looks like we got ourselves a bug. I've implemented a fix for this w

Additional element in Request Packet (SOAP payload ) is generated with name arg0

2007-09-03 Thread vashistvishal
I'm consuming a service using CXF client which uses this wsdl mentioned below. When the outgoing message is sent it adds _arg0_ in soap packet, which is one element extra, client is not expecting this. http://schemas.xmlsoap.org/soap/envelope/";> http://www.superpartners.com.au/matt.HelloWorld3