Re: How to configure CXF client consume wsdl with overloaded methods?

2009-11-17 Thread Daniel Kulp
As Benson bluntly pointed out, it's generally a bad idea. However, there are things that can be done to make it "work". 1) Make sure any added elements are minOccurs=0. The old clients wouldn't be sending them, so the schema needs to account for that. 2) When SENDING responses, if you can

Re: How to configure CXF client consume wsdl with overloaded methods?

2009-11-17 Thread Benson Margulies
You're welcome. Sorry for the blunt language. On Tue, Nov 17, 2009 at 8:44 AM, Jason Clark wrote: > Thanks for the confirmation, Benson. > > Cheers, > Jason. > > 2009/11/16 Benson Margulies > > > It doesn't contradict WSI-BP. It's just stupid. If you change a type in > the > > middle of an exis

Re: How to configure CXF client consume wsdl with overloaded methods?

2009-11-17 Thread Jason Clark
Thanks for the confirmation, Benson. Cheers, Jason. 2009/11/16 Benson Margulies > It doesn't contradict WSI-BP. It's just stupid. If you change a type in the > middle of an existing contract, and the original schema didn't use 'any' > particles to leave room for expansion, you've made an incomp

Re: How to configure CXF client consume wsdl with overloaded methods?

2009-11-16 Thread Benson Margulies
It doesn't contradict WSI-BP. It's just stupid. If you change a type in the middle of an existing contract, and the original schema didn't use 'any' particles to leave room for expansion, you've made an incompatible change, and, yes, all those clients have to be reinvented. On Mon, Nov 16, 2009 at

Re: How to configure CXF client consume wsdl with overloaded methods?

2009-11-16 Thread Jason Clark
Hi Dan, I think something related (albeit peripherally) has recently come up at my workplace. The scenario is we have a web service that we've published a WSDL for. Recently, a new element has been added to a complex type (ignoring my objections), thus resulting in an updated WSDL. This has nece

RE: How to configure CXF client consume wsdl with overloaded methods?

2009-11-15 Thread Alpin, Luba
Subject: Re: How to configure CXF client consume wsdl with overloaded methods? If you add proper @WebMethod annotations onto the interface methods like: @WebMethod(name = "getVolume") public VolumePropertiesDTO getVolume(String name); @WebMethod(name = "getVolume1") public

Re: How to configure CXF client consume wsdl with overloaded methods?

2009-11-12 Thread Daniel Kulp
t; > > message="tns:getDemoPropertiesRequest" /> name="getDemoPropertiesResponse" message="tns:getDemoPropertiesResponse" > /> > > > transport="http://schemas.xmlsoap.org/soap/http"; /> name="getVolume1"&g

Re: How to configure CXF client consume wsdl with overloaded methods?

2009-11-12 Thread Benson Margulies
; Sent: Thursday, November 12, 2009 14:59 PM > To: users@cxf.apache.org > Subject: Re: How to configure CXF client consume wsdl with overloaded > methods? > > If you run this into wsdl2java, you'll get a getVolume and a getVolume1. > They might both work. > > On Thu,

RE: How to configure CXF client consume wsdl with overloaded methods?

2009-11-12 Thread Alpin, Luba
. Regards, Luba A. -Original Message- From: Benson Margulies [mailto:bimargul...@gmail.com] Sent: Thursday, November 12, 2009 14:59 PM To: users@cxf.apache.org Subject: Re: How to configure CXF client consume wsdl with overloaded methods? If you run this into wsdl2java, you'll get a

Re: How to configure CXF client consume wsdl with overloaded methods?

2009-11-12 Thread Benson Margulies
t; > > > > > > > > > > > > > > > > > > > > > > > > > message="tns:getArrayOfDataRequest" /> > message="tns:getArrayOfDataResponse" /> > > > > > >

RE: How to configure CXF client consume wsdl with overloaded methods?

2009-11-12 Thread Alpin, Luba
quot;; /> Configuration - services.xml http://xfire.codehaus.org/config/1.0";> Demo demowar.server.IDemo demowar.server.DemoImpl jsr181 true demowar.dto.VolumePropertiesDTO

Re: How to configure CXF client consume wsdl with overloaded methods?

2009-11-11 Thread Benson Margulies
Dan, So, we have the following situation? XFire let the OP create a non-WSI-BP service, and purports to generate a WSDL for it. If the version of Aegis was the same on both ends, it would work. If the particular API does not happen to run into one of the areas where Aegis has changed what goes on

Re: How to configure CXF client consume wsdl with overloaded methods?

2009-11-11 Thread Daniel Kulp
Two notes: 1) Without the wsdl and the IVolume interface you are using, it might be hard to diagnose. You may need to put them someplace public or log a JIRA or similar. The mailing list usually strips attachments. 2) Operation overloading in wsdl is not supported.It's specifically f

Re: How to configure CXF client consume wsdl with overloaded methods?

2009-11-11 Thread Benson Margulies
       } catch (MalformedURLException ex) { >            ex.printStackTrace(); >        } >    } > > > > Sorry, I don't familiar with JIRA. > > Thanks, > Luba A. > > > > > -Original Message- > From: Benson Margulies [mailto:bimargul...@gmail.c

Re: How to configure CXF client consume wsdl with overloaded methods?

2009-11-11 Thread Benson Margulies
; Thanks, > Luba A. > > > > > -----Original Message----- > From: Benson Margulies [mailto:bimargul...@gmail.com] > Sent: Wednesday, November 11, 2009 15:34 PM > To: users@cxf.apache.org > Subject: Re: How to configure CXF client consume wsdl with overloaded > methods?

RE: How to configure CXF client consume wsdl with overloaded methods?

2009-11-11 Thread Alpin, Luba
Original Message- From: Benson Margulies [mailto:bimargul...@gmail.com] Sent: Wednesday, November 11, 2009 15:34 PM To: users@cxf.apache.org Subject: Re: How to configure CXF client consume wsdl with overloaded methods? Post a JIRA and attach the wsdl and we'll try to help. On

Re: How to configure CXF client consume wsdl with overloaded methods?

2009-11-11 Thread Benson Margulies
Post a JIRA and attach the wsdl and we'll try to help. On Wed, Nov 11, 2009 at 7:02 AM, Alpin, Luba wrote: > I need a help to configure my CXF client to use XFire SOAP service with > overloaded methods. > > > > IVolume interface has two method 'getVolumes' with different signature > > > > Wsdl