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

Reply via email to