Re: [SOAP] SoapClient Help
| From: | Adam Maccabee Trachtenberg | Date: | Tue, 11 Dec 2007 22:19:40 +0000 |
| Subject: | Re: [SOAP] SoapClient Help | ||
| References: | 1 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-2704@lists.php.net to get a copy of this message | ||
On Mon, 10 Dec 2007, Thom Simmons wrote:
> I am trying to write a SoapClient to access Google Adwords v11 Reporting
> Service.
[snip]
> I need to know how I would go about creating the Job object with SoapVar
> or if I should define a class and pass it as my params for the client.
> I don't know exactly how all this works as I am still very new to the
> native SOAP extension for PHP but I really need to learn it properly.
>
> Are there any better documentation or tutorials for the native SOAP
> extension that use more complicated SOAP Envelopes?
Here is some sample code I wrote a *long* time ago (January, 2005) for
v2 of the service:
Code: http://www.trachtenberg.com/google-report.phps
My old blog post on the topic:
http://www.trachtenberg.com/blog/2005/01/29/using-the-google-adwords-api-with-extsoap/
Note: I never used this in any meaningful way, it was just an
experiment to see what ext/soap code for the service would look
like. It used to work. I have no idea if it still works, and what
changes you'd need to make.
-adam
--
adam@trachtenberg.com | http://www.trachtenberg.com
author of o'reilly's "upgrading to php 5" and "php cookbook"
avoid the holiday rush, buy your copies today!