"[EMAIL PROTECTED]" wrote : The JSR-181 preview under JAX-RPC doesn't have a 
client programming model.

This means there is no annotation support for authenticated client call?

To put so annotated authentification info in this classes?


  | @WebServiceClient(
  |         name = "AccountServiceEndpointService",
  |         wsdlLocation = 
"http://localhost:8081/jaxrpc/axis/AccountService?wsdl";,
  |         targetNamespace = "http://localhost:8081/jaxrpc/axis/AccountService";
  | )
  | public class AccountServiceImpl extends javax.xml.ws.Service {
  | 
  |     public AccountServiceImpl() throws MalformedURLException {
  |         this(
  |                 new 
URL("http://localhost:8081/jaxrpc/axis/AccountService?wsdl";),
  |                 new 
QName("http://localhost:8081/jaxrpc/axis/AccountService";, 
"AccountServiceEndpointService")
  |         );
  |     }
  | 
  |     public AccountServiceImpl(URL url, QName qName) {
  |         super(url, qName);
  |     }
  | 
  |     @WebEndpoint(name = "AccountService")
  |     public AccountService getSimplePort() {
  |         return (AccountService) super.getPort(
  |                 new 
QName("http://localhost:8081/jaxrpc/axis/AccountService";, "AccountService"),
  |                 AccountService.class);
  |     }
  | 
  | }
  | 
  | --
  | 
  | @WebService
  | @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
  | public interface AccountService {
  | 
  |     @WebMethod
  |     @WebResult(name = "createAccountReturn")
  |     Account createAccount(String username);
  | 
  |     @WebMethod
  |     @Oneway
  |     void insertAccount(Account account);
  | 
  | }
  | 
  | --
  | 
  |     @WebServiceRef(AccountServiceImpl.class)
  |     private AccountService simpleService;
  | 
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984149
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to