Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Web Service # of Parameters
Message
From
28/02/2004 21:28:50
 
General information
Forum:
Visual FoxPro
Category:
Web Services
Miscellaneous
Thread ID:
00867493
Message ID:
00881845
Views:
19
>I've constructed an automated procedure to gather information from a paid web service provider.
>
>I built and tested it, and released it to the client. A month or two later, it broke (the client reported "incorrect number of parameters"). It turns out the Web Service provider had added a couple of parameters to the Web Service function call and VFP wouldn't proceed (I presume it was because the WSDL didn't match the code).
>
>Well, I whined to the provider, and updated my code to match their new parameter list.
>
>Now it's another month or two later and I'm getting the same error again. I suspect they have changed their parameters again.
>
>I'm presuming that DotNet is less rigorous about new parameters if they are optional - is this the case with most other SOAP consumer languages? Is there something I'm doing wrong in VFP which causes this problem? Is VFP unique in this regard?
>
>... or is the service provider simply managing their changes improperly? I seem to recall from a MS training event that when changes are needed to a working web service, you create a new function call and keep the original one running to keep current customers working...

AFAIK, in Web Service, parameters are not optional. The only optional parameter approach I have seen is when a Web Service method calls an internal method. In that case, the optional approach might be used. So, the provider has to consider that by advising its clients when such change occurs.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform