I have proxy server set up and accessible from my Windows server(I can access the web client), but when I call the web service from Java client I get this error in the Console.
Project Name is:Test Project
Logging into the Project...
In Try Block
Have an Exception
Feb 9, 2009 11:00:03 AM ttsample.Engine Login
java.rmi.RemoteException: HTTP transport error: java.net.UnknownHostException: http; nested exception is:
HTTP transport error: java.net.UnknownHostException: http
Caused by: HTTP transport error: java.net.UnknownHostException: http
... 2 more
BUILD SUCCESSFUL (total time: 4 seconds)
I am consuming a WSDL to invoke a web operation in my program in NetBeans6.5 . I tried the -D option to set the Proxy host and port in the Project Properties Run option in VM Options as "-Dhttp.proxyHost=10.1.104.63 -Dhttp.proxyPort=8080"
I am consuming a WSDL file using JAX-RPC in my program.
When I run my Main program I am getting the error. I used the same program with the Test Track server we use to see if its logging in or not and it worked.
When I am trying to connect to the test track server that I locally loaded on my system it is not working. So I configured Apache with my Test Track server and tested if the web client is working or not and found that it was working but when I am trying to connect to the web client through my program it is not working.
Is this a proxy settings error???When I tried to change the proxy settings and run the web client I was unable to access the web client.So I reset all of my settings back and then saw that it worked as before.
I set my proxy settings in the VM options in the properties of the project as
ttProject = "Test Project";
long ttCookie = 0;
ttUser = "syendluri";
ttPassword = "******";
//the _ttsoapcgi is what we'll use to make all the calls
_ttsoapcgi = ttsoapcgi.getTtsoapcgi();
java.util.logging.Logger.getLogger(Ttsoapcgi.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
public void SetProject(String strProject)
ttProject = strProject;
System.out.println("Project Name is:"+ttProject);
public String GetProject()
public long GetCookie()
public boolean Login()
boolean result = false;
//First we need to build the project object for that we need to create the database object and set its name
CDatabase ttDatabase = new CDatabase();
//Now we can try to log in
// This code block invokes the Ttsoapcgi:databaseLogon operation on web service
System.out.println("In Try Block");
I tried to access the URL that is given in the SOAP address location but I got an error saying the requested URL is not found.
Actually under the htdocs of Apache I created a folder by name ttweb instead of TestTrack.So I tried accessing http://localhost/ttweb/ which worked but when I tried accessing http://localhost/ttweb/ttsoapcgi.exe/ I am getting an error that I dont have permission to access ttsoapcgi.exe on this server. Actually ttsoapcgi.exe is in the cgi-bin folder of Apache.
What are the further steps that I need to follow to access the web page from my program??