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
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
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
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
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
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
t;
>
> message="tns:getDemoPropertiesRequest" /> name="getDemoPropertiesResponse" message="tns:getDemoPropertiesResponse"
> />
>
>
> transport="http://schemas.xmlsoap.org/soap/http"; /> name="getVolume1"&g
; 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,
.
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
t;
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> message="tns:getArrayOfDataRequest" />
> message="tns:getArrayOfDataResponse" />
>
>
>
>
>
>
quot;; />
Configuration - services.xml
http://xfire.codehaus.org/config/1.0";>
Demo
demowar.server.IDemo
demowar.server.DemoImpl
jsr181
true
demowar.dto.VolumePropertiesDTO
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
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
} catch (MalformedURLException ex) {
> ex.printStackTrace();
> }
> }
>
>
>
> Sorry, I don't familiar with JIRA.
>
> Thanks,
> Luba A.
>
>
>
>
> -Original Message-
> From: Benson Margulies [mailto:bimargul...@gmail.c
; 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?
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
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
17 matches
Mail list logo