|
Re: Validating against schema?: msg#00030php.nusoap.general
I am doing exactly this, but it is a bit of a bodge at the moment. The returned value from the SOAP call should be a XML document. I convert it to a string then return the string, then convert the string back into XML then parse the string. The functions in NuSoap suggested there was an XML parser in there (not a schema parser) when I checked the code the functions did not exist I have written a the missing code and now can parse the XML using just NuSoap. I can let you have the code if you want to included it. Mark ----- Original Message ----- From: "Chris Boget" <chris@xxxxxxxx> To: <nusoap-general@xxxxxxxxxxxxxxxxxxxxx> Sent: Thursday, April 08, 2004 8:14 PM Subject: Re: [Nusoap-general] Validating against schema? > > Are you talking about validation within your PHP code? > > Yes, I am. I want to take an XML structure I receive via a web > service and validate it against a schema to ensure that the data was > valid. > > > When I searched php.net for "xml schema", I got no matches. > > Nor did I. I just hoped that someone here would have already done > something along those lines. > > thnx, > Chris > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Nusoap-general mailing list > Nusoap-general@xxxxxxxxxxxxxxxxxxxxx > https://lists.sourceforge.net/lists/listinfo/nusoap-general ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: NuSOAP client accepting XML: 00030, Scott Nichol |
|---|---|
| Next by Date: | Re: Validating against schema?: 00030, Scott Nichol |
| Previous by Thread: | Re: Validating against schema?i: 00030, Chris Boget |
| Next by Thread: | Re: Validating against schema?: 00030, Scott Nichol |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |