NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
WSDL Client and basic client


Joined: 11 Aug 2003
Posts: 11
Reply with quote
Hi!
I 've been able to run the soap server example. I've had to use this soap client:

Code:
<?php
require_once('nusoap.php');
$parameters = array('name'=>'Alvaro');
$soapclient = new soapclient('http://my-server/test.php');
echo $soapclient->call('hello',$parameters);
?>


I would like to know why this code works and the next code doesnt work.

Code:
<?php
require_once('nusoap.php');
$parameters = array('name'=>'Alvaro');
$soapclient = new soapclient('http://my-server/test.php?wsdl','wsdl');
echo $soapclient->call('hello',$parameters);
?>


I think that the problem is: " ["soapAction"]=> string(27) "http://inforalv/php/php.exe" " and " ["EndPoint"]=> string(27) "http://inforalv/php/php.exe" "
I have in my http.conf this values:

Code:

  ScriptAlias /php/ "c:/php/"
  Action application/x-httpd-php "/php/php.exe"


Ddmitrie: In wich way are the values in your httpd.conf file?
Alvaro
View user's profileFind all posts by inforalvSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
CGI mode of PHP is not supported by NuSoap. Please install php4apache.dll module.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 11 Aug 2003
Posts: 11
Reply with quote
Thanks a lot.
It was the problem.
Now I can create and public web service.
View user's profileFind all posts by inforalvSend private message
WSDL Client and basic client
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic