php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45745 periodic fatal failure of soapclient generation
Submitted: 2008-08-07 16:23 UTC Modified: 2009-02-13 23:23 UTC
From: akomasinski at gmail dot com Assigned:
Status: Not a bug Package: SOAP related
PHP Version: 5.2.6 OS: Windows Vista
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: akomasinski at gmail dot com
New email:
PHP Version: OS:

 

 [2008-08-07 16:23 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-08-07 21:34 UTC] akomasinski at gmail dot com
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.
 [2009-02-13 23:23 UTC] felipe@php.net
.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Dec 07 08:03:35 2021 UTC