I am using ant stockquote -Dtrpurl=http://localhost:8280/services/StockQuoteProxy -Dpolicy=./../../repository/samples/resources/policy/client_policy_3.xml
Axis2 server log 2009-03-17 10:43:53,406 [10.32.210.185-DHBH91D1] [HttpServerWorker-3] ERROR AxisEngine namespace mismatch require http://services.samples/xsd found http://www.w3.org/2001/04/x mlenc# org.apache.axis2.AxisFault: namespace mismatch require http://services.samples/xsd found http://www.w3.org/2001/04/xmlenc# at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:176) at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:103) at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40) at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275) at org.apache.synapse.transport.nhttp.ServerWorker.processPost(ServerWorker.java:290) at org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:199) at org.apache.synapse.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:58) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) This is ESB log 2009-03-17 10:36:18,655 [10.32.210.185-DHBH91D1] [HttpServerWorker-7] DEBUG ProxyServiceMessageReceiver Proxy Service StockQuoteProxy received a new message from : 127.0.0.1 2009-03-17 10:36:18,655 [10.32.210.185-DHBH91D1] [HttpServerWorker-7] DEBUG ProxyServiceMessageReceiver Message To: /services/StockQuoteProxy 2009-03-17 10:36:18,655 [10.32.210.185-DHBH91D1] [HttpServerWorker-7] DEBUG ProxyServiceMessageReceiver SOAPAction: urn:getQuote 2009-03-17 10:36:18,655 [10.32.210.185-DHBH91D1] [HttpServerWorker-7] DEBUG ProxyServiceMessageReceiver WSA-Action: urn:getQuote 2009-03-17 10:36:18,655 [10.32.210.185-DHBH91D1] [HttpServerWorker-7] DEBUG ProxyServiceMessageReceiver Using the anonymous in-sequence of the proxy service for mediation 2009-03-17 10:36:18,655 [10.32.210.185-DHBH91D1] [HttpServerWorker-7] DEBUG SequenceMediator Start : Sequence <anonymous> 2009-03-17 10:36:18,655 [10.32.210.185-DHBH91D1] [HttpServerWorker-7] DEBUG SequenceMediator Sequence <SequenceMediator> :: mediate() 2009-03-17 10:36:18,655 [10.32.210.185-DHBH91D1] [HttpServerWorker-7] DEBUG HeaderMediator Start : Header mediator 2009-03-17 10:36:18,655 [10.32.210.185-DHBH91D1] [HttpServerWorker-7] DEBUG HeaderMediator Removing SOAP Header : {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wsse curity-secext-1.0.xsd}Security 2009-03-17 10:36:18,655 [10.32.210.185-DHBH91D1] [HttpServerWorker-7] DEBUG HeaderMediator End : Header mediator 2009-03-17 10:36:18,655 [10.32.210.185-DHBH91D1] [HttpServerWorker-7] DEBUG SendMediator Start : Send mediator 2009-03-17 10:36:18,655 [10.32.210.185-DHBH91D1] [HttpServerWorker-7] DEBUG EndpointContext Checking if endpoint : AnonymousEndpoint currently at state ACTIVE can be used now? 2009-03-17 10:36:18,655 [10.32.210.185-DHBH91D1] [HttpServerWorker-7] DEBUG AddressEndpoint Sending message through endpoint : null resolving to address = http://localhost:900 0/services/SimpleStockQuoteService 2009-03-17 10:36:18,655 [10.32.210.185-DHBH91D1] [HttpServerWorker-7] DEBUG AddressEndpoint SOAPAction: urn:getQuote 2009-03-17 10:36:18,655 [10.32.210.185-DHBH91D1] [HttpServerWorker-7] DEBUG AddressEndpoint WSA-Action: urn:getQuote 2009-03-17 10:36:18,655 [10.32.210.185-DHBH91D1] [HttpServerWorker-7] DEBUG Axis2FlexibleMEPClient Sending [add = false] [sec = false] [rm = false] [mtom = false] [swa = false ] [format = null] [force soap11=false] [force soap12=false] [pox=false] [get=false] [encoding=null] [to Address: /services/StockQuoteProxy] 2009-03-17 10:36:18,655 [10.32.210.185-DHBH91D1] [HttpServerWorker-7] DEBUG Axis2FlexibleMEPClient Message [Original Request Message ID : urn:uuid:D63904DD6764D064741237307776 561] [New Cloned Request Message ID : urn:uuid:6341E3FE478EE108FE6106727593873-758167442] 2009-03-17 10:36:18,655 [10.32.210.185-DHBH91D1] [HttpServerWorker-7] DEBUG SynapseCallbackReceiver Callback added. Total callbacks waiting for : 1 2009-03-17 10:36:18,671 [10.32.210.185-DHBH91D1] [HttpServerWorker-7] DEBUG SendMediator End : Send mediator 2009-03-17 10:36:18,671 [10.32.210.185-DHBH91D1] [HttpServerWorker-7] DEBUG SequenceMediator End : Sequence <anonymous> 2009-03-17 10:36:18,671 [10.32.210.185-DHBH91D1] [HttpClientWorker-2] DEBUG SynapseCallbackReceiver Callback removed for request message id : urn:uuid:6341E3FE478EE108FE610672 7593873-758167442. Pending callbacks count : 0 2009-03-17 10:36:18,671 [10.32.210.185-DHBH91D1] [HttpClientWorker-2] DEBUG SynapseCallbackReceiver Synapse received an asynchronous response message 2009-03-17 10:36:18,671 [10.32.210.185-DHBH91D1] [HttpClientWorker-2] DEBUG SynapseCallbackReceiver Request Message ID : urn:uuid:6341E3FE478EE108FE6106727593873-758167442 2009-03-17 10:36:18,671 [10.32.210.185-DHBH91D1] [HttpClientWorker-2] DEBUG SynapseCallbackReceiver Received To: null 2009-03-17 10:36:18,671 [10.32.210.185-DHBH91D1] [HttpClientWorker-2] DEBUG SynapseCallbackReceiver SOAPAction: 2009-03-17 10:36:18,671 [10.32.210.185-DHBH91D1] [HttpClientWorker-2] DEBUG SynapseCallbackReceiver WSA-Action: 2009-03-17 10:36:18,671 [10.32.210.185-DHBH91D1] [HttpClientWorker-2] DEBUG SynapseCallbackReceiver Body : <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server</fault code><faultstring>namespace mismatch require http://services.samples/xsd found http://www.w3.org/2001/04/xmlenc#</faultstring><detail /></soapenv:Fault></soapenv:Body></soapen v:Envelope> 2009-03-17 10:36:18,671 [10.32.210.185-DHBH91D1] [HttpClientWorker-2] DEBUG Axis2SynapseEnvironment Injecting MessageContext 2009-03-17 10:36:18,671 [10.32.210.185-DHBH91D1] [HttpClientWorker-2] DEBUG Axis2SynapseEnvironment Using the anonymous out-sequence specified in the proxy service StockQuoteP roxy for outgoing message mediation 2009-03-17 10:36:18,671 [10.32.210.185-DHBH91D1] [HttpClientWorker-2] DEBUG SequenceMediator Start : Sequence <anonymous> 2009-03-17 10:36:18,671 [10.32.210.185-DHBH91D1] [HttpClientWorker-2] DEBUG SequenceMediator Sequence <SequenceMediator> :: mediate() 2009-03-17 10:36:18,671 [10.32.210.185-DHBH91D1] [HttpClientWorker-2] DEBUG SendMediator Start : Send mediator 2009-03-17 10:36:18,671 [10.32.210.185-DHBH91D1] [HttpClientWorker-2] DEBUG SendMediator Sending response message using implicit message properties.. Sending To: http://www.w3.org/2005/08/addressing/anonymous SOAPAction: 2009-03-17 10:36:18,671 [10.32.210.185-DHBH91D1] [HttpClientWorker-2] DEBUG SendMediator End : Send mediator 2009-03-17 10:36:18,671 [10.32.210.185-DHBH91D1] [HttpClientWorker-2] DEBUG SequenceMediator End : Sequence <anonymous> 2009-03-17 10:43:53,374 [10.32.210.185-DHBH91D1] [HttpServerWorker-13] DEBUG ProxyServiceMessageReceiver Proxy Service StockQuoteProxy received a new message from : 127.0.0.1 2009-03-17 10:43:53,374 [10.32.210.185-DHBH91D1] [HttpServerWorker-13] DEBUG ProxyServiceMessageReceiver Message To: /services/StockQuoteProxy 2009-03-17 10:43:53,374 [10.32.210.185-DHBH91D1] [HttpServerWorker-13] DEBUG ProxyServiceMessageReceiver SOAPAction: urn:getQuote 2009-03-17 10:43:53,374 [10.32.210.185-DHBH91D1] [HttpServerWorker-13] DEBUG ProxyServiceMessageReceiver WSA-Action: urn:getQuote 2009-03-17 10:43:53,374 [10.32.210.185-DHBH91D1] [HttpServerWorker-13] DEBUG ProxyServiceMessageReceiver Using the anonymous in-sequence of the proxy service for mediation 2009-03-17 10:43:53,374 [10.32.210.185-DHBH91D1] [HttpServerWorker-13] DEBUG SequenceMediator Start : Sequence <anonymous> 2009-03-17 10:43:53,374 [10.32.210.185-DHBH91D1] [HttpServerWorker-13] DEBUG SequenceMediator Sequence <SequenceMediator> :: mediate() 2009-03-17 10:43:53,374 [10.32.210.185-DHBH91D1] [HttpServerWorker-13] DEBUG HeaderMediator Start : Header mediator 2009-03-17 10:43:53,374 [10.32.210.185-DHBH91D1] [HttpServerWorker-13] DEBUG HeaderMediator Removing SOAP Header : {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wss ecurity-secext-1.0.xsd}Security 2009-03-17 10:43:53,374 [10.32.210.185-DHBH91D1] [HttpServerWorker-13] DEBUG HeaderMediator End : Header mediator 2009-03-17 10:43:53,374 [10.32.210.185-DHBH91D1] [HttpServerWorker-13] DEBUG SendMediator Start : Send mediator 2009-03-17 10:43:53,374 [10.32.210.185-DHBH91D1] [HttpServerWorker-13] DEBUG EndpointContext Checking if endpoint : AnonymousEndpoint currently at state ACTIVE can be used now ? 2009-03-17 10:43:53,374 [10.32.210.185-DHBH91D1] [HttpServerWorker-13] DEBUG AddressEndpoint Sending message through endpoint : null resolving to address = http://localhost:90 00/services/SimpleStockQuoteService 2009-03-17 10:43:53,374 [10.32.210.185-DHBH91D1] [HttpServerWorker-13] DEBUG AddressEndpoint SOAPAction: urn:getQuote 2009-03-17 10:43:53,374 [10.32.210.185-DHBH91D1] [HttpServerWorker-13] DEBUG AddressEndpoint WSA-Action: urn:getQuote 2009-03-17 10:43:53,374 [10.32.210.185-DHBH91D1] [HttpServerWorker-13] DEBUG Axis2FlexibleMEPClient Sending [add = false] [sec = false] [rm = false] [mtom = false] [swa = fals e] [format = null] [force soap11=false] [force soap12=false] [pox=false] [get=false] [encoding=null] [to Address: /services/StockQuoteProxy] 2009-03-17 10:43:53,374 [10.32.210.185-DHBH91D1] [HttpServerWorker-13] DEBUG Axis2FlexibleMEPClient Message [Original Request Message ID : urn:uuid:68DF0C58DF2C918637123730823 1358] [New Cloned Request Message ID : urn:uuid:6341E3FE478EE108FE6561325809849439705342] 2009-03-17 10:43:53,390 [10.32.210.185-DHBH91D1] [HttpServerWorker-13] DEBUG SynapseCallbackReceiver Callback added. Total callbacks waiting for : 1 2009-03-17 10:43:53,390 [10.32.210.185-DHBH91D1] [HttpServerWorker-13] DEBUG SendMediator End : Send mediator 2009-03-17 10:43:53,390 [10.32.210.185-DHBH91D1] [HttpServerWorker-13] DEBUG SequenceMediator End : Sequence <anonymous> 2009-03-17 10:43:53,406 [10.32.210.185-DHBH91D1] [HttpClientWorker-3] DEBUG SynapseCallbackReceiver Callback removed for request message id : urn:uuid:6341E3FE478EE108FE656132 5809849439705342. Pending callbacks count : 0 2009-03-17 10:43:53,406 [10.32.210.185-DHBH91D1] [HttpClientWorker-3] DEBUG SynapseCallbackReceiver Synapse received an asynchronous response message 2009-03-17 10:43:53,406 [10.32.210.185-DHBH91D1] [HttpClientWorker-3] DEBUG SynapseCallbackReceiver Request Message ID : urn:uuid:6341E3FE478EE108FE6561325809849439705342 2009-03-17 10:43:53,406 [10.32.210.185-DHBH91D1] [HttpClientWorker-3] DEBUG SynapseCallbackReceiver Received To: null 2009-03-17 10:43:53,421 [10.32.210.185-DHBH91D1] [HttpClientWorker-3] DEBUG SynapseCallbackReceiver SOAPAction: 2009-03-17 10:43:53,421 [10.32.210.185-DHBH91D1] [HttpClientWorker-3] DEBUG SynapseCallbackReceiver WSA-Action: 2009-03-17 10:43:53,421 [10.32.210.185-DHBH91D1] [HttpClientWorker-3] DEBUG SynapseCallbackReceiver Body : <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server</fault code><faultstring>namespace mismatch require http://services.samples/xsd found http://www.w3.org/2001/04/xmlenc#</faultstring><detail /></soapenv:Fault></soapenv:Body></soapen v:Envelope> 2009-03-17 10:43:53,437 [10.32.210.185-DHBH91D1] [HttpClientWorker-3] DEBUG Axis2SynapseEnvironment Injecting MessageContext 2009-03-17 10:43:53,437 [10.32.210.185-DHBH91D1] [HttpClientWorker-3] DEBUG Axis2SynapseEnvironment Using the anonymous out-sequence specified in the proxy service StockQuoteP roxy for outgoing message mediation 2009-03-17 10:43:53,437 [10.32.210.185-DHBH91D1] [HttpClientWorker-3] DEBUG SequenceMediator Start : Sequence <anonymous> 2009-03-17 10:43:53,437 [10.32.210.185-DHBH91D1] [HttpClientWorker-3] DEBUG SequenceMediator Sequence <SequenceMediator> :: mediate() 2009-03-17 10:43:53,452 [10.32.210.185-DHBH91D1] [HttpClientWorker-3] DEBUG SendMediator Start : Send mediator 2009-03-17 10:43:53,452 [10.32.210.185-DHBH91D1] [HttpClientWorker-3] DEBUG SendMediator Sending response message using implicit message properties.. Sending To: http://www.w3.org/2005/08/addressing/anonymous SOAPAction: 2009-03-17 10:43:53,452 [10.32.210.185-DHBH91D1] [HttpClientWorker-3] DEBUG SendMediator End : Send mediator 2009-03-17 10:43:53,468 [10.32.210.185-DHBH91D1] [HttpClientWorker-3] DEBUG SequenceMediator End : Sequence <anonymous> -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Ruwan Linton Sent: Tuesday, March 17, 2009 10:38 AM To: [email protected] Subject: Re: [esb-java-dev] Sample 200 Now the security issues has been fixed, but it seems like you are using the wrong client command; it should be, ant stockquote -Dtrpurl=http://localhost:8280/services/StockQuoteProxy -Dpolicy=./../../repository/samples/resources/policy/client_policy_3.xml Could you please also attach the ESB log? Thanks, Ruwan Kattubadi Basher Ahamed wrote: > Ruwan, > I put that 2 .jar files to the security folder, > > I am getting this error > > Buildfile: build.xml > > init: > > compile: > > stockquote: > [java] 2009-03-17 10:14:40,788 [-] [main] ERROR SandeshaModule Could not > load module policies. Using default values. > [java] 2009-03-17 10:14:40,881 [-] [main] INFO MailTransportSender > MAILTO Sender started > [java] 2009-03-17 10:14:40,928 [-] [main] INFO JMSSender JMS Sender > started > [java] Using WS-Security > [java] 2009-03-17 10:14:44,409 [-] [main] ERROR AxisEngine Missing > wsse:Security header in request > [java] org.apache.axis2.AxisFault: Missing wsse:Security header in > request > [java] org.apache.axis2.AxisFault: Missing wsse:Security header in > request > [java] at > org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:166) > [java] at > org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:166) > [java] at > org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:99) > [java] at > org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:99) > [java] at org.apache.axis2.engine.Phase.invoke(Phase.java:317) > [java] at org.apache.axis2.engine.Phase.invoke(Phase.java:317) > [java] at > org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:264) > [java] at > org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:264) > [java] at > org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:163) > [java] at > org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:363) > [java] at > org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:416) > [java] at > org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228) > [java] at > org.apache.axis2.client.OperationClient.execute(OperationClient.java:163) > [java] at > org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:548) > [java] at > org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:528) > [java] at samples.userguide.StockQuoteClient.executeClient(Unknown > Source) > [java] at samples.userguide.StockQuoteClient.main(Unknown Source) > [java] Caused by: org.apache.rampart.RampartException: Missing > wsse:Security header in request > [java] at > org.apache.rampart.RampartEngine.process(RampartEngine.java:118) > [java] at > org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92) > [java] ... 11 more > [java] at > org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:163) > [java] at > org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:363) > [java] at > org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:416) > [java] at > org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228) > [java] at > org.apache.axis2.client.OperationClient.execute(OperationClient.java:163) > [java] at > org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:548) > [java] at > org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:528) > [java] at samples.userguide.StockQuoteClient.executeClient(Unknown > Source) > [java] at samples.userguide.StockQuoteClient.main(Unknown Source) > [java] Caused by: org.apache.rampart.RampartException: Missing > wsse:Security header in request > [java] at > org.apache.rampart.RampartEngine.process(RampartEngine.java:118) > [java] at > org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92) > [java] ... 11 more > > BUILD SUCCESSFUL > > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Ruwan Linton > Sent: Tuesday, March 17, 2009 10:09 AM > To: [email protected] > Subject: Re: [esb-java-dev] Sample 200 > > Kattubadi Basher Ahamed wrote: > >> HI, >> I am trying to do sample Sample 200: Using WS-Security with policy >> attachments for proxy services >> >> Prerequisites: >> You may also need to download and install the unlimited strength >> policy files for your JDK before using Apache Rampart (e.g. see >> http://java.sun.com/javase/downloads/index_jdk5.jsp) >> >> SO , I download this (Other Downloads Java Cryptography Extension >> (JCE) Unlimited Strength Jurisdiction Policy Files 5.0) and unzip and put >> jce folder in java home >> >> > You need to put the two jar files in the jce folder to the jre/lib/security > directory and the following error is simply due to the misconfiguration of > the unlimited strength policy files. > > Thanks, > Ruwan > >> Start the Synapse configuration numbered 200: i.e. wso2server >> -Desb.sample=200 Start the Axis2 server and deploy the >> SimpleStockQuoteService if not already done And Client ant stockquote >> -Dtrpurl=http://localhost:8280/services/StockQuoteProxy >> -Dpolicy=./../../repository/samples/resources/policy/client_policy_3. >> x >> ml >> >> >> I am getting bellow error:$$$$$$$$$$$ >> >> C:\DownLoad\BEA_Tools\WS02\wso2esb-2.0.1\samples\axis2Client>ant >> stockquote -Dtrpurl=http://localhost:8280/services/StockQuoteProxy >> -Dpolicy=./../../repository/samples/resourc >> es/policy/client_policy_3.xml >> Buildfile: build.xml >> >> init: >> >> compile: >> >> stockquote: >> [java] 2009-03-17 09:42:53,735 [-] [main] ERROR SandeshaModule Could >> not load module policies. Using default values. >> [java] 2009-03-17 09:42:53,829 [-] [main] INFO MailTransportSender >> MAILTO Sender started >> [java] 2009-03-17 09:42:53,860 [-] [main] INFO JMSSender JMS Sender >> started >> [java] Using WS-Security >> [java] org.apache.axis2.AxisFault: Error during encryption >> [java] at >> org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:70) >> [java] at org.apache.axis2.engine.Phase.invoke(Phase.java:317) >> [java] at >> org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:264) >> [java] at >> org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:429) >> [java] at >> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:401) >> [java] at >> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228) >> [java] at >> org.apache.axis2.client.OperationClient.execute(OperationClient.java:163) >> [java] at >> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:548) >> [java] at >> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:528) >> [java] at samples.userguide.StockQuoteClient.executeClient(Unknown >> Source) >> [java] at samples.userguide.StockQuoteClient.main(Unknown Source) >> [java] Caused by: org.apache.rampart.RampartException: Error during >> encryption >> [java] at >> org.apache.rampart.builder.AsymmetricBindingBuilder.doSignBeforeEncrypt(AsymmetricBindingBuilder.java:544) >> [java] at >> org.apache.rampart.builder.AsymmetricBindingBuilder.build(AsymmetricBindingBuilder.java:93) >> [java] at >> org.apache.rampart.MessageBuilder.build(MessageBuilder.java:147) >> [java] at >> org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:64) >> [java] ... 10 more >> [java] Caused by: org.apache.ws.security.WSSecurityException: Cannot >> encrypt data; nested exception is: >> [java] org.apache.xml.security.encryption.XMLEncryptionException: >> Illegal key size or default parameters >> [java] Original Exception was java.security.InvalidKeyException: >> Illegal key size or default parameters >> [java] at >> org.apache.ws.security.message.WSSecEncrypt.doEncryption(WSSecEncrypt.java:571) >> [java] at >> org.apache.ws.security.message.WSSecEncrypt.doEncryption(WSSecEncrypt.java:458) >> [java] at >> org.apache.ws.security.message.WSSecEncrypt.encryptForInternalRef(WSSecEncrypt.java:355) >> [java] at >> org.apache.rampart.builder.AsymmetricBindingBuilder.doSignBeforeEncrypt(AsymmetricBindingBuilder.java:530) >> [java] ... 13 more >> [java] Caused by: >> org.apache.xml.security.encryption.XMLEncryptionException: Illegal key size >> or default parameters >> [java] Original Exception was java.security.InvalidKeyException: >> Illegal key size or default parameters >> [java] at >> org.apache.xml.security.encryption.XMLCipher.encryptData(Unknown Source) >> [java] at >> org.apache.xml.security.encryption.XMLCipher.encryptData(Unknown Source) >> [java] at >> org.apache.xml.security.encryption.XMLCipher.encryptElementContent(Unknown >> Source) >> [java] at >> org.apache.xml.security.encryption.XMLCipher.doFinal(Unknown Source) >> [java] at >> org.apache.ws.security.message.WSSecEncrypt.doEncryption(WSSecEncrypt.java:564) >> [java] ... 16 more >> >> BUILD SUCCESSFUL >> >> _______________________________________________ >> Esb-java-dev mailing list >> [email protected] >> https://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev >> >> >> > > > -- > Ruwan Linton > Senior Software Engineer & Product Manager; WSO2 ESB; > http://wso2.org/esb > WSO2 Inc.; http://wso2.org > email: [email protected]; cell: +94 77 341 3097 > blog: http://ruwansblog.blogspot.com > > > _______________________________________________ > Esb-java-dev mailing list > [email protected] > https://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev > > _______________________________________________ > Esb-java-dev mailing list > [email protected] > https://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev > > -- Ruwan Linton Senior Software Engineer & Product Manager; WSO2 ESB; http://wso2.org/esb WSO2 Inc.; http://wso2.org email: [email protected]; cell: +94 77 341 3097 blog: http://ruwansblog.blogspot.com _______________________________________________ Esb-java-dev mailing list [email protected] https://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev _______________________________________________ Esb-java-dev mailing list [email protected] https://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev
