SOAP / PHP Problem
am 09.09.2007 10:17:03 von jatrojoomla
I am trying to work with SOAP [Simple Object Access Protocol] with
php.
Even I also add line like
$client = new SoapClient('./productSearchService.wsdl',
array('trace'=> true));
I found error every time like:
Fatal error: Class 'SoapClient' not found in /home/www/ad/cj_publisher/
1/web_integrated_product_search.php on line 56
----------------
I think SOAP may not configure with PHP or their is some other
problem.
Any one plz help me that
how to understand SOAP is configured with php or not phpinfo page.
How to solve the problem????
Thanks
Re: SOAP / PHP Problem
am 09.09.2007 15:54:56 von Jerry Stuckle
jatrojoomla wrote:
> I am trying to work with SOAP [Simple Object Access Protocol] with
> php.
>
>
> Even I also add line like
> $client = new SoapClient('./productSearchService.wsdl',
> array('trace'=> true));
>
> I found error every time like:
> Fatal error: Class 'SoapClient' not found in /home/www/ad/cj_publisher/
> 1/web_integrated_product_search.php on line 56
>
>
>
>
> ----------------
>
> I think SOAP may not configure with PHP or their is some other
> problem.
> Any one plz help me that
> how to understand SOAP is configured with php or not phpinfo page.
>
> How to solve the problem????
> Thanks
>
What version of PHP are you running?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Re: SOAP / PHP Problem
am 10.09.2007 06:12:30 von jatrojoomla
On Sep 9, 6:54 pm, Jerry Stuckle wrote:
> jatrojoomla wrote:
> > I am trying to work with SOAP [Simple Object Access Protocol] with
> > php.
>
> > Even I also add line like
> > $client = new SoapClient('./productSearchService.wsdl',
> > array('trace'=> true));
>
> > I found error every time like:
> > Fatal error: Class 'SoapClient' not found in /home/www/ad/cj_publisher/
> > 1/web_integrated_product_search.php on line 56
>
> > ----------------
>
> > I think SOAP may not configure with PHP or their is some other
> > problem.
> > Any one plz help me that
> > how to understand SOAP is configured with php or not phpinfo page.
>
> > How to solve the problem????
> > Thanks
>
> What version of PHP are you running?
>
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> ==================
PHP 5
Re: SOAP / PHP Problem
am 10.09.2007 14:08:01 von Jerry Stuckle
jatrojoomla wrote:
> On Sep 9, 6:54 pm, Jerry Stuckle wrote:
>> jatrojoomla wrote:
>>> I am trying to work with SOAP [Simple Object Access Protocol] with
>>> php.
>>> Even I also add line like
>>> $client = new SoapClient('./productSearchService.wsdl',
>>> array('trace'=> true));
>>> I found error every time like:
>>> Fatal error: Class 'SoapClient' not found in /home/www/ad/cj_publisher/
>>> 1/web_integrated_product_search.php on line 56
>>> ----------------
>>> I think SOAP may not configure with PHP or their is some other
>>> problem.
>>> Any one plz help me that
>>> how to understand SOAP is configured with php or not phpinfo page.
>>> How to solve the problem????
>>> Thanks
>> What version of PHP are you running?
>>
>> --
>> ==================
>> Remove the "x" from my email address
>> Jerry Stuckle
>> JDS Computer Training Corp.
>> jstuck...@attglobal.net
>> ==================
>
>
> PHP 5
>
OK, then PHP must have been configured with --enable-soap. You can
prove that with phpinfo().
You'll have to rebuild PHP with --enable-soap to get it to work. You'll
also need a fairly recent version of the GNOME XML library (libxml 2.5.4
or later).
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Re: SOAP / PHP Problem
am 11.09.2007 00:15:20 von william.clarke
On Sep 10, 10:08 pm, Jerry Stuckle wrote:
> jatrojoomla wrote:
> > On Sep 9, 6:54 pm, Jerry Stuckle wrote:
> >> jatrojoomla wrote:
> >>> I am trying to work with SOAP [Simple Object Access Protocol] with
> >>> php.
> >>> Even I also add line like
> >>> $client = new SoapClient('./productSearchService.wsdl',
> >>> array('trace'=> true));
> >>> I found error every time like:
> >>> Fatal error: Class 'SoapClient' not found in /home/www/ad/cj_publisher/
> >>> 1/web_integrated_product_search.php on line 56
> >>> ----------------
> >>> I think SOAP may not configure with PHP or their is some other
> >>> problem.
> >>> Any one plz help me that
> >>> how to understand SOAP is configured with php or not phpinfo page.
> >>> How to solve the problem????
> >>> Thanks
> >> What version of PHP are you running?
>
> >> --
> >> ==================
> >> Remove the "x" from my email address
> >> Jerry Stuckle
> >> JDS Computer Training Corp.
> >> jstuck...@attglobal.net
> >> ==================
>
> > PHP 5
>
> OK, then PHP must have been configured with --enable-soap. You can
> prove that with phpinfo().
>
> You'll have to rebuild PHP with --enable-soap to get it to work. You'll
> also need a fairly recent version of the GNOME XML library (libxml 2.5.4
> or later).
>
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> ==================
Or if you are in Windows land just add or uncomment this line in the
PHP.ini file
extension=php_soap.dll