Reply to nusoap problem

Your name:

Reply:


Posted by Ike on 10/31/42 11:17

If anyone is familiar with NuSoap - I am trying to make a simple client
which GETS a value PhoneNumber and attempts to make the soapclient call.
However, NuSoap keeps telling me I am not sending it parameters when in fact
I am echoing out my $msg array before the call, showing me that I am, in
fact, sending it the parameter necessary. Please help if you can -Ike

$key='PhoneNumber';
$msg=array();
$msg[$key] = $_GET[$key];

$soapclient = new soapclient((String)$endpt_, true);
echo ($msg['PhoneNumber']."<br>"); //this prints out the valur that was
GETted to this page
if (!$soapclient->fault) {
$result = $soapclient->call((String)$func_, $msg);
if ($soapclient->fault) {
printf("Desc = %s\n", $result["Error"]["Desc"]);
?><br /><?php
printf("Number = %s\n", $result["Error"]["Number"]); }
...here is where I end up with output:
Desc=Input can not be less than zero length|Number=1|

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация