[jboss-user] [JBoss Web Services] - Re: missing <wsse:Security> tag in WS-Security

Himaja Thovi do-not-reply at jboss.com
Tue Jan 18 04:39:15 EST 2011

Himaja Thovi [http://community.jboss.org/people/t.himaja] created the discussion

"Re: missing <wsse:Security> tag in WS-Security"

To view the discussion, visit: http://community.jboss.org/message/581500#581500

Hi All,

Finally made it work. Here are few modifications need to be done in the client 
public class Main {
    public static void main(String[] args) {
        try { // Call Web Service Operation
            com.ServerService service = new com.ServerService();
            com.Server port = service.getServerPort();
            ((StubExt) port).setConfigName("Standard WSSecurity Client");// add this line
            java.lang.String result = port.message();
            System.out.println("Result = "+result);
        } catch (Exception ex) {

Also u need to move few jars from /jboss-5.1.0GA/common/lib to /jboss-5.1.0GA/lib/endorsed

Also use a VM options or command line configurations as


Add applicable jars relating to Jboss server.
We used some as
jbossws-client.jar , jboss-common.jar , log4j.jar , javassist.jar , jboss-remoting.jar , jboss-xml-binding.jar , jbossws-spi.jar ,  wsdl4j.jar , mail.jar , concurrent.jar , policy.jar ,  jaxb-impl.jar  and xmlsec.jar.

It depends which are the jars your application ask for.

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110118/3f24ecc5/attachment-0001.html 

More information about the jboss-user mailing list