The [nu]soap_parser class parses the XML from a string into an
associative array that at least roughly mirrors the DOM structure. I
say "roughly" because it handles XML attributes "magically" by prefixing
a "!" to the attribute name to create a PHP associative array key. The
class also performs some magic with SOAP or XML schema arrays. Finally,
it strips the SOAP elements like Header and Body.
Scott Nichol
----- Original Message -----
From: "Erich C. Beyrent" <ebeyrent@xxxxxxxxxxxxxxx>
To: <nusoap-general@xxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, June 13, 2007 11:03 AM
Subject: [Nusoap-general] Parsing Response
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Is there a built-in mechanism in the NuSOAP client for converting the
> SOAP response to an array?
>
> - -Erich-
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFGcAddVgKb7vZvXm8RAg4UAKC1tkCbT+Asg+tcK2ytr6pWq6/VWwCfcsPM
> MMXFwS3duNykCrC+xX1mXlY=
> =lYsH
> -----END PGP SIGNATURE-----
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Nusoap-general mailing list
> Nusoap-general@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/nusoap-general
>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
|