BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

XMLbroker - provider problem

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Isapi-WebBroker
View previous topic :: View next topic  
Author Message
Gunnar
Guest





PostPosted: Fri Dec 22, 2006 7:56 pm    Post subject: XMLbroker - provider problem Reply with quote



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





PostPosted: Fri Jan 12, 2007 9:11 am    Post subject: Re: XMLbroker - provider problem Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Isapi-WebBroker All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.