[jboss-user] [JBossWS] - Re: WStools; Parameter names (Newbie question)

sbalmos do-not-reply at jboss.com
Thu Jul 20 09:06:25 EDT 2006


I believe Jason and everyone are completely forgetting the usefulness of @WebParam here. See below:


  | @Remote @WebService @SOAPBinding(style = SOAPBinding.Style.RPC)
  | public interface CoreBackend
  | {
  |     @WebMethod public String startSession(@WebParam(name = "clientID") long clientID);
  |     @WebMethod public void endSession(@WebParam(name = "sessionToken") String sessionToken);
  |     @WebMethod public boolean login(@WebParam(name = "sessionToken") String sessionToken,
  |                                     @WebParam(name = "username") String username,
  |                                     @WebParam(name = "password") String password);
  |     @WebMethod public void logout(@WebParam(name = "sessionToken") String sessionToken);
  | }
  | 

--Scott


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

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



More information about the jboss-user mailing list