Webservice with PHP4 (and nusoap) as Client doesnâ?t work

Hello,

iâ??v created a webservice (server) in Rails 1.1.4 (direct dispatching),
which writes some Data into an MS SQL Server Database. With an Rails WS
Client this is no Problem: The Data arrives in the Database. The WS
Server seems to be ok.

With an PHP client, using nusoap, and this code:

include “nusoap.php”;

$client = new soapclient(“http://localhost:3000/Callback/api”);

$calltime = strftime(“%m-%d-%Y %H:%M:%S”);

$params = array(
“tel” => “8888”,
“calltime” => $calltime,
“salution” => “hello”,
“firstname” => “John”,
“lastname” => “Doe”,
“remark” => “hello”
);

$result = $client->call(“insertData tel, calltime, salutation,
firstname, lastname, remark”);

I always see an error in my mongrel_logfile

REXML::ParseException (malformed XML: missing tag start
Line:
Position:
Last 80 unconsumed characters:
<ns1:insertData tel, calltime, salutation, firstname, lastname, remark
xm):
C:/backup/ruby/lib/ruby/1.8/rexml/parsers/baseparser.rb:338:in
pull' C:/backup/ruby/lib/ruby/1.8/rexml/parsers/streamparser.rb:16:in parse’

Etc etc

What am I doing wrong?

Thank You

Thorsten