[R] SSOAP XML-RPC

2010-01-27 Thread Jan Bot

Hi,

I'm trying to use the XML-RPC client in the SSOAP package to connect to a
service that I have created. From other languages (Perl, Python, Ruby) this
is not a problem but the SSOAP client gives the following error:

Error in .XMLRPC(http://localhost:9000;, Cytoscape.test, .opts =
list(verbose = TRUE)) :
  Failed to parse XML-RPC request: Content is not allowed in prolog.

It looks like the SSOAP XML-RPC client is not creating the right type of
XML-RPC message. Does anyone know how to fix this or has successfully used
the SSOAP XML-RPC client?

Thanks,

Jan
-- 
View this message in context: 
http://n4.nabble.com/SSOAP-XML-RPC-tp1311562p1311562.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] SSOAP XML-RPC

2010-01-27 Thread Duncan Temple Lang

Hi Jan

  Is
 .XMLRPC(http://localhost:9000;, Cytoscape.test, .opts = list(verbose = 
TRUE))

  the command you used? If not, what did you use?
  Can you debug the .XMLRPC function (e.g. with options(error = recover))
  and see what the XML that was sent to the server, i.e. the cmd variable
  in the .XMLRPC() function.

  Can you find out what the Perl, Python or Ruby modules send?

  It is easy to fix if we know what should be sent, but we do need more details.

   D.

Jan Bot wrote:
 Hi,
 
 I'm trying to use the XML-RPC client in the SSOAP package to connect to a
 service that I have created. From other languages (Perl, Python, Ruby) this
 is not a problem but the SSOAP client gives the following error:
 
 Error in .XMLRPC(http://localhost:9000;, Cytoscape.test, .opts =
 list(verbose = TRUE)) :
   Failed to parse XML-RPC request: Content is not allowed in prolog.
 
 It looks like the SSOAP XML-RPC client is not creating the right type of
 XML-RPC message. Does anyone know how to fix this or has successfully used
 the SSOAP XML-RPC client?
 
 Thanks,
 
 Jan

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.