Re: [SOAP] SoapClient Help

[email protected] (Adam Maccabee Trachtenberg)
Newsgroups php.soap
Message-ID <[email protected]>
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

-- 
[email protected] | http://www.trachtenberg.com
author of o'reilly's "upgrading to php 5" and "php cookbook"
avoid the holiday rush, buy your copies today!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.