note 79457 added to ref.soap

From: Date: Wed, 28 Nov 2007 12:05:09 +0000
Subject: note 79457 added to ref.soap
Groups: php.notes 
Request: Send a blank email to php-notes+get-132622@lists.php.net to get a copy of this message
this might be helpful, as it took quite some time for me to find this out: if you're using some .wsdl and there's a sequence that can be there more than once (ie: maxOccurs > 1), you can specify an non-associative array for it if you have more than 1 items OR you could just specify the one item if there is only one: <?php 'items' => array( array( 'itemId' => 5, 'name' => 'some name', ), array( 'itemId' => 6, 'name' => 'some other name', ), ), ?> this also works: <?php 'items' => array( 'itemId' => 5, 'name' => 'some name', ), ?> ---- Server IP: 87.238.162.147 Probable Submitter: 195.207.166.82 ---- Manual Page -- http://www.php.net/manual/en/ref.soap.php Edit -- https://master.php.net/note/edit/79457 Del: integrated -- https://master.php.net/note/delete/79457/integrated Del: useless -- https://master.php.net/note/delete/79457/useless Del: bad code -- https://master.php.net/note/delete/79457/bad+code Del: spam -- https://master.php.net/note/delete/79457/spam Del: non-english -- https://master.php.net/note/delete/79457/non-english Del: in docs -- https://master.php.net/note/delete/79457/in+docs Del: other reasons-- https://master.php.net/note/delete/79457 Reject -- https://master.php.net/note/reject/79457 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#132622) next »