473,396 Members | 2,010 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

SOAP / PHP Problem

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

Sep 9 '07 #1
4 10752
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.
js*******@attglobal.net
==================
Sep 9 '07 #2
On Sep 9, 6:54 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
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

Sep 10 '07 #3
jatrojoomla wrote:
On Sep 9, 6:54 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
>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.
js*******@attglobal.net
==================
Sep 10 '07 #4
On Sep 10, 10:08 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
jatrojoomla wrote:
On Sep 9, 6:54 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
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

Sep 10 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: parrot toes | last post by:
Summary: I have been trying to make requests of a web service provided by Axis using a dotnet client with code generated by wsdl.exe and have been getting exceptions when trying to process the...
16
by: Dany | last post by:
Our web service was working fine until we installed .net Framework 1.1 service pack 1. Uninstalling SP1 is not an option because our largest customer says service packs marked as "critical" by...
2
by: yqlu | last post by:
I hava developed a client in C# that is connected to a 3-party XML Web Services developed in Java based on the AXIS 1.1. Most methods call are successful except for one method named "findObjects"...
0
by: ryan | last post by:
I've been tasked with consuming a Perl web service that was written by a person in a different department of my company. The problem is it's the guy's first attempt at web services and he doesn't...
0
by: helldiversafe-news | last post by:
Hi all, I will use a apache soap service with an .net c# client and have a problem with an complex array: <?xml version='1.0' encoding='UTF-8'?> <SOAP-ENV:Envelope...
7
by: beachdog | last post by:
I'm using Visual Studio 2005/C# to build a web client. The web server is something I've written in a different framework, which does not support generating wsdl, so I have hand-built a wsdl file,...
1
by: jogisarge | last post by:
Hi to all, i have a problem using a webservice(.NET). The webservice expects a body like this: <soap:Body> <GetItemInfo xmlns="http://server.de/o2Web/o2Con"> <InItemsRows> ...
2
by: forcey | last post by:
Hi all, I'm writing a SOAP server using the SOAP extension and I need to return an array_map_name_balance, which is defined in a WSDL file like this: <xsd:complexType name="map_name_balance">...
0
by: fragmonster | last post by:
Hi, I have a .NET Web Service. I must write a client in PHP5. I've got a problem with the formatting of my SoapHeader. In fact, the prefix of the namespace does not apply to the entire header...
0
by: vigneshrao | last post by:
Hi, I have been working on a script that loops through multiple records and sends data (one record per call) to a WS. I am supposed to make a new call for each record before sending the data....
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.