hola,

I pulled the latest greatest build from CVS for xml-rpc and built the
example. Using the package org.apache.xmlrpc.WebServer for the server
and org.apache.xmlrpc.XmlRpcClient for the client, it worked fine. The
method call to 'hello.sayHello' was fine.

My problems started when I used a tcl base xml-rpc client to talk to the
java server. The response from the java server did not have a <value>
type. Here is an example of the response ( minus header info ):

    <?xml version="1.0" encoding="ISO-8859-1"?>
    <methodResponse>
        <params>
                <param>
                        <value>Hello mike</value>
                </param>
        </params>
    </methodResponse>

Note the lack of <value><string> .. </string></value>. When I manually
added a <string> to the return of 'hello.sayHello', the <> were
substituted for >&lt; and &gt;. Both of these cause the tcl client to
barf. Hrm.

So the question I have, am I using the correct server package or do I
need to fine tune the code to work with the tcl client? The
documentation is sparse, so I am not sure where to look

thanks,
Michael


-- 
Michael Guymon
Senior Developer
Igicom
[EMAIL PROTECTED]

When choosing between two evils, I always like to take the one I've
never tried
before. -- Mae West, "Klondike Annie"

Reply via email to