PHP SOAP CLIENT

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

sagarhunk
New php-forum User
New php-forum User
Posts: 2
Joined: Sun Apr 14, 2013 10:05 pm

PHP SOAP CLIENT

Postby sagarhunk » Sun Apr 14, 2013 10:11 pm

hi I am new to soap client, i know php very well. i have an problem that when i hit the server url using SOAP UI i get the result in xml format as required but using soap client i get null object? :help:

swarups
New php-forum User
New php-forum User
Posts: 20
Joined: Tue Mar 06, 2012 11:05 pm

Re: PHP SOAP CLIENT

Postby swarups » Mon Apr 15, 2013 1:06 am

Hi sagarhunk,

It seems SOAP is not enabled in the Server.

Please go through following points to enable soap client in the server.

1.Locate php.ini in your apache bin folder, I.e C:\Program Files (x86)\FileMaker\FileMaker Server\Web Publishing\publishing-engine\php\php.ini
2. Remove the ; from the beginning of extension=php_soap.dll
3. Restart your Apache server.


Then you can run phpinfo() to check whether SOAP is enabled or not

Thanks
Swarup

sagarhunk
New php-forum User
New php-forum User
Posts: 2
Joined: Sun Apr 14, 2013 10:05 pm

Re: PHP SOAP CLIENT

Postby sagarhunk » Mon Apr 15, 2013 3:08 am

Thanks Swarup but it is enabled
http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL
the above URL is working fine both in SOAP UI and php SOAP Client

But the URL created by one of our client is working on SOAP UI but not in SOAP php.
Also want to ask does SOAP php requires .asmx file.
for example:-
'http://example.com:8080/travel/travelreport?wsdl'
such url do work in SOAP php, please clear my doubt and provide me needfull help :help:

johnj
php-forum Super User
php-forum Super User
Posts: 1805
Joined: Thu Mar 10, 2011 5:07 pm

Re: PHP SOAP CLIENT

Postby johnj » Mon Apr 15, 2013 5:56 am



Return to “PHP coding => General”

Who is online

Users browsing this forum: Google [Bot] and 2 guests