Reply to Re: SOAP on php v5.2.4

Your name:

Reply:


Posted by petersprc on 11/24/07 09:39

Hi,

You can use the SOAP extension described at php.net/soap.

To enable it, you can configure PHP with --enable-soap=shared and add
extension=soap.so to your php.ini. When activated, you'll see it in
your phpinfo output.

Here's a typical example with debugging:

$sc = new SoapClient('http://example.net/ws.wsdl', array('trace' =>
true));
$params = array('x' => 1, 'y' => 2);
$res = $sc->SomeMethod($params);
echo "SOAP trace: Request:\n\n" . $sc->__getLastRequest() .
"\nResponse:\n\n" . $sc->__getLastResponse() . "\n";

Regards,

John Peters

On Nov 21, 11:10 am, tommy...@gmail.com wrote:
> I want to use SOAP on php v5.2.4. In previous version of php, I use
> nusoap to develop SOAP but it seems not workable in v5.2 or later.
>
> What is the formal method for doing SOAP in php? or, any good
> framework to do it? Please advise. Thx.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация