http://www.oracle.com/technology/oramag/webcolumns/2003/techarticles/balusamy.html
But when I give the path of the WSDL , I get the error
"Invalid WSDL document URL location"
I then downloaded the API files from google, and then gave the path of
the local WSDL file. It compiled withour errors but when I run it I get
the following error :
D:\Oracle\OraBPELPM_1\jdk\bin\javaw.exe -client -classpath
D:\Jdeveloper\jdevhome\jdev\mywork\WebServiceClient\WSClient\classes;D:\oracle\OraBPELPM_1\integration\jdev\jdev\lib\jdev-rt.jar;D:\oracle\OraBPELPM_1\integration\jdev\soap\lib\soap.jar;D:\oracle\OraBPELPM_1\integration\jdev\lib\xmlparserv2.jar;D:\oracle\OraBPELPM_1\integration\jdev\jlib\javax-ssl-1_2.jar;D:\oracle\OraBPELPM_1\integration\jdev\jlib\jssl-1_2.jar;D:\oracle\OraBPELPM_1\integration\jdev\j2ee\home\lib\activation.jar;D:\oracle\OraBPELPM_1\integration\jdev\j2ee\home\lib\mail.jar;D:\oracle\OraBPELPM_1\integration\jdev\j2ee\home\lib\http_client.jar;D:\oracle\OraBPELPM_1\integration\jdev\lib\xmlcomp.jar
google.search.GoogleSearchServiceStub
[SOAPException: faultCode=SOAP-ENV:IOException; msg=api.google.com:
api.google.com; targetException=java.net.UnknownHostException:
api.google.com: api.google.com]
at
oracle.soap.transport.http.OracleSOAPHTTPConnection.send(OracleSOAPHTTPConnection.java:774)
at org.apache.soap.rpc.Call.invoke(Call.java:261)
at
google.search.GoogleSearchServiceStub.doGoogleSearch(GoogleSearchServiceStub.java:108)
at
google.search.GoogleSearchServiceStub.main(GoogleSearchServiceStub.java:40)
Process exited with exit code 0.
Any idea what is wrong ?
Thanks in advance.