[Mono-devel-list] google adwords api with mono
Chris Turchin
chris at turchin.net
Tue May 10 17:57:54 EDT 2005
Hi,
On Tue, 2005-05-10 at 20:32 +0200, Sebastian Böhm wrote:
> mono:~# wsdl http://adwords.google.com/api/adwords/v2/CampaignService?wsdl
> Mono Web Services Description Language Utility
> Error: The HTML document does not contain Web service discovery information
This fist thing is a bug in wsdl, I think. The URL above does a 301
redirect that wsdl is not following:
$> wsdl http://adwords.google.com/api/adwords/v2/CampaignService?wsdl
Mono Web Services Description Language Utility
Error: The HTML document does not contain Web service discovery
information
$> wget http://adwords.google.com/api/adwords/v2/CampaignService?wsdl
--23:40:20--
http://adwords.google.com/api/adwords/v2/CampaignService?wsdl
=> `CampaignService?wsdl'
Resolving adwords.google.com... 216.239.59.112
Connecting to adwords.google.com[216.239.59.112]:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://adwords.google.com/api/adwords/v2/CampaignService?wsdl
[following]
--23:40:21--
https://adwords.google.com/api/adwords/v2/CampaignService?wsdl
=> `CampaignService?wsdl'
Connecting to adwords.google.com[216.239.59.112]:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 28,137 [text/xml]
100%[====================================>] 28,137 24.57K/s
###
The error above w/ wsdl is reproducible using a simple 301 redirect to a
non-Ssl resource as well. Anyway, if I take this https URL, I get a
completely different error from wsdl:
$> wsdl https://adwords.google.com/api/adwords/v2/CampaignService?wsdl
Mono Web Services Description Language Utility
Error: Error getting response stream (Write): SendFailure
which I assume has to do with the Ssl stuff Spouliot mentioned in his
post...
Regards,
--chris
--
Chris Turchin <chris at turchin.net>
More information about the Mono-devel-list
mailing list