[jboss-user] [JBossWS] - Re: nor any of its super class is known...

nickarls do-not-reply at jboss.com
Wed Oct 24 05:04:20 EDT 2007


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



More information about the jboss-user mailing list