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

NOE GUTIERREZ do-not-reply at jboss.com
Fri Nov 16 13:35:30 EST 2012


NOE GUTIERREZ [https://community.jboss.org/people/noe_bartino1984] created the discussion

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

To view the discussion, visit: https://community.jboss.org/message/776941#776941

--------------------------------------------------------------
Hi Himaja, Could You Help me?
I have moved few jars from /jboss-5.1.0GA/common/lib to /jboss-5.1.0GA/lib/endorsed

I'm using this VM options  -Djava.endorsed.dirs=/opt/jboss-5.1.0.GA/lib/endorsed

and added this jars to my classpath
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.

when I executed my client shows this:
***********************
Create Web Service Client...
Create Web Service...
Call Web Service Operation...
Exception in thread "main" java.lang.ExceptionInInitializerError
          at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
          at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
          at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(Unknown Source)
          at $Proxy25.multiplica(Unknown Source)
          at misservicios.insys.ws.clientsample.ClientSample.main(ClientSample.java:14)
Caused by: java.lang.ClassCastException: com.sun.xml.bind.v2.runtime.JAXBContextImpl cannot be cast to com.sun.xml.internal.bind.api.JAXBRIContext
          at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.<clinit>(Unknown Source)


please I'm going crazy jaja

Regards
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/776941#776941]

Start a new discussion in JBoss Web Services at Community
[https://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/20121116/1287e51a/attachment.html 


More information about the jboss-user mailing list