Stefano Ficcadenti [
http://community.jboss.org/people/Samb1985] replied to the discussion
"Jboss ws-security, client configuration"
To view the discussion, visit:
http://community.jboss.org/message/547024#547024
--------------------------------------------------------------
I also have same issue when I try to run a client:
URL securityURL = Main.class.getResource("META-INF/jboss-wsse-client.xml");
((StubExt) port1).setSecurityConfig(securityURL.toExternalForm());
((StubExt) port1).setConfigName("Standard WSSecurity Client",
"META-INF/standard-jaxws-client-config.xml");
And cast don't work:
Exception in thread "main" java.lang.ClassCastException: $Proxy23 cannot be cast
to org.jboss.ws.core.StubExt
How did you solve it ?
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/547024#547024]
Start a new discussion in JBoss Web Services at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]