1 Reply Latest reply on Jan 11, 2005 1:50 PM by Thomas Diesler

    document literal style and ws method with no parameter

    Mohammad Rahin Newbie

      It appears that web services methods that take no parameters as the one below

      public String getVersion();

      is incompatible with document literal style at least in JBossWS. The web service appear to be successfully deployed, but when I try to find the list of deployed web services at http://localhost:8080/ws4ee/services I get the following exception,

      Exception - org.apache.axis.InternalException: java.lang.Exception: The OperationDesc for getVersion was not synchronized to a method of com.retail_logic.ws.interfaces.HelloService.

      Is there a way to correctly deploy web service (that conforms to the document literal sytle) that contain methods with no paramter? Or is it true that all methods of a web service in document literal syle must have exactly one parameter?

      - Mohammad