Solved

"Fetch Params" is flaky with SOAP

Posted on 2001-09-06
3
317 Views
Last Modified: 2012-06-27
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
Comment
Question by:wile_e_coyote
3 Comments
 
LVL 4

Author Comment

by:wile_e_coyote
ID: 6461635
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
 
LVL 6

Accepted Solution

by:
edey earned 0 total points
ID: 6462193
Good info though, be a shame to delete the question.  Could you ask C/S to reduce points to zero?

GL
Mike
0
 
LVL 3

Expert Comment

by:modder
ID: 6469841
As requested, refunded points and made this a PAQ
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question