note 90600 deleted from ref.soap by danbrown

From: Date: Wed, 29 Apr 2009 22:03:31 +0000
Subject: note 90600 deleted from ref.soap by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-154028@lists.php.net to get a copy of this message
Note Submitter: it_hightech at live dot com Reason: non-english ---- 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...

« previous php.notes (#154028) next »