note 90600 added to ref.soap

From: Date: Wed, 29 Apr 2009 21:23:34 +0000
Subject: note 90600 added to ref.soap
Groups: php.notes 
Request: Send a blank email to php-notes+get-154026@lists.php.net to get a copy of this message
Gracias a estas notas, he podido continuar progrsando en mi trabajo, y en mi conocimientos de PHP, en especial a este ejemplo: sam dot lowry at ministryofinformation dot com 10-Jan-2008 11:52 From the "I'll just do it manually" school of frustration. If you've been having trouble getting complex types to work with no, or an entirely non-descript wsdl (my particular complaint... every method just has one child, a complex type element sequence of any... unnngh). Anyway I found the following works to fully replace the contents of the soap body with a pre-built xml string. I haven't tested what this does for calls expecting multiple parameters, since that usually means I can call it with an actual paremeters argument, but I imagine it would still work the same way. ---------------------------------- $Result=$Client->SomeCall(new SoapVar('<Element attr="AttrValue">ElValue</Element>', XSD_ANYXML)); Con esta informacion puede armar un sobre soap, con un nodo xml en donde va "ElValue", arme un string con la respuesta y listo. En realidad no es lo mas ideal pero funciona... ---- Server IP: 80.64.47.13 Probable Submitter: 72.19.9.106 ---- Manual Page -- http://www.php.net/manual/en/ref.soap.php Edit -- https://master.php.net/note/edit/90600 Del: integrated -- https://master.php.net/note/delete/90600/integrated Del: useless -- https://master.php.net/note/delete/90600/useless Del: bad code -- https://master.php.net/note/delete/90600/bad+code Del: spam -- https://master.php.net/note/delete/90600/spam Del: non-english -- https://master.php.net/note/delete/90600/non-english Del: in docs -- https://master.php.net/note/delete/90600/in+docs Del: other reasons-- https://master.php.net/note/delete/90600 Reject -- https://master.php.net/note/reject/90600 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#154026) next »