note 89707 added to book.soap

From: Date: Thu, 19 Mar 2009 23:23:09 +0000
Subject: note 89707 added to book.soap
Groups: php.notes 
Request: Send a blank email to php-notes+get-152173@lists.php.net to get a copy of this message
To further what Jeff and Ryan were saying, when attempting to consume Web Services exposed by .NET there tends to be an issue where calling $client->WebMethod($var1, $var2, ..., $varx) will fail. On the remote end the logs will show that some (if not all) of the arguments provided are not populated with any values. To solve this use Jeff's recommendation of named parameters. e.g: $client->WebMethod( array( 'var1' => $var1, 'var2' => $var2, ... 'varx' => $varx)); ---- Server IP: 209.41.74.194 Probable Submitter: 64.202.161.177 ---- Manual Page -- http://www.php.net/manual/en/book.soap.php Edit -- https://master.php.net/note/edit/89707 Del: integrated -- https://master.php.net/note/delete/89707/integrated Del: useless -- https://master.php.net/note/delete/89707/useless Del: bad code -- https://master.php.net/note/delete/89707/bad+code Del: spam -- https://master.php.net/note/delete/89707/spam Del: non-english -- https://master.php.net/note/delete/89707/non-english Del: in docs -- https://master.php.net/note/delete/89707/in+docs Del: other reasons-- https://master.php.net/note/delete/89707 Reject -- https://master.php.net/note/reject/89707 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#152173) next »