I get this error... is SOAP not installed or something??

<?php # GetTemp.php
# Copyright (c) 2005 by Dr. Herong Yang, http://www.herongyang.com/
#
   $client = new SoapClient
      ("http://www.xmethods.net/sd/2001/DemoTemperatureService.wsdl");
   echo("\nReturning value of getTemp() call: ".
      $client->getTemp("12345"));
?>

Fatal error: Class 'SoapClient' not found in /home/rlnz/public_html/webservice/z.php on line 5

    You don't say if you use winblows or linux, in winblows you have to add

    extension=php_soap.dll

    to your php.ini, then restart the server.

    In linux you need to configure with --enable-soap. as well.

    Then you can check your phpinfo() page to see if it's working.

      NZ_Kiwis wrote:

      I can not change my settings....

      Then you could be a bit stuck.

      Have you checked to see if SOAP is enabled by running a phpinfo()?

        ITS NOT.

        What else can I do? I want to have a webservice between a VB application and my web server...

          Write a Reply...