I have an interface

  | @Remote
  | @WebService
  | public interface ServerInterface {
  | ...

and an implementation


  | @Stateless
  | @WebService
  | @WebContext(contextRoot="/services)
  | @EndpointConfig(configName="Standard WSSecurity Endpoint")
  | @Name("serverWebService")
  | public class ServerWebService implements ServerInterface {
  | ...

(deployed in a Seam 2.0.0CR2 app to JBoss 4.2.1GA)

and I call it like


  | Service service = Service.create(new URL(...), new QName(...));
  | ((ServiceExt)service).setSecurityConfig(new 
File("META-INF/jboss-wsse-client.xml").toURI().toURL().toExternalForm());
  | port = service.getPort(ServerInterface.class);
  | ((StubExt)port).setConfigName("Standard WSSecurity Client");
  | ...
  | 

Thanks for your time,
  -Nik

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

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

Reply via email to