Groups > Borland > Delphi web services WSDL > Re: WDSL - a problem II




WDSL - a problem II

WDSL - a problem II
Mon, 07 Jan 2008 10:07:51 +010
Hi,

as reported: sending a message to the webservice now is ok. But, when I 
get data from the webservice I can not work with it. Analyzing the 
HTTP-stream I can see that I get data, but I can not get the data out of 
the receiving data structure. The receiving structure is a TXMLData - 
but when I try to access it, it seems to be empty...

What can I do? It is the same project as under "WSDL - a problem" from

17.12.2007

Any idea, any hint?

Thank you!

Post Reply
Re: WDSL - a problem II
Mon, 07 Jan 2008 23:37:34 +010
On Mon, 07 Jan 2008 10:07:51 +0100, Gerhard Delfs  
<gerhard.delfs@gmail.com> wrote:

> Hi,
>
> as reported: sending a message to the webservice now is ok. But, when I  
> get data from the webservice I can not work with it. Analyzing the  
> HTTP-stream I can see that I get data, but I can not get the data out of  
> the receiving data structure. The receiving structure is a TXMLData -  
> but when I try to access it, it seems to be empty...
>
> What can I do? It is the same project as under "WSDL - a problem"
from  
> 17.12.2007
>
> Any idea, any hint?

You mean we're talking about the same OrderRequest as in your original  
post from dec 17th? Can you post the returned data (or even upload a  
Wireshark-saved dump file to some web server)?

Are we talking about the OrderRequestResult parameter? or OutOrderID? Or  
both? Did you try to hook into the AfterExecute event handler and see  
what's there?

Post Reply
Re: WDSL - a problem II
Tue, 08 Jan 2008 14:42:19 +010
Hi,

yes - I am talking about the same OrderRequest...

But now this procedure is the next candidate:

procedure OverviewOpenOrders(const ID: WideString; const Info: Info; out 
OverviewOpenOrdersResult: Smallint; out Info1: Info2); stdcall;

call:
OverviewOpenOrders(aID,aInfo,aOverviewOpenOrdersResult,aOutInfo);

What we now found is that the result is presented in the aInfo and not 
in the aOutInfo...crazy enough...

I would like to present the data in datasets. ClientDataSet would be ok 
- but as some data - product data - may occurs many times I can not use 
them. Are there any other - simple - ways to achieve this or have I to 
parse the XML and put the appropriate data in e.g. 2 tables myself?

Thank you for a hint!

cheers

Post Reply
about | contact