[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



Jeff

On Thu, 2005-02-10 at 19:00 -0600, Denny Chambers wrote:
> The client and server both send XML data to each other. The client does 
> a POST request. The content should be set to "text/xml". But you really 
> don't need to know all of this info, the XML-RPC takes care of the 
> transport of information. What you do need is a XML-RPC client that can 
> handle Cookies, and 401 authenications request. I am not sure what 
> language you are coding this in, but the XML-RPC java code from jakarta 
> has a SecureXmlRpcClient that I believe will handle all of your needs. 
&gt; You can check out <a  rel="nofollow" href="http://ws.apache.org/xmlrpc/";>http://ws.apache.org/xmlrpc/</a>. Look at the javadocs for 
&gt; this. I have done a little XML-RPC using the XML-RPC-c 
&gt; (<a  rel="nofollow" href="http://xmlrpc-c.sourceforge.net/";>http://xmlrpc-c.sourceforge.net/</a>), but I am not sure they support 
&gt; Cookies or authenications. I don't remember seeing any examples of those.
&gt; 
&gt; 
&gt; Denny
&gt; 
&gt; Christopher Fowler wrote:
&gt; 
&gt; &gt;I'm starting a project to implement XML-RPC on our embedded device. 
&gt; &gt;I've looked at the XML-RPC HOWTO and it seem to have left out some
&gt; &gt;details.  I need to know how the actual XML-RPC communications is done
&gt; &gt;between the client and the server over HTTP.
&gt; &gt;
&gt; &gt;Questions:
&gt; &gt;
&gt; &gt;1.  Does the client post a form where data in that form is the actual
&gt; &gt;XML-RPC code?  
&gt; &gt;
&gt; &gt;2.  What does the server send back?  Pure XML or HTML.  
&gt; &gt;
&gt; &gt;I've looked at the various API's and they do not seem to address
&gt; &gt;authentication.  Our device requires a user to loing via a form at
&gt; &gt;<a  rel="nofollow" href="http://ip/login";>http://ip/login</a>.  After the client receives a cookie they can then easiy
&gt; &gt;get to <a  rel="nofollow" href="http://ip/xml-rpc";>http://ip/xml-rpc</a> and the start sending and receiving data.  
&gt; &gt;
&gt; &gt;
&gt; &gt;Thanks,
&gt; &gt;Chris
&gt; &gt;
&gt; &gt;_______________________________________________
&gt; &gt;Ale mailing list
&gt; &gt;Ale at ale.org
&gt; &gt;<a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt; &gt;
&gt; &gt;
&gt; &gt;  
&gt; &gt;
&gt; _______________________________________________
&gt; Ale mailing list
&gt; Ale at ale.org
&gt; <a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00381" href="msg00381.html">[ale] Implementing XML-RPC</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Christopher Fowler)</li></ul></li>
<li><strong><a name="00382" href="msg00382.html">[ale] Implementing XML-RPC</a></strong>
<ul><li><em>From:</em> dchambers at bugfixer.net (Denny Chambers)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00384.html">[ale] gmail invites - rediculous</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00386.html">[ale] Implementing XML-RPC</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00382.html">[ale] Implementing XML-RPC</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00383.html">[ale] Implementing XML-RPC</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00385"><strong>Date</strong></a></li>
<li><a href="threads.html#00385"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>