Claudio Miranda [https://community.jboss.org/people/Claudio4J] created the discussion
"Re: @WS with CLIENT-CERT throws Invalid HTTP server response [401] - Unauthorized on client side" To view the discussion, visit: https://community.jboss.org/message/723765#723765 -------------------------------------------------------------- >From the client log file I see that the it load the *Standard Client*, after >then it loads correctlry the *Standard WSSecurity Client*. Also, the client code uses the Standard WSSecurity Client. StubExt stubExt = (StubExt) wsPesq; stubExt.setConfigName("Standard WSSecurity Client"); DEBUG [main] - Create new config [name=Standard Client,file=META-INF/standard-jaxws-client-config.xml] DEBUG [main] - getConfig: [name=Standard Client,url=META-INF/standard-jaxws-client-config.xml] DEBUG [main] - parse: file:/home/claudio/alphaworks/projects/myapp/jaas/jaas-ms-client/bin/META-INF/standard-jaxws-client-config.xml DEBUG [main] - Create new config [name=*Standard WSSecurity Client*,file=META-INF/standard-jaxws-client-config.xml] DEBUG [main] - getConfig: [name=*Standard WSSecurity Client*,url=*META-INF/standard-jaxws-client-config.xml*] DEBUG [main] - parse: *file:/home/claudio/alphaworks/projects/myapp/jaas/jaas-ms-client/bin/META-INF/standard-jaxws-client-config.xml* Is that incorrect ? I modified as below, but didn't work, the exception is the same. > URL wsseClientURL = > Thread.currentThread().getContextClassLoader().getResource("META-INF/jboss-wsse-client.xml"); > stubExt.setSecurityConfig(wsseClientURL.toExternalForm()); * * -------------------------------------------------------------- Reply to this message by going to Community [https://community.jboss.org/message/723765#723765] Start a new discussion in JBoss Web Services at Community [https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
