logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Where XML-RPC Lib For Delphi To Download From???: msg#00033

Subject: Re: Where XML-RPC Lib For Delphi To Download From???
Dextar,

> I am interested in your changes to the Codepunk XML-RPC library, I am doing 
> the updates to the code on 
> http://www.commercemechanics.com/index.php?object=downloads, if you think 
> others would benefit from these changes, please let me know.

Here you are :) It is attached !
I introduced two new properties to TCaller: XMLRequest and XMLResponse.
They are captured from GetRequestXML and GetResponseXML.
Sometimes, as a developer, you may need to only get access to these XML code 
and compare results.
A normal final user interface wouldn't need any of them, as far as I know...
But, it seemed interesting, during development, to view what exactly was being 
posted and what it was being got in response by the servers.
Additionally, you may save XMLResponse (or XMLRequest) as a .xml file and open 
it in a browser (auto-syntax-color and auto-tabs due to browser auto-parser :)

Example code:

<snip>
rslt := caller.Execute(func);
Memo.Lines.Text := caller.XMLResponse;
Memo.Lines.SaveToFile('XMLResponse.xml');
WebBrowser.Navigate('XMLResponse.xml');
</snip>

It is also useful for tracking servers bad responses (XML checker) using your 
own browser parsing capabilities and error checking features.

These new properties are commented in source code.
Feel free to add your comments.
Thank you for publishing CodePunk code.
Thanks CodePunk for his code.
Feel free to delete my modifications. They were mine. I am not sure people will 
like it :(

HTH,

Adrian Nicolaiev
http://www.niconnect.com



[Non-text portions of this message have been removed]


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 






Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>