Re: Axis 2 v1.0 security sample

2006-05-12 Thread Ali Sadik Kumlali
Hi Nathan,

You need to add xalan-2.6.0.jar to your classpath.

Regards,

Ali Sadik Kumlali

--- Nathan West [EMAIL PROTECTED] wrote:

 Hello,
 my Problem is that i get a URL Exception. My first Problem was, that
 the axis security sample client cant find his axis2.xml in the
 repository. So i used -Daxis2.xml... to solve that problem. But now i
 get this exception:
 
 0[main] INFO  org.apache.axis2.deployment.DeploymentEngine  - no
 services directory found , new one created
 80   [main] INFO  org.apache.axis2.deployment.DeploymentEngine  -
 Deploying module : addressing-1.0
 2133 [main] INFO  org.apache.axis2.deployment.DeploymentEngine  -
 Deploying module : rampart-1.0
 Exception in thread main java.lang.NoClassDefFoundError:
 org/apache/xml/utils/URI$MalformedURIException
   at

org.apache.ws.security.message.WSSecSignature.prepare(WSSecSignature.java:336)
   at

org.apache.ws.security.message.WSSecSignature.build(WSSecSignature.java:643)
   at

org.apache.ws.security.action.SignatureAction.execute(SignatureAction.java:54)
   at

org.apache.ws.security.handler.WSHandler.doSenderAction(WSHandler.java:191)
   at

org.apache.axis2.security.WSDoAllSender.processMessage(WSDoAllSender.java:181)
   at

org.apache.axis2.security.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:82)
   at org.apache.axis2.engine.Phase.invoke(Phase.java:381)
   at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:473)
   at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:572)
   at

org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:328)
   at

org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:279)
   at

org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:457)
   at

org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:399)
   at sample.security.Client.main(Client.java:61)
 
 I followed these instructions:
 
 Please follow each of the following steps:
 Note - These instructions assume that the Axis2.war is already
 deployed in Tomcat
 
 1.) Download the rampart-1.0.mar and addressing-1.0.mar from 
   http://ws.apache.org/axis2/modules/
 2.) To engage the rampart (WSS4J) module add the following line to
 axis2.xml in axis2/WEB-INF/conf/
   module ref=rampart/
 3.) Copy samples/security/SecureService.aar to
 axis2/WEB-INF/services/ directory
 4.) Copy all jars other than the secUtil.jar in the
 samples/security/lib directory to axis2/WEB-INF/lib/
 5.) Copy the downloaded rampart-1.0.mar to Axis2/WEB-INF/modules/
 directory
 6.) Start Tomcat
 
 Run the sample
 
 And i am using:
 -tomcat 5.5
 -java 1.4
 -axis 2 version 1.0
 -security sample: \axis2-std-1.0-bin\samples\security
 
 Best regards
 nathan
 ___
 SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
 kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
 
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: Axis 2 v1.0 security sample

2006-05-12 Thread Nathan West
Hi, thanks for your help, but it dosnt work for me. I get this error with 
xalan-2.6.0.jar on my classpath too.

Nathan


 -Ursprüngliche Nachricht-
 Von: axis-user@ws.apache.org
 Gesendet: 12.05.06 08:13:26
 An: axis-user@ws.apache.org
 Betreff: Re: Axis 2 v1.0 security sample


 Hi Nathan,
 
 You need to add xalan-2.6.0.jar to your classpath.
 
 Regards,
 
 Ali Sadik Kumlali
 
 --- Nathan West [EMAIL PROTECTED] wrote:
 
  Hello,
  my Problem is that i get a URL Exception. My first Problem was, that
  the axis security sample client cant find his axis2.xml in the
  repository. So i used -Daxis2.xml... to solve that problem. But now i
  get this exception:
  
  0[main] INFO  org.apache.axis2.deployment.DeploymentEngine  - no
  services directory found , new one created
  80   [main] INFO  org.apache.axis2.deployment.DeploymentEngine  -
  Deploying module : addressing-1.0
  2133 [main] INFO  org.apache.axis2.deployment.DeploymentEngine  -
  Deploying module : rampart-1.0
  Exception in thread main java.lang.NoClassDefFoundError:
  org/apache/xml/utils/URI$MalformedURIException
  at
 
 org.apache.ws.security.message.WSSecSignature.prepare(WSSecSignature.java:336)
  at
 
 org.apache.ws.security.message.WSSecSignature.build(WSSecSignature.java:643)
  at
 
 org.apache.ws.security.action.SignatureAction.execute(SignatureAction.java:54)
  at
 
 org.apache.ws.security.handler.WSHandler.doSenderAction(WSHandler.java:191)
  at
 
 org.apache.axis2.security.WSDoAllSender.processMessage(WSDoAllSender.java:181)
  at
 
 org.apache.axis2.security.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:82)
  at org.apache.axis2.engine.Phase.invoke(Phase.java:381)
  at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:473)
  at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:572)
  at
 
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:328)
  at
 
 org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:279)
  at
 
 org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:457)
  at
 
 org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:399)
  at sample.security.Client.main(Client.java:61)
  
  I followed these instructions:
  
  Please follow each of the following steps:
  Note - These instructions assume that the Axis2.war is already
  deployed in Tomcat
  
  1.) Download the rampart-1.0.mar and addressing-1.0.mar from 
  http://ws.apache.org/axis2/modules/
  2.) To engage the rampart (WSS4J) module add the following line to
  axis2.xml in axis2/WEB-INF/conf/
  module ref=rampart/
  3.) Copy samples/security/SecureService.aar to
  axis2/WEB-INF/services/ directory
  4.) Copy all jars other than the secUtil.jar in the
  samples/security/lib directory to axis2/WEB-INF/lib/
  5.) Copy the downloaded rampart-1.0.mar to Axis2/WEB-INF/modules/
  directory
  6.) Start Tomcat
  
  Run the sample
  
  And i am using:
  -tomcat 5.5
  -java 1.4
  -axis 2 version 1.0
  -security sample: \axis2-std-1.0-bin\samples\security
  
  Best regards
  nathan
  ___
  SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
  kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
  
  
 
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com 


___
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192



Re: Axis 2 v1.0 security sample

2006-05-12 Thread Ali Sadik Kumlali
When you use xalan-2.6.0.jar do you get the same stack trace or a
different one? If it's different, could you please post it?

Thanks,

Ali Sadik Kumlali

--- Nathan West [EMAIL PROTECTED] wrote:

 Hi, thanks for your help, but it dosnt work for me. I get this error
 with xalan-2.6.0.jar on my classpath too.
 
 Nathan
 
 
  -Urspr�ngliche Nachricht-
  Von: axis-user@ws.apache.org
  Gesendet: 12.05.06 08:13:26
  An: axis-user@ws.apache.org
  Betreff: Re: Axis 2 v1.0 security sample
 
 
  Hi Nathan,
  
  You need to add xalan-2.6.0.jar to your classpath.
  
  Regards,
  
  Ali Sadik Kumlali
  
  --- Nathan West [EMAIL PROTECTED] wrote:
  
   Hello,
   my Problem is that i get a URL Exception. My first Problem was,
 that
   the axis security sample client cant find his axis2.xml in the
   repository. So i used -Daxis2.xml... to solve that problem. But
 now i
   get this exception:
   
   0[main] INFO  org.apache.axis2.deployment.DeploymentEngine  -
 no
   services directory found , new one created
   80   [main] INFO  org.apache.axis2.deployment.DeploymentEngine  -
   Deploying module : addressing-1.0
   2133 [main] INFO  org.apache.axis2.deployment.DeploymentEngine  -
   Deploying module : rampart-1.0
   Exception in thread main java.lang.NoClassDefFoundError:
   org/apache/xml/utils/URI$MalformedURIException
 at
  
 

org.apache.ws.security.message.WSSecSignature.prepare(WSSecSignature.java:336)
 at
  
 

org.apache.ws.security.message.WSSecSignature.build(WSSecSignature.java:643)
 at
  
 

org.apache.ws.security.action.SignatureAction.execute(SignatureAction.java:54)
 at
  
 

org.apache.ws.security.handler.WSHandler.doSenderAction(WSHandler.java:191)
 at
  
 

org.apache.axis2.security.WSDoAllSender.processMessage(WSDoAllSender.java:181)
 at
  
 

org.apache.axis2.security.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:82)
 at org.apache.axis2.engine.Phase.invoke(Phase.java:381)
 at
 org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:473)
 at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:572)
 at
  
 

org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:328)
 at
  
 

org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:279)
 at
  
 

org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:457)
 at
  
 

org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:399)
 at sample.security.Client.main(Client.java:61)
   
   I followed these instructions:
   
   Please follow each of the following steps:
   Note - These instructions assume that the Axis2.war is already
   deployed in Tomcat
   
   1.) Download the rampart-1.0.mar and addressing-1.0.mar from 
 http://ws.apache.org/axis2/modules/
   2.) To engage the rampart (WSS4J) module add the following line
 to
   axis2.xml in axis2/WEB-INF/conf/
 module ref=rampart/
   3.) Copy samples/security/SecureService.aar to
   axis2/WEB-INF/services/ directory
   4.) Copy all jars other than the secUtil.jar in the
   samples/security/lib directory to axis2/WEB-INF/lib/
   5.) Copy the downloaded rampart-1.0.mar to Axis2/WEB-INF/modules/
   directory
   6.) Start Tomcat
   
   Run the sample
   
   And i am using:
   -tomcat 5.5
   -java 1.4
   -axis 2 version 1.0
   -security sample: \axis2-std-1.0-bin\samples\security
   
   Best regards
   nathan
   ___
   SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
   kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
   
   
  
  
  __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam protection around 
  http://mail.yahoo.com 
 
 
 ___
 SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
 kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
 
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: Axis 2 v1.0 security sample

2006-05-12 Thread Nathan West
 
noshade=noshadeh3Apache Tomcat/5.5.12/h3/body/html
at 
org.apache.axis2.transport.http.SOAPOverHTTPSender.send(SOAPOverHTTPSender.java:120)
at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:299)
... 7 more


 -Ursprüngliche Nachricht-
 Von: axis-user@ws.apache.org
 Gesendet: 12.05.06 10:14:53
 An: axis-user@ws.apache.org
 Betreff: Re: Axis 2 v1.0 security sample


 When you use xalan-2.6.0.jar do you get the same stack trace or a
 different one? If it's different, could you please post it?
 
 Thanks,
 
 Ali Sadik Kumlali
 
 --- Nathan West [EMAIL PROTECTED] wrote:
 
  Hi, thanks for your help, but it dosnt work for me. I get this error
  with xalan-2.6.0.jar on my classpath too.
  
  Nathan
  
  
   -Ursprï¿œngliche Nachricht-
   Von: axis-user@ws.apache.org
   Gesendet: 12.05.06 08:13:26
   An: axis-user@ws.apache.org
   Betreff: Re: Axis 2 v1.0 security sample
  
  
   Hi Nathan,
   
   You need to add xalan-2.6.0.jar to your classpath.
   
   Regards,
   
   Ali Sadik Kumlali
   
   --- Nathan West [EMAIL PROTECTED] wrote:
   
Hello,
my Problem is that i get a URL Exception. My first Problem was,
  that
the axis security sample client cant find his axis2.xml in the
repository. So i used -Daxis2.xml... to solve that problem. But
  now i
get this exception:

0[main] INFO  org.apache.axis2.deployment.DeploymentEngine  -
  no
services directory found , new one created
80   [main] INFO  org.apache.axis2.deployment.DeploymentEngine  -
Deploying module : addressing-1.0
2133 [main] INFO  org.apache.axis2.deployment.DeploymentEngine  -
Deploying module : rampart-1.0
Exception in thread main java.lang.NoClassDefFoundError:
org/apache/xml/utils/URI$MalformedURIException
at
   
  
 
 org.apache.ws.security.message.WSSecSignature.prepare(WSSecSignature.java:336)
at
   
  
 
 org.apache.ws.security.message.WSSecSignature.build(WSSecSignature.java:643)
at
   
  
 
 org.apache.ws.security.action.SignatureAction.execute(SignatureAction.java:54)
at
   
  
 
 org.apache.ws.security.handler.WSHandler.doSenderAction(WSHandler.java:191)
at
   
  
 
 org.apache.axis2.security.WSDoAllSender.processMessage(WSDoAllSender.java:181)
at
   
  
 
 org.apache.axis2.security.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:82)
at org.apache.axis2.engine.Phase.invoke(Phase.java:381)
at
  org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:473)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:572)
at
   
  
 
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:328)
at
   
  
 
 org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:279)
at
   
  
 
 org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:457)
at
   
  
 
 org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:399)
at sample.security.Client.main(Client.java:61)

I followed these instructions:

Please follow each of the following steps:
Note - These instructions assume that the Axis2.war is already
deployed in Tomcat

1.) Download the rampart-1.0.mar and addressing-1.0.mar from 
http://ws.apache.org/axis2/modules/
2.) To engage the rampart (WSS4J) module add the following line
  to
axis2.xml in axis2/WEB-INF/conf/
module ref=rampart/
3.) Copy samples/security/SecureService.aar to
axis2/WEB-INF/services/ directory
4.) Copy all jars other than the secUtil.jar in the
samples/security/lib directory to axis2/WEB-INF/lib/
5.) Copy the downloaded rampart-1.0.mar to Axis2/WEB-INF/modules/
directory
6.) Start Tomcat

Run the sample

And i am using:
-tomcat 5.5
-java 1.4
-axis 2 version 1.0
-security sample: \axis2-std-1.0-bin\samples\security

Best regards
nathan
___
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192


   
   
   __
   Do You Yahoo!?
   Tired of spam?  Yahoo! Mail has the best spam protection around 
   http://mail.yahoo.com 
  
  
  ___
  SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
  kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
  
  
 
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com 


___
SMS schreiben mit WEB.DE FreeMail - einfach, schnell

Re: Axis 2 v1.0 security sample

2006-05-12 Thread Ali Sadik Kumlali
(CommonsHTTPTransportSender.java:299)
   ... 7 more
 
 
  -Urspr�ngliche Nachricht-
  Von: axis-user@ws.apache.org
  Gesendet: 12.05.06 10:14:53
  An: axis-user@ws.apache.org
  Betreff: Re: Axis 2 v1.0 security sample
 
 
  When you use xalan-2.6.0.jar do you get the same stack trace or a
  different one? If it's different, could you please post it?
  
  Thanks,
  
  Ali Sadik Kumlali
  
  --- Nathan West [EMAIL PROTECTED] wrote:
  
   Hi, thanks for your help, but it dosnt work for me. I get this
 error
   with xalan-2.6.0.jar on my classpath too.
   
   Nathan
   
   
-Urspr�ngliche Nachricht-
Von: axis-user@ws.apache.org
Gesendet: 12.05.06 08:13:26
An: axis-user@ws.apache.org
Betreff: Re: Axis 2 v1.0 security sample
   
   
Hi Nathan,

You need to add xalan-2.6.0.jar to your classpath.

Regards,

Ali Sadik Kumlali

--- Nathan West [EMAIL PROTECTED] wrote:

 Hello,
 my Problem is that i get a URL Exception. My first Problem
 was,
   that
 the axis security sample client cant find his axis2.xml in
 the
 repository. So i used -Daxis2.xml... to solve that problem.
 But
   now i
 get this exception:
 
 0[main] INFO 
 org.apache.axis2.deployment.DeploymentEngine  -
   no
 services directory found , new one created
 80   [main] INFO 
 org.apache.axis2.deployment.DeploymentEngine  -
 Deploying module : addressing-1.0
 2133 [main] INFO 
 org.apache.axis2.deployment.DeploymentEngine  -
 Deploying module : rampart-1.0
 Exception in thread main java.lang.NoClassDefFoundError:
 org/apache/xml/utils/URI$MalformedURIException
   at

   
  
 

org.apache.ws.security.message.WSSecSignature.prepare(WSSecSignature.java:336)
   at

   
  
 

org.apache.ws.security.message.WSSecSignature.build(WSSecSignature.java:643)
   at

   
  
 

org.apache.ws.security.action.SignatureAction.execute(SignatureAction.java:54)
   at

   
  
 

org.apache.ws.security.handler.WSHandler.doSenderAction(WSHandler.java:191)
   at

   
  
 

org.apache.axis2.security.WSDoAllSender.processMessage(WSDoAllSender.java:181)
   at

   
  
 

org.apache.axis2.security.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:82)
   at org.apache.axis2.engine.Phase.invoke(Phase.java:381)
   at
   org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:473)
   at
 org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:572)
   at

   
  
 

org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:328)
   at

   
  
 

org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:279)
   at

   
  
 

org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:457)
   at

   
  
 

org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:399)
   at sample.security.Client.main(Client.java:61)
 
 I followed these instructions:
 
 Please follow each of the following steps:
 Note - These instructions assume that the Axis2.war is
 already
 deployed in Tomcat
 
 1.) Download the rampart-1.0.mar and addressing-1.0.mar from 
   http://ws.apache.org/axis2/modules/
 2.) To engage the rampart (WSS4J) module add the following
 line
   to
 axis2.xml in axis2/WEB-INF/conf/
   module ref=rampart/
 3.) Copy samples/security/SecureService.aar to
 axis2/WEB-INF/services/ directory
 4.) Copy all jars other than the secUtil.jar in the
 samples/security/lib directory to axis2/WEB-INF/lib/
 5.) Copy the downloaded rampart-1.0.mar to
 Axis2/WEB-INF/modules/
 directory
 6.) Start Tomcat
 
 Run the sample
 
 And i am using:
 -tomcat 5.5
 -java 1.4
 -axis 2 version 1.0
 -security sample: \axis2-std-1.0-bin\samples\security
 
 Best regards
 nathan

 ___
 SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
 kostenguenstig. Jetzt gleich testen!
 http://f.web.de/?mc=021192
 
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
 
http://mail.yahoo.com 
   
   
   ___
   SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
   kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
   
   
  
  
  __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam protection around 
  http://mail.yahoo.com 
 
 
 ___
 SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
 kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192

Re: Axis 2 v1.0 security sample

2006-05-12 Thread Nathan West
Thank you very much for your help, i forgot it to put this file under tomcats 
lib dir too

 -Ursprüngliche Nachricht-
 Von: axis-user@ws.apache.org
 Gesendet: 12.05.06 12:25:07
 An: axis-user@ws.apache.org
 Betreff: Re: Axis 2 v1.0 security sample


 Did you put the jar under Tomcat\webapps\axis2\WEB-INF\lib\? Or is it
 only reside client side?
 
 --- Nathan West [EMAIL PROTECTED] wrote:
 
  Its a little bit longer...
  
  0[main] INFO  org.apache.axis2.deployment.DeploymentEngine  - no
  services directory found , new one created
  341  [main] INFO  org.apache.axis2.deployment.DeploymentEngine  -
  Deploying module : addressing-1.0
  4967 [main] INFO  org.apache.axis2.deployment.DeploymentEngine  -
  Deploying module : rampart-1.0
  org.apache.axis2.AxisFault: Transport error 500 . Error Message is
  htmlheadtitleApache Tomcat/5.5.12 - Error
  report/titlestyle!--H1
 
 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
  H2
 
 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
  H3
 
 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
  BODY
 
 {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
  B
 
 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
  P
 
 {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
  {color : black;}A.name {color : black;}HR {color :
  #525D76;}--/style /headbodyh1HTTP Status 500 - /h1HR
  size=1 noshade=noshadepbtype/b Exception
  report/ppbmessage/b u/u/ppbdescription/b uThe
  server encountered an internal error () that prevented it from
  fulfilling this request./u/ppbexception/b
  prejavax.servlet.ServletException: Servlet execution threw an
  exception
  /pre/ppbroot cause/b prejava.lang.NoClassDefFoundError:
  org/apache/xml/utils/URI$MalformedURIException
  
 
 org.apache.ws.security.processor.EncryptedKeyProcessor.decryptDataRef(EncryptedKeyProcessor.java:391)
  
 
 org.apache.ws.security.processor.EncryptedKeyProcessor.handleEncryptedKey(EncryptedKeyProcessor.java:328)
  
 
 org.apache.ws.security.processor.EncryptedKeyProcessor.handleEncryptedKey(EncryptedKeyProcessor.java:84)
  
 
 org.apache.ws.security.processor.EncryptedKeyProcessor.handleToken(EncryptedKeyProcessor.java:76)
  
 
 org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:269)
  
 
 org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:191)
  
 
 org.apache.axis2.security.WSDoAllReceiver.processMessage(WSDoAllReceiver.java:180)
  
 
 org.apache.axis2.security.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:82)
  org.apache.axis2.engine.Phase.invoke(Phase.java:381)
  org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:473)
  org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:445)
  
 
 org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:284)
  
 
 org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:136)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  /pre/ppbnote/b uThe full stack trace of the root cause is
  available in the Apache Tomcat/5.5.12 logs./u/pHR size=1
  noshade=noshadeh3Apache Tomcat/5.5.12/h3/body/html; nested
  exception is: 
  org.apache.axis2.AxisFault: Transport error 500 . Error Message is
  htmlheadtitleApache Tomcat/5.5.12 - Error
  report/titlestyle!--H1
 
 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
  H2
 
 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
  H3
 
 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
  BODY
 
 {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
  B
 
 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
  P
 
 {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
  {color : black;}A.name {color : black;}HR {color :
  #525D76;}--/style /headbodyh1HTTP Status 500 - /h1HR
  size=1 noshade=noshadepbtype/b Exception
  report/ppbmessage/b u/u/ppbdescription/b uThe
  server encountered an internal error () that prevented it from
  fulfilling this request./u/ppbexception/b
  prejavax.servlet.ServletException: Servlet execution threw an
  exception
  /pre/ppbroot cause/b prejava.lang.NoClassDefFoundError:
  org/apache/xml/utils/URI$MalformedURIException
  
 
 org.apache.ws.security.processor.EncryptedKeyProcessor.decryptDataRef(EncryptedKeyProcessor.java:391)
  
 
 org.apache.ws.security.processor.EncryptedKeyProcessor.handleEncryptedKey(EncryptedKeyProcessor.java:328)
  
 
 org.apache.ws.security.processor.EncryptedKeyProcessor.handleEncryptedKey(EncryptedKeyProcessor.java:84

Axis 2 v1.0 security sample

2006-05-11 Thread Nathan West
Hello,
my Problem is that i get a URL Exception. My first Problem was, that the axis 
security sample client cant find his axis2.xml in the repository. So i used 
-Daxis2.xml... to solve that problem. But now i get this exception:

0[main] INFO  org.apache.axis2.deployment.DeploymentEngine  - no services 
directory found , new one created
80   [main] INFO  org.apache.axis2.deployment.DeploymentEngine  - Deploying 
module : addressing-1.0
2133 [main] INFO  org.apache.axis2.deployment.DeploymentEngine  - Deploying 
module : rampart-1.0
Exception in thread main java.lang.NoClassDefFoundError: 
org/apache/xml/utils/URI$MalformedURIException
at 
org.apache.ws.security.message.WSSecSignature.prepare(WSSecSignature.java:336)
at 
org.apache.ws.security.message.WSSecSignature.build(WSSecSignature.java:643)
at 
org.apache.ws.security.action.SignatureAction.execute(SignatureAction.java:54)
at 
org.apache.ws.security.handler.WSHandler.doSenderAction(WSHandler.java:191)
at 
org.apache.axis2.security.WSDoAllSender.processMessage(WSDoAllSender.java:181)
at 
org.apache.axis2.security.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:82)
at org.apache.axis2.engine.Phase.invoke(Phase.java:381)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:473)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:572)
at 
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:328)
at 
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:279)
at 
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:457)
at 
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:399)
at sample.security.Client.main(Client.java:61)

I followed these instructions:

Please follow each of the following steps:
Note - These instructions assume that the Axis2.war is already deployed in 
Tomcat

1.) Download the rampart-1.0.mar and addressing-1.0.mar from 
http://ws.apache.org/axis2/modules/
2.) To engage the rampart (WSS4J) module add the following line to axis2.xml in 
axis2/WEB-INF/conf/
module ref=rampart/
3.) Copy samples/security/SecureService.aar to axis2/WEB-INF/services/ directory
4.) Copy all jars other than the secUtil.jar in the samples/security/lib 
directory to axis2/WEB-INF/lib/
5.) Copy the downloaded rampart-1.0.mar to Axis2/WEB-INF/modules/ directory
6.) Start Tomcat

Run the sample

And i am using:
-tomcat 5.5
-java 1.4
-axis 2 version 1.0
-security sample: \axis2-std-1.0-bin\samples\security

Best regards
nathan
___
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192