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,

anonymous wrote : 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



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861541#3861541

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861541


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to