• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Completely lost. Swing app consuming webservice got Timeout error (504)

 
Valmir Cinquini
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all. anybody could help me? I've googled a lot, found some samples, but no one successfullJ.

I have a webservice running on JBOss 4.2 on a machine connected to a internal company's network (network type 10.xx). The proxy server is an ISA Server from MS.

I have an swing application that needs to access that webservice. I follow a tutorial to create a reference to this webservice on Netbeans. That's ok, easy, works fine. But I can pass through the proxy authentication. I got the Timeout error (504), so I don't know if I got authenticated, but I think I got. Otherwise I would receive another type of error, like connection refused or similar.

Below, follows my code:



This is the error message:

com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 504: Proxy Timeout ( The connection timed out. For more information about this event, see ISA Server Help. )


The webservice works fine, I can test it using SoapUI. I can see the method calling on JBoss console on the server machine.

Could anybode help me? I'm very very newbee with Java.

Thanks in advance.

 
Valmir Cinquini
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Got it

System.setProperty("http.nonProxyHosts", "my ws IP host here");




Valmir Cinquini wrote:Hi all. anybody could help me? I've googled a lot, found some samples, but no one successfullJ.

I have a webservice running on JBOss 4.2 on a machine connected to a internal company's network (network type 10.xx). The proxy server is an ISA Server from MS.

I have an swing application that needs to access that webservice. I follow a tutorial to create a reference to this webservice on Netbeans. That's ok, easy, works fine. But I can pass through the proxy authentication. I got the Timeout error (504), so I don't know if I got authenticated, but I think I got. Otherwise I would receive another type of error, like connection refused or similar.

Below, follows my code:



This is the error message:

com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 504: Proxy Timeout ( The connection timed out. For more information about this event, see ISA Server Help. )


The webservice works fine, I can test it using SoapUI. I can see the method calling on JBoss console on the server machine.

Could anybode help me? I'm very very newbee with Java.

Thanks in advance.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic