"Fetch Params" is flaky with SOAP

Hi

I have written 2 web services (service A and service B), each of which contain a SOAP data module with the following components:
- TADOConnection
- TADOQuery
- TDataSetProvider

Each of the TADOQuery's has a single parameter defined.

I have written a client, using the following components:
-  2 TSOAPConnection's:  one that "points to" service A and one that "points to" service B
- TDataSource
- TClientDataSet

We set the RemoteServer and ProviderName properties of the TClientDataSet, right click on the TClientDataSet and click "Fetch Params".  If the RemoteServer property is set to service A's TSOAPConnection, we see the parameters.  If it is set to  service B's TSOAPConnection, we don't see the parameters.

I have verified that we can access the services because when you change the RemoteServer property, the list of providers displayed in the ProviderName property also changes. As far as we can tell, the 2 services have identical components and the property settings are identical.

Can anyone explain this behavior?

LVL 4
wile_e_coyoteAsked:
Who is Participating?
 
edeyConnect With a Mentor Commented:
Good info though, be a shame to delete the question.  Could you ask C/S to reduce points to zero?

GL
Mike
0
 
wile_e_coyoteAuthor Commented:
I'll be deleting this question...  

From one of the Borland newsgroups, I've learned this is a Delphi bug.  FetchParams does not work when there is only a single parameter.  Service A has 2 parameters.  Service B has only one parameter.
0
 
modderCommented:
As requested, refunded points and made this a PAQ
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.