ghanoz / google-api-dfp-php

Automatically exported from code.google.com/p/google-api-dfp-php
Apache License 2.0
0 stars 0 forks source link

XML_STREAM_EXC Error #22

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I'm having problems with the latest version of the API (v201107) using the PHP 
client library v 2.7.0. with PHP version 5.2.6.

Trying to run any of the examples returns an error : XML_STREAM_EXC
The same example works fine with v201104 and client library v2.6.0.

Soap Logs below. Any idea what the problem is?

Thanks
Matt

[Aug 12 2011 14:17:34.000000 - ERROR] POST
/apis/ads/publisher/v201107/UserService HTTP/1.1
Host:www.google.com
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.2.6-1+lenny9, gzip
Accept-Encoding: gzip, deflate
Content-Encoding: gzip
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 730
<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="https://www.google.com/apis/ads/publisher/v201107"><SOAP-ENV:Header><
ns1:RequestHeader
xsi:type="ns1:SoapRequestHeader"
xmlns:ns1="https://www.google.com/apis/ads/publisher/v201107"><ns1:applicationNa
me>DfpApi-PHP-2.7.0-RegDFP
v1.1</ns1:applicationName><ns1:authentication xsi:type="ns1:ClientLogin"
xmlns:ns1="https://www.google.com/apis/ads/publisher/v201107">*****</ns1:authent
ication></ns1:RequestHeader></SOAP-ENV:Header><SOAP-ENV 
:Body><ns1:getUsersByStatement><ns1:filterStatement
xsi:type="ns1:Statement"
xmlns:ns1="https://www.google.com/apis/ads/publisher/v201107"><ns1:query>LIMIT 
500 OFFSET 
0</ns1:query></ns1:filterStatement></ns1:getUsersByStatement></SOAP-ENV:Bod 
y></SOAP-ENV:Envelope>
HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Content-Encoding: gzip
Date: Fri, 12 Aug 2011 13:17:33 GMT
Expires: Fri, 12 Aug 2011 13:17:33 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Content-Length: 151
Server: GSE
<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
     <soap:Fault>
       <faultcode>soap:Client</faultcode>
       <faultstring>XML_STREAM_EXC</faultstring>
     </soap:Fault>
   </soap:Body>
</soap:Envelope>

Original issue reported on code.google.com by matt.pr...@sitpub.com on 23 Aug 2011 at 8:04

GoogleCodeExporter commented 8 years ago
I think this may have been addressed in r92.  Can you try downloading the HEAD 
revision of the client library and see if the problem persists?

Original comment by ekoleda+devrel@googlers.com on 23 Aug 2011 at 5:12

GoogleCodeExporter commented 8 years ago
Hi,

Forgive my ignorance, is that this - 
http://code.google.com/p/google-api-dfp-php/downloads/detail?name=dfp_api_php_li
b_2.7.0.tar.gz&can=2&q= 
<http://code.google.com/p/google-api-dfp-php/downloads/detail?name=dfp_api_php_l
ib_2.7.0.tar.gz&can=2&q=>
Or is there a newer version?

Thanks
Matt

-- 
------------------------------------------------------------------------
MATT PROUD | AD OPS MANAGER
*Tel:* +44 (0) 20 3189 4636
*Mob:* +44 (0) 7799 627 187
*Fax:* +44 (0) 870 458 1768
The Register <http://www.theregister.co.uk> | RegHardware 
<http://www.reghardware.com> | Channel Register 
<http://www.channelregister.co.uk>
WHERE TECHNOLOGY LIVES
4.8 million unique readers love visiting The Register!
http://www.abc.org.uk/Certificates/17077158.pdf
Situation Publishing Ltd, The Communications Building, 3rd Floor, 48 
Leicester Square, WC2H 7LT, UK.
Company # 3403653. VAT # GB 700 7123 87.

Original comment by matt.pr...@sitpub.com on 23 Aug 2011 at 5:25

GoogleCodeExporter commented 8 years ago
That revision hasn't made it into a release yet, so you'll need to check out 
the source code from SVN, using the instructions here: 
http://code.google.com/p/google-api-dfp-php/source/checkout

Original comment by ekoleda+devrel@googlers.com on 23 Aug 2011 at 5:30

GoogleCodeExporter commented 8 years ago
Hi Eric,

That seems to have fixed the problem yes - thank you for your help.

Best Regards
Matt

Original comment by matt.pr...@sitpub.com on 5 Sep 2011 at 2:31

GoogleCodeExporter commented 8 years ago

Original comment by ekoleda+devrel@googlers.com on 6 Sep 2011 at 1:44