 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Gunnar Guest
|
Posted: Fri Dec 22, 2006 7:56 pm Post subject: XMLbroker - provider problem |
|
|
Hi,
After several hours of googling I think I am the only person in the world
with this problem... Hopefully someone in here can help me.
I have installed a server application with the following components:
- Remote datamodule with:
- ADOconnection
- ADOStored proc which takes one input parameter (integer)
- Datasetprovider which publish the ADOStoredproc
I have tested the server by making a form-based client app that
connects a ClientDataset to the provider and show the result in
a datagrid. So far so good..
BUT I want to use a XMLBroker instead of the ClientDataset.
The problem with this is that I cannot get the XMLbroker to
send the parameter to the server. Fetch parameters doesnt work
an if I manually put in the parameter I still get an exception with
the message 'MyDataset require the parameter '@ID' wh'ch was
not supplied...
I tried to put a XMLbroker in the remote data module. Then
Fetch params worked, and I copied the Broker with the parameters
to my client, but still the same problem..
Any suggestions how to setup parameters in the XMLbroker?
BTW: I use D7 Architect
Thx in advance
Gunnar
--------------------------------------------------------------------------------
I am using the free version of SPAMfighter for private users.
It has removed 7068 spam emails to date.
Paying users do not have this message in their emails.
Try SPAMfighter for free now! |
|
| Back to top |
|
 |
Mark Horrocks Guest
|
Posted: Fri Jan 12, 2007 9:11 am Post subject: Re: XMLbroker - provider problem |
|
|
I put this in the action and in the XMLBroker OnRequestUpdate event.
brkGameFeePayments.params.parambyname('TeamNo').asInteger :=
SessMgr.IntValues['TeamNo'];
Response.Content := prdGameFeePayments.Content; |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|