Hi,

The error indicates that the WSDL couldn't be loaded.  You said before
that wget is failing, is that still true?  Also, make sure you have
the OpenSSL extension installed in PHP.

Best,
- Eric

On Jun 26, 1:30 pm, zac439 <ad...@learn-networking.com> wrote:
> Eric-
>
> It isn't a firewall/proxy issue after all. My host got back to me and
> said he verified it worked via shell.
>
> What now? I'm still getting the error. It says that the error is on a
> line within this function of AdSoapClient.php --
>
>   protected function __construct($wsdl, array $options, AdsUser $user,
>       $serviceName, $serviceNamespace) {
>     $this->user = $user;
>     $this->serviceName = $serviceName;
>     $this->serviceNamespace = $serviceNamespace;
>     parent::__construct($wsdl, $options);
>   }
>
> On Jun 24, 10:51 am, AdWords API Advisor
>
>
>
> <adwordsapiadvi...@google.com> wrote:
> > Hi,
>
> > Please check the firewall settings in your environment and ensure that
> > you can access the AdWords API servers.  It looks like your current
> > configuration prevents communication and WSDL downloads.
>
> > Best,
> > - Eric
>
> > On Jun 24, 2:20 am, zac439 <ad...@learn-networking.com> wrote:
>
> > > OK, this is interesting. I looked back at my wget you had me post and
> > > it actually succeeded?
>
> > > that's odd, because when I use the following, it fails:
> > > wget -O test.xml 'https://adwords.google.com/api/adwords/o/v201003/
> > > TargetingIdeaService?wsdl'
>
> > > would that mean that my wget/curl is at fault? I'm running centOS if
> > > that helps.
> > > All packages are up to date to my knowledge. I ran yum update.
>
> > > Wouldn't be a firewall issue, would it?
>
> > > On Jun 24, 12:06 am, zac439 <ad...@learn-networking.com> wrote:
>
> > > > It might help if I list some technologies I'm running, since I'm still
> > > > getting this error.
>
> > > > PHP version:
> > > > 5.3.2
>
> > > > Configure Command:
> > > > './configure' '--disable-fileinfo' '--disable-pdo' '--enable-bcmath'
> > > > '--enable-calendar' '--enable-ftp' '--enable-gd-native-ttf' '--enable-
> > > > libxml' '--enable-mbstring' '--enable-soap' '--enable-sockets' '--
> > > > enable-zip' '--prefix=/usr' '--with-bz2' '--with-config-file-path=/usr/
> > > > local/lib' '--with-config-file-scan-dir=/usr/local/lib/php.ini.d' '--
> > > > with-curl=/opt/curlssl/' '--with-curlwrappers' '--with-freetype-dir=/
> > > > usr' '--with-gd' '--with-gettext' '--with-imap=/opt/
> > > > php_with_imap_client/' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr'
> > > > '--with-kerberos' '--with-libxml-dir=/opt/xml2' '--with-libxml-dir=/
> > > > opt/xml2/' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/
> > > > mysql.sock' '--with-openssl=/usr' '--with-openssl-dir=/usr' '--with-
> > > > pcre-regex=/opt/pcre' '--with-png-dir=/usr' '--with-pspell' '--with-
> > > > xpm-dir=/usr/X11R6' '--with-zlib' '--with-zlib-dir=/usr'
>
> > > > Curl/SSL version:
> > > > Curl 7.20.1  -  OpenSSL 0.9.7a Feb 19 2003
>
> > > > On Jun 22, 10:59 pm, zac439 <ad...@learn-networking.com> wrote:
>
> > > > > Thanks for the reply Anash.
> > > > > I'm using a shell so I'm using wget to check, if that's ok?
>
> > > > > Here is the result:
>
> > > > > wget 
> > > > > -drchttps://adwords.google.com/api/adwords/o/v201003/TargetingIdeaService...
> > > > > Setting --recursive (recursive) to 1
> > > > > Setting --continue (continue) to 1
> > > > > DEBUG output created by Wget 1.10.2 (Red Hat modified) on linux-gnu.
>
> > > > > Enqueuinghttps://adwords.google.com/api/adwords/o/v201003/TargetingIdeaService...
> > > > > at depth 0
> > > > > Queue count 1, maxcount 1.
> > > > > Dequeuinghttps://adwords.google.com/api/adwords/o/v201003/TargetingIdeaService...
> > > > > at depth 0
> > > > > Queue count 0, maxcount 1.
> > > > > --22:55:42--  
> > > > > https://adwords.google.com/api/adwords/o/v201003/TargetingIdeaService...
> > > > >            => `adwords.google.com/api/adwords/o/v201003/
> > > > > TargetingIdeaService?wsdl'
> > > > > Resolving adwords.google.com... 74.125.19.112
> > > > > Caching adwords.google.com => 74.125.19.112
> > > > > Connecting to adwords.google.com|74.125.19.112|:443... connected.
> > > > > Created socket 3.
> > > > > Releasing 0x084eef78 (new refcount 1).
> > > > > Initiating SSL handshake.
> > > > > Handshake successful; connected socket 3 to SSL handle 0x08504fb8
> > > > > certificate:
> > > > >   subject: /C=US/ST=California/L=Mountain View/O=Google Inc/
> > > > > CN=adwords.google.com
> > > > >   issuer:  /C=US/O=Google Inc/CN=Google Internet Authority
> > > > > X509 certificate successfully verified and matches host
> > > > > adwords.google.com
>
> > > > > ---request begin---
> > > > > GET /api/adwords/o/v201003/TargetingIdeaService?wsdl HTTP/1.0
> > > > > User-Agent: Wget/1.10.2 (Red Hat modified)
> > > > > Accept: */*
> > > > > Host: adwords.google.com
> > > > > Connection: Keep-Alive
>
> > > > > ---request end---
> > > > > HTTP request sent, awaiting response...
> > > > > ---response begin---
> > > > > HTTP/1.0 200 OK
> > > > > Content-Type: text/xml
> > > > > Date: Wed, 23 Jun 2010 03:55:43 GMT
> > > > > Expires: Wed, 23 Jun 2010 03:55:43 GMT
> > > > > Cache-Control: private, max-age=0
> > > > > X-Content-Type-Options: nosniff
> > > > > X-Frame-Options: SAMEORIGIN
> > > > > X-XSS-Protection: 1; mode=block
> > > > > Server: GSE
>
> > > > > ---response end---
> > > > > 200 OK
> > > > > Length: unspecified [text/xml]
>
> > > > > [ <=>                                                                 
> > > > >                                            ]
> > > > > 242,599       --.--K/s
>
> > > > > Closed 3/SSL 0x8504fb8
> > > > > 22:55:42 (2.99 MB/s) - `adwords.google.com/api/adwords/o/v201003/
> > > > > TargetingIdeaService?wsdl' saved [242599]
>
> > > > > FINISHED --22:55:42--
> > > > > Downloaded: 242,599 bytes in 1 files- Hide quoted text -
>
> > > > - Show quoted text -

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

Reply via email to