[jboss-user] [JBossWS] - Re: STRTransform Exception in WS Signing

lafaserem do-not-reply at jboss.com
Tue Jan 22 10:44:46 EST 2008


Hi!

Ok... I've made it to run the server without this exception adding jbossws-client.jar to the server classpath. I did it so with client but it didn't work. 

I've run it in "debug mode" (let's call it like that) and I've seen this:


  | DEBUG [main] (SOAPContentElement.java:136) - -----------------------------------
  | 
  | DEBUG [main] (SOAPContentElement.java:137) - Transitioning from XML_VALID to DOM
  | _VALID
  | DEBUG [main] (SOAPContentElement.java:143) - -----------------------------------
  | 
  | DEBUG [main] (?:?) - setElement("ds:Signature", "null")
  | DEBUG [main] (?:?) - setElement("ds:SignedInfo", "null")
  | DEBUG [main] (?:?) - setElement("ds:SignatureMethod", "null")
  | DEBUG [main] (?:?) - Create URI "http://www.w3.org/2000/09/xmldsig#rsa-sha1" cla
  | ss "class org.apache.xml.security.algorithms.implementations.SignatureBaseRSA$Si
  | gnatureRSASHA1"
  | DEBUG [main] (?:?) - Request for URI http://www.w3.org/2000/09/xmldsig#rsa-sha1
  | DEBUG [main] (?:?) - Created SignatureDSA using SHA1withRSA
  | DEBUG [main] (?:?) - setElement("ds:KeyInfo", "null")
  | java.lang.ClassNotFoundException: org/jboss/ws/extensions/security/STRTransform
  |         at java.lang.Class.forName0(Native Method)
  |         at java.lang.Class.forName(Class.java:169)
  |         at org.apache.xml.security.transforms.Transform.register(Unknown Source)
  | 
  |         at org.jboss.ws.extensions.security.STRTransform.<clinit>(STRTransform.j
  | ava:64)
  |         at org.jboss.ws.extensions.security.SignatureVerificationOperation.proce
  | ss(SignatureVerificationOperation.java:54)
  |         at org.jboss.ws.extensions.security.SecurityDecoder.decode(SecurityDecod
  | er.java:123)
  |         at org.jboss.ws.extensions.security.SecurityDecoder.decode(SecurityDecod
  | er.java:185)
  |         at org.jboss.ws.extensions.security.WSSecurityDispatcher.handleInbound(W
  | SSecurityDispatcher.java:147)
  |         at org.jboss.ws.extensions.security.jaxws.WSSecurityHandler.handleInboun
  | dSecurity(WSSecurityHandler.java:78)
  |         at org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerClient.handle
  | Inbound(WSSecurityHandlerClient.java:40)
  |         at org.jboss.ws.core.jaxws.handler.GenericHandler.handleMessage(GenericH
  | andler.java:55)
  |         at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(Ha
  | ndlerChainExecutor.java:295)
  |         at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(Ha
  | ndlerChainExecutor.java:140)
  |         at org.jboss.ws.core.jaxws.client.ClientImpl.callResponseHandlerChain(Cl
  | ientImpl.java:168)
  |         at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:363)
  |         at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:243)
  | 
  |         at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:16
  | 4)
  |         at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:15
  | 0)
  |         at $Proxy15.getRate(Unknown Source)
  |         at org.jbia.ws.Client.main(Client.java:14)
  | 

but then I see that it does the verification process just perfect...


  | DEBUG [main] (SOAPContentElement.java:136) - -----------------------------------
  | 
  | DEBUG [main] (SOAPContentElement.java:137) - Transitioning from XML_VALID to DOM
  | _VALID
  | DEBUG [main] (SOAPContentElement.java:143) - -----------------------------------
  | 
  |  INFO [main] (?:?) - Verification successful for URI "#element-22-1201015964812-
  | 31518612"
  | 

I'll continue searching the reason of this exception, but if you have some clue I'll be very grateful ;)

Thanks ;)

P.d: I've never said but... sorry for my english, I try to do it the better I can hehe :)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122262#4122262

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122262



More information about the jboss-user mailing list