On Thu, 2002-05-23 at 14:55, Michael Guymon wrote:
> 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
> 

IIRC, the spec says that you don't have to include <string>..</string>. 
If there is no type tag after value, it is assumed that it is a string.


josh

Reply via email to