Notes on Reference Citations - Version 2.50, by Dr. Herong Yang
Help forming a SOAP client call with PHP
'SOAP Extension Function and Calling Web Services' tutorial was cited in a LinuxQuestions answer in 2009.
The SOAP Extension Function and Calling Web Services tutorial was cited in a LinuxQuestions answer in 2009.
Subject: Help forming a SOAP client call with PHP Date: 03-20-2009 Author: paulsm4 Source: http://www.linuxquestions.org/questions/programming-9 /help-forming-a-soap-client-call-with-php-712907/ >Admittedly I an quite new to the world of SOAP. I've got the basics >covered and am able to communicate with the Soap Server that my >client has provided. But I'm having some trouble forming data into >the required arrays so that the request shows up in proper format at >the server. >... 1. You're probably using the SOAP extension with PHP 5, and you're probably creating your client object something like this: http://www.herongyang.com/php/php_soap.html <?php # GetTemp.php # Copyright (c) 2005 by Dr. Herong Yang, http://www.herongyang.com/ # $client = new SoapClient ("http://www.xmethods.net/sd/2001/DemoTemperatureService.wsdl"); ... 2. If so, PHP will automagically read the .wsdl, and your client object can read the SOAP data with "get" methods like this: ...
Table of Contents