help on consuming web services required...

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
rskandarpa
Forum Newbie
Posts: 2
Joined: Tue Jan 05, 2010 9:00 am

help on consuming web services required...

Post by rskandarpa »

i am trying to use a web service into my php file but am not able to get any response from the web service. can someone tell me how to consume this web service into my web page.
the wsdl schema location of the web service is:
http://www.webservicex.net/globalweather.asmx?WSDL
i am trying to call a function called GetWeather from this web service.
i am not able to understand the response also. please help me and thanks in advance for your response
User avatar
AbraCadaver
DevNet Master
Posts: 2572
Joined: Mon Feb 24, 2003 10:12 am
Location: The Republic of Texas
Contact:

Re: help on consuming web services required...

Post by AbraCadaver »

Check out: http://us2.php.net/manual/en/book.soap.php

Or, their schema shows that you can use HTTP GET as well.
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
Post Reply