NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Newbie question with NuSoap Client - PhpEd 4.6.1 Prof


Joined: 20 Nov 2006
Posts: 1
Reply with quote
I hope someone can help - I apologize in advance if this is a silly/stupid question:

I'm trying to do some SOAP work and I'm running into a small problem.

If I uncomment the PHP_SOAP.DLL in the PHP.INI file, I can't run the NuSoap wizard. If I comment out the PHP_SOAP.DLL, I can run the wizard, but I get the following message:

Fatal error: Class 'soapclient' not found in J:\Program Files\nusphere\phped\Projects\soap2.php on line 4

Do I need to download something else?

Here is the php test file:

<?php
//Daily Dilbert
$wsdlURL = "http://www.esynaps.com/WebServices/DailyDiblert.asmx?WSDL";
$soap = new soapclient($wsdlURL);
$result = $soap->call("DailyDilbertImage");
if($error = $soap->getError()){ die($error);}
print_r($result);
?>

Do I need to add

require_once "nusoap.php"

to the top of the file?

Many, many thanks in advance.

Kevin
View user's profileFind all posts by kevinpraySend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
Quote:
Do I need to add

require_once "nusoap.php"

Yes, you do.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Newbie question with NuSoap Client - PhpEd 4.6.1 Prof
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