nope... still get the error even if I assign the parameters to variables
(Strings).
the funny thing is that my xml looks perfected (i put some debug
System.outs in the xmlrpc code):


<?xml version="1.0" encoding="ISO-8859-1"?>
<methodCall>
<methodName>action_publish</methodName>
<params>
<param><value>param1</value></param>
<param><value>1</value></param>
<param><value>1</value></param>
<param><value>30000067</value></param>
<param><value>x</value></param>
<param><value>x</value></param>
</params>
</methodCall>


hmm....

/gilad




                                                                                       
                
                    "Phil Wilson"                                                      
                
                    <pipthepixie@ho        Para:   [EMAIL PROTECTED]             
                
                    tmail.com>             cc:                                         
                
                                           Asunto:      Re: error parsing XML          
                
                    08/04/2002                                                         
                
                    18:55                                                              
                
                    Por favor,                                                         
                
                    responda a                                                         
                
                    rpc-user                                                           
                
                                                                                       
                
                                                                                       
                




>XmlRpcClient client = new XmlRpcClient(server_url);
>Vector params = new Vector();
>params.add("params1");
>params.add("params2");

I've had similar problems, try either assigning the paramaters to variables

and then adding those (i.e. String p1 = "params1"; params.add(p1); ) or

params.add(new String("params1"));

>Any help appreciated.

I'm not sure it's right, but it might help. :)

Phil

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx





Reply via email to