Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

"Fetch Params" is flaky with SOAP

Posted on 2001-09-06
3
Medium Priority
?
328 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

963 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