6 messages in com.googlegroups.adwords-apiAdWords API Re: Error encountered whi...
FromSent OnAttachments
J24 Jun 2008 16:49 
AdWords API Advisor25 Jun 2008 09:50 
J25 Jun 2008 12:20 
AdWords API Advisor25 Jun 2008 12:53 
J25 Jun 2008 14:38 
J25 Jun 2008 14:47 
Subject:AdWords API Re: Error encountered while trying to create Client
From:AdWords API Advisor (adwo@google.com)
Date:06/25/2008 12:53:05 PM
List:com.googlegroups.adwords-api

Is Firefox configured to use a proxy server for outbound HTTP connections (i.e. because you're behind a corporate firewall)? If so, you'd probably have to tell Axis to use the same proxy server; I'm not actually sure how that would be done, but if you read up a bit in the Axis docs it's hopefully mentioned there.

Cheers, -Jeff Posnick, AdWords API Team

On Jun 25, 3:20 pm, J <jati@gmail.com> wrote:

Yes, I can get to the
websitehttps://adwords.google.com/api/adwords/v12/CampaignService?wsdl from the same machine using Firefox.

Thanks, J

On Jun 25, 9:51 am, AdWords API Advisor <adwo@google.com> wrote:

Hello,

That exception indicates that the machine you're running the command from isn't able to
contacthttps://adwords.google.com/api/adwords/v12/CampaignService?wsdl

Since that webserver wasn't offline or otherwise unavailable, the most likely cause is a networking issue on your end. Can you see if you can access that URL from a web browser on the same machine?

Cheers, -Jeff Posnick, AdWords API Team

On Jun 24, 7:49 pm, J <jati@gmail.com> wrote:

Hi All,

I am new to this field. I am trying to generate the client for GetAllAdWordCampaings using Axis 1.4. Following is the command I gave and the error message that I received:

Can anyone please help me to figure out as to what is it that I am doing incorrect. Thanks in advance.

D:\axis-1_4\lib>java -cp %AXISCLASSPATH% org.apache.axis.wsdl.WSDL2Javahttps://adwords.google.com/a pi/adwords/v12/CampaignService?wsdl java.net.NoRouteToHostException: No route to host: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java: 333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.Socket.connect(Socket.java:519) at java.net.Socket.connect(Socket.java:469) at sun.net.NetworkClient.doConnect(NetworkClient.java:157) at sun.net.www.http.HttpClient.openServer(HttpClient.java:382) at sun.net.www.http.HttpClient.openServer(HttpClient.java:509) at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:278) at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java: 335) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClien... legateHttpsURLConnection.java:176) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java: 769) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Abstrac... psURLConnection.java:162) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.... 938) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConn... ava:234) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java: 369) at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java: 420) at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java: 482) at org.apache.axis.wsdl.gen.Parser $WSDLRunnable.run(Parser.java:361) at java.lang.Thread.run(Thread.java:595)