SOAP-ERROR

101 views
Skip to first unread message

Sythus

unread,
Apr 22, 2010, 11:41:45 AM4/22/10
to AdWords API Forum
Hello,

i have a problem with SOAP while using

// Get the CampaignService.
$campaignService = $user->GetCampaignService();


The error i get:

SoapClient::SoapClient() [soapclient.soapclient]: I/O warning : failed
to load external entity "https://adwords.google.com/api/adwords/cm/
v200909/CampaignService?wsdl" in ...\aw_api_php_lib_2.0.1\src\Google
\Api\Ads\Common\Lib\AdsSoapClient.php on line 143

[message:protected] => SOAP-ERROR: Parsing WSDL: Couldn't load
from ....


And a lot more!


I use Xampp, is that because i need a SOAP Plugin for that? If yes,
how i can get one? Google didn t help me with that problem.

I really have no idea about Soap and i appreciate every help i can
get!

Thank you
best regards
Sythus

--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

AdWords API Advisor

unread,
Apr 22, 2010, 12:25:56 PM4/22/10
to AdWords API Forum
Hi Sythus,

Can you please check that your PHP environment has the required SOAP
extensions:

http://code.google.com/p/google-api-adwords-php/source/browse/trunk/README#338

Best,
- Eric Koleda, AdWords API Team

On Apr 22, 11:41 am, Sythus <r.petz...@syrotech.de> wrote:
> Hello,
>
> i have a problem with SOAP while using
>
>   // Get the CampaignService.
>   $campaignService = $user->GetCampaignService();
>
> The error i get:
>
> SoapClient::SoapClient() [soapclient.soapclient]: I/O warning : failed
> to load external entity "https://adwords.google.com/api/adwords/cm/
> v200909/CampaignService?wsdl" in ...\aw_api_php_lib_2.0.1\src\Google
> \Api\Ads\Common\Lib\AdsSoapClient.php  on line 143
>
> [message:protected] => SOAP-ERROR: Parsing WSDL: Couldn't load
> from ....
>
> And a lot more!
>
> I use Xampp, is that because i need a SOAP Plugin for that? If yes,
> how i can get one? Google didn t help me with that problem.
>
> I really have no idea about Soap and i appreciate every help i can
> get!
>
> Thank you
> best regards
> Sythus
>
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Have you migrated to v200909 yet?
> The v13 sunset is on April 22, 2010.
>
> Also find us on our blog and discussion group:http://adwordsapi.blogspot.comhttp://groups.google.com/group/adwords-api

Sythus

unread,
Apr 22, 2010, 5:22:34 PM4/22/10
to AdWords API Forum
Hi Eric,

That information i found to my Webserver:

soap
Soap Client enabled
Soap Server enabled

Directive Local Value Master Value
soap.wsdl_cache 1 1
soap.wsdl_cache_dir E:\xampp\tmp E:\xampp\tmp
soap.wsdl_cache_enabled 1 1
soap.wsdl_cache_limit 5 5
soap.wsdl_cache_ttl 86400 86400


curl
cURL support enabled
cURL Information libcurl/7.16.0 OpenSSL/0.9.8i zlib/1.2.3


But i couldn t find anything about OpenSSL. Is that the problem maybe?
If yes, how can i enable it?


Thank you very much,

best regards
Sythus

--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:

Sythus

unread,
Apr 23, 2010, 2:31:44 AM4/23/10
to AdWords API Forum
Hi Eric again,

i got it, i enabled openssl on my PHP environment.
But now i got another strange failure:

Warning: domdocument::domdocument() expects at least 1 parameter, 0
given in ...\src\Google\Api\Ads\Common\Util\XmlUtils.php on line 42
SoapFault Object ( [message:protected] => Call to undefined method
domdocument::loadXML() [string:private] => [code:protected] => 0
[file:protected] =>...\Google\Api\Ads\Common\Util\XmlUtils.php
[line:protected] => 43 [trace:private]

Any Idea?
Thanks for every helping hand.

Sythus

unread,
Apr 23, 2010, 2:55:22 AM4/23/10
to AdWords API Forum
hi again,

i got the solution.

If you use xampp and have the same problems like me
follow these steps:

commenting in the php_openssl.dll in your php.ini
commenting out the php_domxml.dll in your php.ini

restart your webserver - then it should work.

best regards

zyx71041...@gmail.com

unread,
Jul 3, 2017, 5:25:21 AM7/3/17
to AdWords API Forum, r.pe...@syrotech.de
How to  
resolve 
SOAP-ERROR: Parsing WSDL: Couldn't load  from ....  ?


在 2010年4月22日星期四 UTC+8下午11:41:45,Sythus写道:

Peter Oliquino

unread,
Jul 4, 2017, 2:43:27 AM7/4/17
to AdWords API Forum, r.pe...@syrotech.de
Hi,

Your issue seems more related to the PHP client library. This said, please contact the PHP client library owners via this link as they are better equipped to assist you.

Additionally, for any future concerns or follow up questions, I would recommend that you create a new thread, as this is already on old one, and we can continue our discussion from there.

Thanks and regards,
Peter
AdWords API Team
Reply all
Reply to author
Forward
0 new messages