[jboss-user] [JBoss Web Services] - Jboss ws-security, client configuration
Stefano Ficcadenti
do-not-reply at jboss.com
Wed Jun 9 06:30:05 EDT 2010
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&containerType=14&container=2044]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100609/7819a091/attachment.html
More information about the jboss-user
mailing list