0 Replies Latest reply: Feb 6, 2009 5:23 PM by 801466 RSS

    HTTP Transport Error in Net BEans 6.5

    801466
      Hello,

      I am consuming a web service using JAX-RPC. I am trying to log onto a web interface through my program but I am getting the following error:

      Feb 6, 2009 1:10:54 PM ttsample.Engine Login
      SEVERE: null
      java.rmi.RemoteException: HTTP transport error: java.net.UnknownHostException: http; nested exception is:
      Logged in...
      HTTP transport error: java.net.UnknownHostException: http
      at ttsample.TtsoapcgiPortType_Stub.databaseLogon(TtsoapcgiPortType_Stub.java:819)
      at ttsample.Engine.Login(Engine.java:77)
      at ttsample.Main.main(Main.java:30)
      Caused by: HTTP transport error: java.net.UnknownHostException: http
      at com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpClientTransport.java:140)
      at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:96)
      at ttsample.TtsoapcgiPortType_Stub.databaseLogon(TtsoapcgiPortType_Stub.java:802)
      ... 2 more



      I searched the web and found that this is a proxy setting proble.
      I configured apache earlier to use the local host that run the web client.
      When I change the http port host and port number and try to login into the web client its giving me page not found error.So I changed the proxy settings to default and then restarted the system and then tried to log into the web client and it worked.

      I dont know where i am going wrong.I want to consume the WSDL and log into the web client but i am gettingthe above error.

      Anyone's help will be greatly appreciated.

      Thank You,
      Sravanthi.