Re: SOAP-ERROR: Encoding: Error calling from_xml callback

2011-11-30 Thread Eric Koleda
Hi Francesco,

I'm having trouble installing 5.2.0 on my system, so I'm not able to test 
this directly.  I think what's going on is that the from_xml callback 
(AdsSoapClient::TypemapLongFromXml) is running into an error when trying to 
parse the XML (in XmlUtils::GetDomFromXml).  Can you try catching the 
exception there and see what the underlying cause is?  Perhaps also take a 
look at the XML it's trying to parse.

Best,
- Eric

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: SOAP-ERROR: Encoding: Error calling from_xml callback

2011-11-30 Thread sax
Hi Eric,
mi version is a bit older: PHP Version 5.2.0-8+etch11

Below some details about the request:

request_info.log:
[Nov 30 2011 10:46:00.u - ERROR] email=adwo...@.xx
effectiveUser=402-xxx- service=AdGroupService method=get
operators={IN: 2} responseTime=441
requestId=0004b2f0b4696d900a1139112df3 operations=1 units=1
server=adwords.google.com isFault=true faultMessage=SOAP-ERROR:
Encoding: Error calling from_xml callback

soap_xml.log:
[Nov 30 2011 10:46:00.u - ERROR] POST /api/adwords/cm/v201109/
AdGroupService HTTP/1.1
Host: adwords.google.com
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.2.0-8+etch11, gzip
Accept-Encoding: gzip, deflate
Content-Encoding: gzip
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 810


http://schemas.xmlsoap.org/soap/
envelope/" xmlns:ns1="https://adwords.google.com/api/adwords/cm/
v201109">
  
http://www.w3.org/2001/XMLSchema-
instance" xsi:type="ns1:SoapHeader">
  *
  402-XXX-
  T8GIbqlW5X9_c36wDEeuKA
  AwApi-PHP-2.7.1-XXX S.r.l. XXX

  
  

  http://www.w3.org/2001/XMLSchema-
instance" xsi:type="ns1:Selector">
Id
Name

  CampaignId
  IN
  60403254


  Status
  IN
  ENABLED


  Name
  ASCENDING

  

  


HTTP/1.1 200 OK
Content-Type: text/xml; charset=UTF-8
Content-Encoding: gzip
Date: Wed, 30 Nov 2011 09:53:16 GMT
Expires: Wed, 30 Nov 2011 09:53:16 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Content-Length: 307
Server: GSE


http://schemas.xmlsoap.org/soap/envelope/";>
  
https://adwords.google.com/api/adwords/cm/
v201109">
  0004b2f0b4696d900a1139112df3
  AdGroupService
  get
  1
  441
  1

  
  
https://adwords.google.com/api/adwords/cm/
v201109">
  
0
AdGroupPage
  

  


Best,
Francesco



On 28 Nov, 16:25, Eric Koleda  wrote:
> Hi,
>
> I'm not able to emulate this with PHP 5.2.4.  Can you provide more details
> about the environment you are running this on?
>
> Best,
> - Eric

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: SOAP-ERROR: Encoding: Error calling from_xml callback

2011-11-28 Thread Eric Koleda
Hi,

I'm not able to emulate this with PHP 5.2.4.  Can you provide more details 
about the environment you are running this on?

Best,
- Eric

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: SOAP-ERROR: Encoding: Error calling from_xml callback

2011-11-25 Thread sax
I'm having the same problem.

Line: 202, file: aw_api_php_lib_2.7.1/src/Google/Api/Ads/Common/Lib/
AdsSoapClient.php
Exception: SOAP-ERROR: Encoding: Error calling callback from_xml
Backtrace:
#0 x/aw_api_php_lib_2.7.1/src/Google/Api/Ads/Common/Lib/
AdsSoapClient.php(202): SoapClient->__soapCall('get', Array, NULL,
Array, Array)
#1 x/aw_api_php_lib_2.7.1/src/Google/Api/Ads/AdWords/v201109/
AdGroupService.php(4489): AdsSoapClient->__soapCall('get', Array)
#2 x/bootstrap.php(71): AdGroupService->get(Object(Selector))

The server is debian with PHP5.2
The same script is working without problem on Win7 + PHP5.3


On Nov 22, 5:44 pm, Eric Koleda  wrote:
> Hi Mustafa,
>
> If you continue to receive this error please open a bug here:
>
> http://code.google.com/p/google-api-adwords-php/issues/list
>
> Best,
> - Eric Koleda, AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: SOAP-ERROR: Encoding: Error calling from_xml callback

2011-11-22 Thread Eric Koleda
Hi Mustafa,

If you continue to receive this error please open a bug here:

http://code.google.com/p/google-api-adwords-php/issues/list

Best,
- Eric Koleda, AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: SOAP-ERROR: Encoding: Error calling from_xml callback

2011-11-14 Thread Kevin Winter
Hi,
  Are you using the PHP client library? Do you receive a SOAP XML response 
or is this breaking in the request phase?  Any additional information you 
can provide about exactly what is happening when this error occurs will 
help us troubleshoot.

- Kevin Winter
AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en