Re: request help with first XML-RPC implementation in ASP environment
[email protected] 3 Sep 2010 01:37:19 +0000
| Newsgroups | gmane.text.xml.rpc.specification |
|---|---|
| Message-ID | <[email protected]> |
>I have my XML, the destination URL and port, just need to know how to send the
>data via XML-RPC.
You mean send it _as part of_ XML-RPC, don't you? Sending it via XML-RPC
would mean putting the XML into an XML-RPC call document e.g. as a string
parameter.
But most people don't construct their own XML-RPC XML documents. They use an
XML-RPC library to do it for them. I've found that constructing an XML-RPC
call document is pretty trivial without a library, but parsing the response
(another XML document) is much more difficult. That's because the server has
a lot of latitude in how it might format that document.
And also, there are some tedious details even with the nicest HTTP library in
sending the call document and receiving the response document via HTTP (which
is what the XML-RPC protocol requires). It's nice to let an existing XML-RPC
library handle those for you at the same time as it is XML-izing your call and
de-XMLizing your response.
>I have sent and received XML in the past by using an XML/HTTP utility called
>KHTTP:
>
>http://www.rainfall.com/coding/khttp.htm
>
>(towards the bottom of that page is info regarding using it with XML)
>
>I'm not sure if that component is using a transport that is compatible with
>XML-RPC, I suspect not because it doesn't specifically mention it.
It looks to me like KHTTP lets you do general HTTP communication, so it should
be usable for XML-RPC. It's hard to tell what the "XML" example on that page
has to do with XML, since HTTP transports XML the same way it transports
anything else. Maybe the feature referred to there is just something that
sets the HTTP content-type header so say XML.
You should probably say what environment you're programming in (language, OS)
if you want specific suggestions.
--
Bryan Henderson San Jose, California
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/xml-rpc/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/xml-rpc/join
(Yahoo! ID required)
<*> To change settings via email:
[email protected]
[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/