SOAP: Is correct to override XML standards?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am working with some WSDL call for a provider.

The strange thing is that the SOAP used (for me, as client) should include an 'xml' element, and it is supported by the Php constructor, even that is not correct under XML syntaxis.

Why? Is somekind of not validation?

This works:

<?php
$client = new SoapClient($url_wsdl);
$params = array( "xml" => $xml_content, "login" => $login );
$response = $client->__soapCall("wsdl_method", array($params));
?>

But W3 standards:

All SOAP messages are encoded using XML (see [W3C Recommendation "The XML Specification"] for more information on XML). Source: http://www.w3.org/TR/2000/NOTE-SOAP-20000508/#_Toc478383492 (Relation with SOAP)

Names beginning with the string "xml", or with any string which would match (('X'|'x') ('M'|'m') ('L'|'l')), are reserved for standardization in this or future versions of this specification. Source: http://www.w3.org/TR/REC-xml/#sec-common-syn (Common Syntactic Constructs)



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux