Re: [Dev] Sample 100 Failed in WSO2 ESB 4.9.0-SNAPSHOT
Hi Kathees, I think removing the *wsse:Security *header is not the correct workaround for this issue. Please check whether you deployed the correct service for this sample? All the samples up until *sample 100 *are based on the *SimpleStockQuoteService.* *But, sample 100 *requires the *SecureStockQuoteService* to be deployed in order to check it. *Note: Deploy the back-end service SecureStockQuoteService.* Cheers - *Shabir Mohamed* *Software Engineer* WSO2 Inc.; http://wso2.com Email: sha...@wso2.com ayy...@wso2.com Mobitel: +94 77 3516019 | +94 71 6583393 On Tue, Mar 10, 2015 at 2:04 PM, Kathees Rajendram kath...@wso2.com wrote: Hi Vanji, It is in the doc. I didn't test the esb sample 100 after I got the issue. I tested the security scenario in new implementation and used the following configuration It is working. header name=Action value=urn:getQuote/ payloadFactory media-type=xml format m0:getQuote xmlns:m0=http://services.samples; m0:request m0:symbolWSO2/m0:symbol /m0:request /m0:getQuote /format args/ /payloadFactory call blocking=true endpoint address uri= http://localhost:9000/services/SecureStockQuoteService; enableSec policy=sec_policy/ /address /endpoint /call property name=RESPONSE value=true/ header name=To action=remove/ header xmlns:wsse= http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd name=wsse:Security action=remove/ send/ drop/ Thanks, kathees On Tue, Mar 10, 2015 at 12:43 PM, Vanjikumaran Sivajothy va...@wso2.com wrote: isn't that mentioned in the doc? On Tue, Mar 10, 2015 at 12:42 PM, Kathees Rajendram kath...@wso2.com wrote: Thanks Vanji and Thilini. The issue was in my configuration that the response has the security header when ESB send back to client. I used the following configuration to remove the security header Now it is working. header xmlns:wsse= http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd name=wsse:Security action=remove/ Thanks, Kathees On Fri, Mar 6, 2015 at 9:04 AM, Thilini Cooray thili...@wso2.com wrote: Hi Kathees, Did you store unlimited strength policy files [1] in JAVA_HOME/jre/lib/security folder ? [1] http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html On Wed, Mar 4, 2015 at 6:43 PM, Kathees Rajendram kath...@wso2.com wrote: Hi Vanji, I am getting above exception when I run the esb sample 100. I followed the steps as it is in the documentation[1]. [1] - https://docs.wso2.com/display/ESB481/Sample+100%3A+Using+WS-Security+for+Outgoing+Messages Thanks, Kathees On Wed, Mar 4, 2015 at 6:14 PM, Vanjikumaran Sivajothy va...@wso2.com wrote: Hi Kathees, You question is not clear! Can you please elaborate more on what you have done? On Wed, Mar 4, 2015 at 5:52 PM, Kathees Rajendram kath...@wso2.com wrote: Hi, I am getting following exception when I invoke the service. [2015-03-04 17:27:00,003] ERROR - AxisEngine Missing wsse:Security header in request org.apache.axis2.AxisFault: Missing wsse:Security header in request at org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:180) at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:99) at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) at org.apache.axis2.engine.Phase.invoke(Phase.java:313) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167) at org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:235) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.rampart.RampartException: Missing wsse:Security header in request at org.apache.rampart.RampartEngine.process(RampartEngine.java:146) at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92) ... 9 more [2015-03-04 17:27:00,004] ERROR - ClientWorker Fault processing response message through Axis2 org.apache.axis2.AxisFault: Missing wsse:Security header in request at org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:180) at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:99) at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) at org.apache.axis2.engine.Phase.invoke(Phase.java:313) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261) at
Re: [Dev] Sample 100 Failed in WSO2 ESB 4.9.0-SNAPSHOT
isn't that mentioned in the doc? On Tue, Mar 10, 2015 at 12:42 PM, Kathees Rajendram kath...@wso2.com wrote: Thanks Vanji and Thilini. The issue was in my configuration that the response has the security header when ESB send back to client. I used the following configuration to remove the security header Now it is working. header xmlns:wsse= http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd name=wsse:Security action=remove/ Thanks, Kathees On Fri, Mar 6, 2015 at 9:04 AM, Thilini Cooray thili...@wso2.com wrote: Hi Kathees, Did you store unlimited strength policy files [1] in JAVA_HOME/jre/lib/security folder ? [1] http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html On Wed, Mar 4, 2015 at 6:43 PM, Kathees Rajendram kath...@wso2.com wrote: Hi Vanji, I am getting above exception when I run the esb sample 100. I followed the steps as it is in the documentation[1]. [1] - https://docs.wso2.com/display/ESB481/Sample+100%3A+Using+WS-Security+for+Outgoing+Messages Thanks, Kathees On Wed, Mar 4, 2015 at 6:14 PM, Vanjikumaran Sivajothy va...@wso2.com wrote: Hi Kathees, You question is not clear! Can you please elaborate more on what you have done? On Wed, Mar 4, 2015 at 5:52 PM, Kathees Rajendram kath...@wso2.com wrote: Hi, I am getting following exception when I invoke the service. [2015-03-04 17:27:00,003] ERROR - AxisEngine Missing wsse:Security header in request org.apache.axis2.AxisFault: Missing wsse:Security header in request at org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:180) at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:99) at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) at org.apache.axis2.engine.Phase.invoke(Phase.java:313) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167) at org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:235) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.rampart.RampartException: Missing wsse:Security header in request at org.apache.rampart.RampartEngine.process(RampartEngine.java:146) at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92) ... 9 more [2015-03-04 17:27:00,004] ERROR - ClientWorker Fault processing response message through Axis2 org.apache.axis2.AxisFault: Missing wsse:Security header in request at org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:180) at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:99) at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) at org.apache.axis2.engine.Phase.invoke(Phase.java:313) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167) at org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:235) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.rampart.RampartException: Missing wsse:Security header in request at org.apache.rampart.RampartEngine.process(RampartEngine.java:146) at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92) ... 9 more Thanks, Kathees -- Kathees Software Engineer, email: kath...@wso2.com mobile: +94772596173 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sivajothy Vanjikumaran *Senior Software Engineer* *Integration Technologies Team* *WSO2 Inc. http://wso2.com http://wso2.com/* *Mobile:(+94)777219209* [image: Facebook] https://www.facebook.com/vanjikumaran [image: Twitter] https://twitter.com/vanjikumaran [image: LinkedIn] http://www.linkedin.com/pub/vanjikumaran-sivajothy/25/b31/293 [image: Blogger] http://vanjikumaran.blogspot.com/ [image: SlideShare] http://www.slideshare.net/vanjikumaran This communication may contain privileged or other confidential information and is intended exclusively for the addressee/s. If you are not the intended recipient/s, or believe that you may have received this communication in error, please reply to the sender indicating that fact and
Re: [Dev] Sample 100 Failed in WSO2 ESB 4.9.0-SNAPSHOT
Thanks Vanji and Thilini. The issue was in my configuration that the response has the security header when ESB send back to client. I used the following configuration to remove the security header Now it is working. header xmlns:wsse= http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd name=wsse:Security action=remove/ Thanks, Kathees On Fri, Mar 6, 2015 at 9:04 AM, Thilini Cooray thili...@wso2.com wrote: Hi Kathees, Did you store unlimited strength policy files [1] in JAVA_HOME/jre/lib/security folder ? [1] http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html On Wed, Mar 4, 2015 at 6:43 PM, Kathees Rajendram kath...@wso2.com wrote: Hi Vanji, I am getting above exception when I run the esb sample 100. I followed the steps as it is in the documentation[1]. [1] - https://docs.wso2.com/display/ESB481/Sample+100%3A+Using+WS-Security+for+Outgoing+Messages Thanks, Kathees On Wed, Mar 4, 2015 at 6:14 PM, Vanjikumaran Sivajothy va...@wso2.com wrote: Hi Kathees, You question is not clear! Can you please elaborate more on what you have done? On Wed, Mar 4, 2015 at 5:52 PM, Kathees Rajendram kath...@wso2.com wrote: Hi, I am getting following exception when I invoke the service. [2015-03-04 17:27:00,003] ERROR - AxisEngine Missing wsse:Security header in request org.apache.axis2.AxisFault: Missing wsse:Security header in request at org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:180) at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:99) at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) at org.apache.axis2.engine.Phase.invoke(Phase.java:313) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167) at org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:235) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.rampart.RampartException: Missing wsse:Security header in request at org.apache.rampart.RampartEngine.process(RampartEngine.java:146) at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92) ... 9 more [2015-03-04 17:27:00,004] ERROR - ClientWorker Fault processing response message through Axis2 org.apache.axis2.AxisFault: Missing wsse:Security header in request at org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:180) at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:99) at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) at org.apache.axis2.engine.Phase.invoke(Phase.java:313) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167) at org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:235) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.rampart.RampartException: Missing wsse:Security header in request at org.apache.rampart.RampartEngine.process(RampartEngine.java:146) at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92) ... 9 more Thanks, Kathees -- Kathees Software Engineer, email: kath...@wso2.com mobile: +94772596173 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sivajothy Vanjikumaran *Senior Software Engineer* *Integration Technologies Team* *WSO2 Inc. http://wso2.com http://wso2.com/* *Mobile:(+94)777219209* [image: Facebook] https://www.facebook.com/vanjikumaran [image: Twitter] https://twitter.com/vanjikumaran [image: LinkedIn] http://www.linkedin.com/pub/vanjikumaran-sivajothy/25/b31/293 [image: Blogger] http://vanjikumaran.blogspot.com/ [image: SlideShare] http://www.slideshare.net/vanjikumaran This communication may contain privileged or other confidential information and is intended exclusively for the addressee/s. If you are not the intended recipient/s, or believe that you may have received this communication in error, please reply to the sender indicating that fact and delete the copy you received and in addition, you should not print, copy, re-transmit, disseminate, or otherwise use the
Re: [Dev] Sample 100 Failed in WSO2 ESB 4.9.0-SNAPSHOT
Hi Vanji, It is in the doc. I didn't test the esb sample 100 after I got the issue. I tested the security scenario in new implementation and used the following configuration It is working. header name=Action value=urn:getQuote/ payloadFactory media-type=xml format m0:getQuote xmlns:m0=http://services.samples; m0:request m0:symbolWSO2/m0:symbol /m0:request /m0:getQuote /format args/ /payloadFactory call blocking=true endpoint address uri=http://localhost:9000/services/SecureStockQuoteService enableSec policy=sec_policy/ /address /endpoint /call property name=RESPONSE value=true/ header name=To action=remove/ header xmlns:wsse= http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd name=wsse:Security action=remove/ send/ drop/ Thanks, kathees On Tue, Mar 10, 2015 at 12:43 PM, Vanjikumaran Sivajothy va...@wso2.com wrote: isn't that mentioned in the doc? On Tue, Mar 10, 2015 at 12:42 PM, Kathees Rajendram kath...@wso2.com wrote: Thanks Vanji and Thilini. The issue was in my configuration that the response has the security header when ESB send back to client. I used the following configuration to remove the security header Now it is working. header xmlns:wsse= http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd name=wsse:Security action=remove/ Thanks, Kathees On Fri, Mar 6, 2015 at 9:04 AM, Thilini Cooray thili...@wso2.com wrote: Hi Kathees, Did you store unlimited strength policy files [1] in JAVA_HOME/jre/lib/security folder ? [1] http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html On Wed, Mar 4, 2015 at 6:43 PM, Kathees Rajendram kath...@wso2.com wrote: Hi Vanji, I am getting above exception when I run the esb sample 100. I followed the steps as it is in the documentation[1]. [1] - https://docs.wso2.com/display/ESB481/Sample+100%3A+Using+WS-Security+for+Outgoing+Messages Thanks, Kathees On Wed, Mar 4, 2015 at 6:14 PM, Vanjikumaran Sivajothy va...@wso2.com wrote: Hi Kathees, You question is not clear! Can you please elaborate more on what you have done? On Wed, Mar 4, 2015 at 5:52 PM, Kathees Rajendram kath...@wso2.com wrote: Hi, I am getting following exception when I invoke the service. [2015-03-04 17:27:00,003] ERROR - AxisEngine Missing wsse:Security header in request org.apache.axis2.AxisFault: Missing wsse:Security header in request at org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:180) at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:99) at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) at org.apache.axis2.engine.Phase.invoke(Phase.java:313) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167) at org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:235) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.rampart.RampartException: Missing wsse:Security header in request at org.apache.rampart.RampartEngine.process(RampartEngine.java:146) at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92) ... 9 more [2015-03-04 17:27:00,004] ERROR - ClientWorker Fault processing response message through Axis2 org.apache.axis2.AxisFault: Missing wsse:Security header in request at org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:180) at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:99) at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) at org.apache.axis2.engine.Phase.invoke(Phase.java:313) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167) at org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:235) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.rampart.RampartException: Missing wsse:Security header in request at org.apache.rampart.RampartEngine.process(RampartEngine.java:146) at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92) ... 9 more
Re: [Dev] Sample 100 Failed in WSO2 ESB 4.9.0-SNAPSHOT
Hi Kathees, Did you store unlimited strength policy files [1] in JAVA_HOME/jre/lib/security folder ? [1] http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html On Wed, Mar 4, 2015 at 6:43 PM, Kathees Rajendram kath...@wso2.com wrote: Hi Vanji, I am getting above exception when I run the esb sample 100. I followed the steps as it is in the documentation[1]. [1] - https://docs.wso2.com/display/ESB481/Sample+100%3A+Using+WS-Security+for+Outgoing+Messages Thanks, Kathees On Wed, Mar 4, 2015 at 6:14 PM, Vanjikumaran Sivajothy va...@wso2.com wrote: Hi Kathees, You question is not clear! Can you please elaborate more on what you have done? On Wed, Mar 4, 2015 at 5:52 PM, Kathees Rajendram kath...@wso2.com wrote: Hi, I am getting following exception when I invoke the service. [2015-03-04 17:27:00,003] ERROR - AxisEngine Missing wsse:Security header in request org.apache.axis2.AxisFault: Missing wsse:Security header in request at org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:180) at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:99) at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) at org.apache.axis2.engine.Phase.invoke(Phase.java:313) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167) at org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:235) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.rampart.RampartException: Missing wsse:Security header in request at org.apache.rampart.RampartEngine.process(RampartEngine.java:146) at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92) ... 9 more [2015-03-04 17:27:00,004] ERROR - ClientWorker Fault processing response message through Axis2 org.apache.axis2.AxisFault: Missing wsse:Security header in request at org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:180) at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:99) at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) at org.apache.axis2.engine.Phase.invoke(Phase.java:313) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167) at org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:235) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.rampart.RampartException: Missing wsse:Security header in request at org.apache.rampart.RampartEngine.process(RampartEngine.java:146) at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92) ... 9 more Thanks, Kathees -- Kathees Software Engineer, email: kath...@wso2.com mobile: +94772596173 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sivajothy Vanjikumaran *Senior Software Engineer* *Integration Technologies Team* *WSO2 Inc. http://wso2.com http://wso2.com/* *Mobile:(+94)777219209* [image: Facebook] https://www.facebook.com/vanjikumaran [image: Twitter] https://twitter.com/vanjikumaran [image: LinkedIn] http://www.linkedin.com/pub/vanjikumaran-sivajothy/25/b31/293 [image: Blogger] http://vanjikumaran.blogspot.com/ [image: SlideShare] http://www.slideshare.net/vanjikumaran This communication may contain privileged or other confidential information and is intended exclusively for the addressee/s. If you are not the intended recipient/s, or believe that you may have received this communication in error, please reply to the sender indicating that fact and delete the copy you received and in addition, you should not print, copy, re-transmit, disseminate, or otherwise use the information contained in this communication. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions -- Kathees Software Engineer, email: kath...@wso2.com mobile: +94772596173 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards, Thilini Cooray
Re: [Dev] Sample 100 Failed in WSO2 ESB 4.9.0-SNAPSHOT
Hi Vanji, I am getting above exception when I run the esb sample 100. I followed the steps as it is in the documentation[1]. [1] - https://docs.wso2.com/display/ESB481/Sample+100%3A+Using+WS-Security+for+Outgoing+Messages Thanks, Kathees On Wed, Mar 4, 2015 at 6:14 PM, Vanjikumaran Sivajothy va...@wso2.com wrote: Hi Kathees, You question is not clear! Can you please elaborate more on what you have done? On Wed, Mar 4, 2015 at 5:52 PM, Kathees Rajendram kath...@wso2.com wrote: Hi, I am getting following exception when I invoke the service. [2015-03-04 17:27:00,003] ERROR - AxisEngine Missing wsse:Security header in request org.apache.axis2.AxisFault: Missing wsse:Security header in request at org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:180) at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:99) at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) at org.apache.axis2.engine.Phase.invoke(Phase.java:313) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167) at org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:235) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.rampart.RampartException: Missing wsse:Security header in request at org.apache.rampart.RampartEngine.process(RampartEngine.java:146) at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92) ... 9 more [2015-03-04 17:27:00,004] ERROR - ClientWorker Fault processing response message through Axis2 org.apache.axis2.AxisFault: Missing wsse:Security header in request at org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:180) at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:99) at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) at org.apache.axis2.engine.Phase.invoke(Phase.java:313) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167) at org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:235) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.rampart.RampartException: Missing wsse:Security header in request at org.apache.rampart.RampartEngine.process(RampartEngine.java:146) at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92) ... 9 more Thanks, Kathees -- Kathees Software Engineer, email: kath...@wso2.com mobile: +94772596173 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sivajothy Vanjikumaran *Senior Software Engineer* *Integration Technologies Team* *WSO2 Inc. http://wso2.com http://wso2.com/* *Mobile:(+94)777219209* [image: Facebook] https://www.facebook.com/vanjikumaran [image: Twitter] https://twitter.com/vanjikumaran [image: LinkedIn] http://www.linkedin.com/pub/vanjikumaran-sivajothy/25/b31/293 [image: Blogger] http://vanjikumaran.blogspot.com/ [image: SlideShare] http://www.slideshare.net/vanjikumaran This communication may contain privileged or other confidential information and is intended exclusively for the addressee/s. If you are not the intended recipient/s, or believe that you may have received this communication in error, please reply to the sender indicating that fact and delete the copy you received and in addition, you should not print, copy, re-transmit, disseminate, or otherwise use the information contained in this communication. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions -- Kathees Software Engineer, email: kath...@wso2.com mobile: +94772596173 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Sample 100 Failed in WSO2 ESB 4.9.0-SNAPSHOT
Hi Kathees, You question is not clear! Can you please elaborate more on what you have done? On Wed, Mar 4, 2015 at 5:52 PM, Kathees Rajendram kath...@wso2.com wrote: Hi, I am getting following exception when I invoke the service. [2015-03-04 17:27:00,003] ERROR - AxisEngine Missing wsse:Security header in request org.apache.axis2.AxisFault: Missing wsse:Security header in request at org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:180) at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:99) at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) at org.apache.axis2.engine.Phase.invoke(Phase.java:313) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167) at org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:235) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.rampart.RampartException: Missing wsse:Security header in request at org.apache.rampart.RampartEngine.process(RampartEngine.java:146) at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92) ... 9 more [2015-03-04 17:27:00,004] ERROR - ClientWorker Fault processing response message through Axis2 org.apache.axis2.AxisFault: Missing wsse:Security header in request at org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:180) at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:99) at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) at org.apache.axis2.engine.Phase.invoke(Phase.java:313) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167) at org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:235) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.rampart.RampartException: Missing wsse:Security header in request at org.apache.rampart.RampartEngine.process(RampartEngine.java:146) at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92) ... 9 more Thanks, Kathees -- Kathees Software Engineer, email: kath...@wso2.com mobile: +94772596173 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sivajothy Vanjikumaran *Senior Software Engineer* *Integration Technologies Team* *WSO2 Inc. http://wso2.com http://wso2.com/* *Mobile:(+94)777219209* [image: Facebook] https://www.facebook.com/vanjikumaran [image: Twitter] https://twitter.com/vanjikumaran [image: LinkedIn] http://www.linkedin.com/pub/vanjikumaran-sivajothy/25/b31/293 [image: Blogger] http://vanjikumaran.blogspot.com/ [image: SlideShare] http://www.slideshare.net/vanjikumaran This communication may contain privileged or other confidential information and is intended exclusively for the addressee/s. If you are not the intended recipient/s, or believe that you may have received this communication in error, please reply to the sender indicating that fact and delete the copy you received and in addition, you should not print, copy, re-transmit, disseminate, or otherwise use the information contained in this communication. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev