#45745 [Opn]: periodic fatal failure of soapclient generation
[email protected] ("akomasinski at gmail dot com")
| Newsgroups | php.bugs |
|---|---|
| Message-ID | <[email protected]> |
ID: 45745
User updated by: akomasinski at gmail dot com
Reported By: akomasinski at gmail dot com
Status: Open
Bug Type: SOAP related
Operating System: Windows Vista
PHP Version: 5.2.6
New Comment:
see:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3720880&SiteID=1&mode=1
I believe I have resolved this bug. The MS-generated XML was not
careful about the cases on its namespaces. I am not sure if any action
is required from PHP.
Previous Comments:
------------------------------------------------------------------------
[2008-08-07 16:23:23] akomasinski at gmail dot com
Description:
------------
This may (or may not) be the same as bug 45282. I cannot tell from his
post whether or
I experience this error irregularly. I think I am missing something
from the error that is happening.
Reproduce code:
---------------
define('MSN_CONNECTION_URI','https://adcenterapi.microsoft.com/Api/Advertiser/V5.1/');
$opts = array('trace' => true, 'compression' =>
SOAP_COMPRESSION_ACCEPT | SOAP_COMPRESSION_GZIP);
$my_client = new SOAPClient(MSN_CONNECTION_URI .
"Reporting/ReportingService.svc?wsdl", $opts);
Expected result:
----------------
$my_client should be a valid SOAPClient (and it usually is).
Actual result:
--------------
SOAP-ERROR: Parsing Schema: element
'http://schemas.microsoft.com/2003/10/Serialization/:anyType' already
defined
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45745&edit=1