2 Replies Latest reply on Sep 24, 2009 2:43 AM by nicholaswichmann

    Error when calling web service within JBoss

    nicholaswichmann

      I'm working on a java application which uses a simple dummy web service for test purposes.

      My app is deployed in an ear-file placed in the JBoss 4.2.2 Deploy folder. The web services is a jar-file deployed in the Deploy folder as well.

      My problem is that the application 'hangs' whenever it comes to the web service call within the code. So basically the app tries to calls a web service in the same app server (JBoss).

      If i change my endpoint from using localhost for the address and instead use a web service on another machine on the internet everything works fine.

      Does anyone have an idea of what could be the problem?? Thanks...