Re: soap requests with no attributes or elements

2008-04-17 Thread Fazle Khan
Thanks all for your help. I decided to use empty nested complexType elements for no-input soap reqeusts and the generated code works much better. -- View this message in context: http://www.nabble.com/soap-requests-with-no-attributes-or-elements-tp16715370p16744039.html Sent from the cxf-user

Re: soap requests with no attributes or elements

2008-04-16 Thread Glen Mazza
Am Dienstag, den 15.04.2008, 19:52 -0700 schrieb Fazle Khan: > I am trying to use cxf to make a soap request that has no attributes or > elements and it seems to be generating invalid xml. I assume I'm using the > api wrong. > I don't think you can do that, because it would be a degenerate case

Re: soap requests with no attributes or elements

2008-04-16 Thread Daniel Kulp
On Wednesday 16 April 2008, Fazle Khan wrote: > I'm using spring-ws contract-first wsdl generation so I'll see if the > users on that form have a suggestion. > > btw, I did find 2 work arounds till I find a better solution > > 1. pass in an empty string for the Object parameter of the service. >

Re: soap requests with no attributes or elements

2008-04-16 Thread Fazle Khan
t that way a typed parameter is used in the service method and the class is generated. -- View this message in context: http://www.nabble.com/soap-requests-with-no-attributes-or-elements-tp16715370p16722537.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: soap requests with no attributes or elements

2008-04-15 Thread Freeman Fang
Hi Fazle, Since the request has no input, how about change your wsdl a bit to make it compatible with doc/liter/wrapped so that the generated method timeSalesAllInstruments() has no input parameter. I will change your wsdl inline Regards Freeman Fazle Khan wrote: I am trying to use cxf to mak

soap requests with no attributes or elements

2008-04-15 Thread Fazle Khan
lInstrumentsRequest", name = "TimeSalesAllInstrumentsRequest") java.lang.Object timeSalesAllInstrumentsRequest ); TimeSalesAllInstrumentsResponse response = client.timeSalesAllInstruments(null); I assume I should not be passing null into the method, but what should I pass? -fazle --