Solved

"Fetch Params" is flaky with SOAP

Posted on 2001-09-06
3
316 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

776 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