Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 330
  • Last Modified:

"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?

0
wile_e_coyote
Asked:
wile_e_coyote
1 Solution
 
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
 
edeyCommented:
Good info though, be a shame to delete the question.  Could you ask C/S to reduce points to zero?

GL
Mike
0
 
modderCommented:
As requested, refunded points and made this a PAQ
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now