Click here to get back home

soapServer does not error checking

 HomeNewsGroups | Search | About
 comp.lang.php    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
soapServer does not error checking Skeleton Man 07-05-2008
Posted by Skeleton Man on July 5, 2008, 11:11 pm
Please log in for more thread options
Hi all,

I've been testing a basic SOAP server in PHP5 and noticed that even in WSDL
mode, the server doesn't care what you send it. I created WSDL with like 1
action and 3 different tags defined (input1, input2, input3), but it doesn't
care if I only send input2 or even if I send it 20 different tags that
aren't even in the WSDL! (as long as it's a valid SOAP request)

How can this be right ? if the input from the client doesn't match the WSDL,
shouldn't it throw an exception ? I remember having to submit data to an ASP
based SOAP server before and it was *very* strict about what it wanted - if
you so much as breathed the wrong way on the request, it was a fatal error
(I want the same behavior from PHP).

Chris



Similar ThreadsPosted
SoapServer::setPersistence September 6, 2006, 3:28 am
why does soapserver always returns a null object? October 16, 2006, 5:04 pm
error checking in php? January 18, 2007, 9:33 am
Error checking July 9, 2007, 9:11 am
even after proper error checking, I still get PHP warnings August 17, 2006, 3:48 pm
do professional PHP programmers use error checking in their code? September 2, 2006, 12:29 am
Error checking for unique value in database table? May 23, 2007, 1:18 am
PHP & cURL installation error (checking for curl_easy_perform in-lcurl) December 18, 2004, 2:00 pm
checking paramters in the url bar August 5, 2004, 4:00 am
Spell Checking. August 7, 2004, 5:35 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap