3 Replies Latest reply on Nov 14, 2005 11:08 PM by Jason Greene

    Modifying the ws4ee webservice port

    upankar das Newbie

      In Jboss4.0.2 , When I have the ws4ee WebServicePort and catalina http port both as same, the web service works fine. However, if i change the web service port to different from http port, web service calls result in connection refused exception. Deployment looks fine, and also the WSDL soap address element seems to have the new web-service port reflected in it as expected.

      Below is from the client code,

      ServiceFactory factory = null;
      Service wsService=null;
      wsService = factory.createService(new URL(wsdlLocation), beanName);
      Call wsCall = wsService.createCall(portName,methodName);

      Till the above, it goes fine . However the next line , as shown below, fails :

      wsCall.invoke(arg) ;

      The same piece of code works fine when we have webservice and http port as same. Can anyone please suggest what is wrong here ?

      Also, is there a way to get the wsdl published to a different port from the standard http port in jboss ? Since we have few war components that shall also be using that http port, i want the webservice clients to go to a different port to get the wsdl so that there is no congestion as such.

      Thanks in advance.