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) { ex.printStackTrace(); } } } Also u need to move few jars from /jboss-5.1.0GA/common/lib to /jboss-5.1.0GA/lib/endorsed jbossws-native-jaxrpc.jar jbossws-native-jaxws.jar jbossws-native-jaxws-ext.jar jbossws-native-saaj.jar jaxb-api.jar Also use a VM options or command line configurations as -Djava.endorsed.dirs=/opt/jboss-5.1.0.GA/lib/endorsed 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 [http://community.jboss.org/message/581500#581500] Start a new discussion in JBoss Web Services at Community [http://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
