Re: the problem do using XMP-RPC between C# and TCL
John Wilson <[email protected]>
| Newsgroups | gmane.text.xml.rpc.specification |
|---|---|
| Message-ID | <[email protected]> |
On 24 Jul 2006, at 10:23, zhu_bixian wrote:
> Hello
> This is my first time to use XML-RPC. The problem I met is when I
> made XML-RPC between TCL and C#, it failed. If the server is written
> in TCL and the client is written in C# the client threw an exception
> of "The underlying connection was closed: The server committed an
> HTTP protocol violation". After I listened to the port I found the
> server run the code and the XML-RPC response was sent to the right
> port but the client threw an exception. On other hand, if the server
> was implemented with C# , the client was implemented with TCL the
> XML-RPC request was sent to the port, but the server didn't make
> response.
> The strange thing is that it seems no problem when the call is made
> between C# and java, as well as it is between TCL and java. It makes
> me puzzled:(
> The TCL implementation is XML-RPC for Tcl written by Eric Yeh ,the
> java implementation is Apache XML-RPC, and the C# implementation is
> XML-RPC.net 0.9.2 written by Cook Computing.
> The system run TCL is Komodo 3.1+windows 2000
> The system run C# is Microsoft visual studio.net 2003+windows 2003
> server
> The system run java is Windows 2003+ JDK1.4.2_6 + Eclipse3.0.1
> During the call I used the StateNameServer provided in XML-RPC.net
> 0.9.2 samples as the C# server, or I used the server example provided
> in TCL implementation.
>
> Your suggestion please
> Best wishes
I'd ask the authors of the TCL and C# implementations about this if I
were you.
A pure guess is that the TCL server is setting the content-length
header incorrectly.
John Wilson
The Wilson Partnership
web http://www.wilson.co.uk
blog http://eek.ook.org
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/xml-rpc/
<*> 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/