HHhhhmmm, it seems like security is not engaged for the proxy service 
:-( . Have you modified the sample configuration other than the 2 log 
mediators? Or have you tried to do anything with the admin console. 
please check whether security is engaged for the proxy service..

Thanks,
Ruwan

Kattubadi Basher Ahamed wrote:
> Here are the logs , I added 2 logs before and after Header remove
>
> 009-03-17 11:06:32,643 [10.32.210.185-DHBH91D1] [HttpServerWorker-3] DEBUG 
> ProxyServiceMessageReceiver Proxy Service StockQuoteProxy received a new 
> message from : 127.0.0.1
> 009-03-17 11:06:32,643 [10.32.210.185-DHBH91D1] [HttpServerWorker-3] DEBUG 
> ProxyServiceMessageReceiver Message To: /services/StockQuoteProxy
> 009-03-17 11:06:32,643 [10.32.210.185-DHBH91D1] [HttpServerWorker-3] DEBUG 
> ProxyServiceMessageReceiver SOAPAction: urn:getQuote
> 009-03-17 11:06:32,643 [10.32.210.185-DHBH91D1] [HttpServerWorker-3] DEBUG 
> ProxyServiceMessageReceiver WSA-Action: urn:getQuote
> 009-03-17 11:06:32,643 [10.32.210.185-DHBH91D1] [HttpServerWorker-3] DEBUG 
> ProxyServiceMessageReceiver Using the anonymous in-sequence of the proxy 
> service for mediation
> 009-03-17 11:06:32,659 [10.32.210.185-DHBH91D1] [HttpServerWorker-3] DEBUG 
> SequenceMediator Start : Sequence <anonymous>
> 009-03-17 11:06:32,659 [10.32.210.185-DHBH91D1] [HttpServerWorker-3] DEBUG 
> SequenceMediator Sequence <SequenceMediator> :: mediate()
> 009-03-17 11:06:32,659 [10.32.210.185-DHBH91D1] [HttpServerWorker-3] DEBUG 
> LogMediator Start : Log mediator
> 009-03-17 11:06:32,659 [10.32.210.185-DHBH91D1] [HttpServerWorker-3]  INFO 
> LogMediator To: /services/StockQuoteProxy, WSAction: urn:getQuote, 
> SOAPAction: urn:getQuote, ReplyT
> : http://www.w3.org/2005/08/addressing/anonymous, MessageID: 
> urn:uuid:23ECBB2508B574382D1237309590471, Direction: request, Envelope: <?xml 
> version='1.0' encoding='utf-8'?><so
> penv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
> xmlns:xenc="http://www.w3.org/2001/04/xmlenc#";><soapenv:Header 
> xmlns:wsa="http://www.w3.org/2005/08/ad
> ressing">
> wsse:Security 
> xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
>  soapenv:mustUnderstand="1"><wsu:Timestamp xmlns:wsu="http://docs.
> asis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" 
> wsu:Id="Timestamp-32788167"><wsu:Created>2009-03-17T17:06:31.378Z</wsu:Created><wsu:Expires>2009-03-17T
> 7:11:31.378Z</wsu:Expires></wsu:Timestamp><xenc:EncryptedKey 
> Id="EncKeyId-urn:uuid:C4B9F1ACB7C2A2B58412373095922222">
> xenc:EncryptionMethod 
> Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p"; />
> ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#";>
> wsse:SecurityTokenReference><wsse:KeyIdentifier 
> EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary";
>  ValueType="http:
> /docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509SubjectKeyIdentifier">Xeg55vRyK3ZhAEhEf+YT0z986L0=</wsse:KeyIdentifier></wsse:SecurityTokenRefere
> ce>
> /ds:KeyInfo>
> xenc:CipherData><xenc:CipherValue>PorL+YuPulM337ZYPR+gxbpaFV7Z0dJ52o85+X/E2MOkXrEAfjQduU1ED3cO9ptUaXQmIZ0xSDea3g39mXAZTjLOeh2fkJqgwMCFMn68e3oAnHBLvjUu9E6TjNoengzD8oJjJwqhyk7M
> rRYKcW5wjBU0LvMbldMHY8S/GlyQJE=</xenc:CipherValue></xenc:CipherData><xenc:ReferenceList><xenc:DataReference
>  URI="#EncDataId-29530019" /></xenc:ReferenceList></xenc:EncryptedK
> y><wsse:BinarySecurityToken 
> xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
>  EncodingType="http://docs.oasis-open.org/wss/2004/0
> /oasis-200401-wss-soap-message-security-1.0#Base64Binary" 
> ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3";
>  wsu:Id="CertId-177
> 694">MIIDDDCCAfSgAwIBAgIQM6YEf7FVYx/tZyEXgVComTANBgkqhkiG9w0BAQUFADAwMQ4wDAYDVQQKDAVPQVNJUzEeMBwGA1UEAwwVT0FTSVMgSW50ZXJvcCBUZXN0IENBMB4XDTA1MDMxOTAwMDAwMFoXDTE4MDMxOTIzNTk1O
> owQjEOMAwGA1UECgwFT0FTSVMxIDAeBgNVBAsMF09BU0lTIEludGVyb3AgVGVzdCBDZXJ0MQ4wDAYDVQQDDAVBbGljZTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAoqi99By1VYo0aHrkKCNT4DkIgPL/SgahbeKdGhrbu3K2
> G7arfD9tqIBIKMfrX4Gp90NJa85AV1yiNsEyvq+mUnMpNcKnLXLOjkTmMCqDYbbkehJlXPnaWLzve+mW0pJdPxtf3rbD4PS/cBQIvtpjmrDAU8VsZKT8DN5Kyz+EZsCAwEAAaOBkzCBkDAJBgNVHRMEAjAAMDMGA1UdHwQsMCowKKI
> hiRodHRwOi8vaW50ZXJvcC5iYnRlc3QubmV0L2NybC9jYS5jcmwwDgYDVR0PAQH/BAQDAgSwMB0GA1UdDgQWBBQK4l0TUHZ1QV3V2QtlLNDm+PoxiDAfBgNVHSMEGDAWgBTAnSj8wes1oR3WqqqgHBpNwkkPDzANBgkqhkiG9w0BAQ
> FAAOCAQEABTqpOpvW+6yrLXyUlP2xJbEkohXHI5OWwKWleOb9hlkhWntUalfcFOJAgUyH30TTpHldzx1+vK2LPzhoUFKYHE1IyQvokBN2JjFO64BQukCKnZhldLRPxGhfkTdxQgdf5rCK/wh3xVsZCNTfuMNmlAM6lOAg8QduDah3W
> ZpEA0s2nwQaCNQTNMjJC8tav1CBr6+E5FAmwPXP7pJxn9Fw9OXRyqbRA4v2y7YpbGkG2GI9UvOHw6SGvf4FRSthMMO35YbpikGsLix3vAsXWWi4rwfVOYzQK0OFPNi9RMCUdSH06m9uLWckiCxjos0FQODZE9l4ATGy9s9hNVwryOJ
> w==</wsse:BinarySecurityToken><ds:Signature 
> xmlns:ds="http://www.w3.org/2000/09/xmldsig#"; Id="Signature-13182215">
> ds:SignedInfo>
>
> ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"; 
> />
> ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"; />
> ds:Reference URI="#Id-29530019">
> ds:Transforms>
> ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"; />
> /ds:Transforms>
> ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"; />
> ds:DigestValue>f01PMbDybTrUUmMeERYkYG6qPBI=</ds:DigestValue>
> /ds:Reference>
> ds:Reference URI="#Timestamp-32788167">
> ds:Transforms>
> ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"; />
> /ds:Transforms>
> ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"; />
> ds:DigestValue>X6GQMETfDcwaqgDsttINBM8P5qQ=</ds:DigestValue>
> /ds:Reference>
> /ds:SignedInfo>
> ds:SignatureValue>
> n58d+OSjyv7+CNBqTWeQBaE6xzzJSSCws9TXYM0Ei+bZv2gyIbEqnnq7OYIFbjRG7URacoE/da+
> Giu+RyHR8bY2sATYWmYzAsX2BHDMzOMW9LniQTyy9T1KQqiC7PWuYgG33QfUr50CisXbc3uA9lU
> mrApF9JYVerPHN6JUI=
> /ds:SignatureValue>
> ds:KeyInfo Id="KeyId-9105104">
> wsse:SecurityTokenReference 
> xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
>  wsu:Id="STRId-15021407"><wsse:Reference URI="#CertI
> -1776694" 
> ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3";
>  /></wsse:SecurityTokenReference>
> /ds:KeyInfo>
> /ds:Signature></wsse:Security><wsa:MessageID>urn:uuid:23ECBB2508B574382D1237309590471</wsa:MessageID><wsa:Action>urn:getQuote</wsa:Action></soapenv:Header><soapenv:Body
>  xmlns
> wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
>  wsu:Id="Id-29530019"><xenc:EncryptedData Id="EncDataId-29530019" 
> Type="http://www.w3.
> rg/2001/04/xmlenc#Content"><xenc:EncryptionMethod 
> Algorithm="http://www.w3.org/2001/04/xmlenc#aes256-cbc"; /><ds:KeyInfo 
> xmlns:ds="http://www.w3.org/2000/09/xmldsig#";>
> wsse:SecurityTokenReference 
> xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";><wsse:Reference
>  URI="#EncKeyId-urn:uuid:C4B9F1ACB7C
> A2B58412373095922222" /></wsse:SecurityTokenReference>
> /ds:KeyInfo><xenc:CipherData><xenc:CipherValue>yMzsCAU9z99yoPSg5KXL2hZyAH5RDZJyZKSBtiu60puARzNzeWbPeCJLDVop9Xc8rlbhw1x+JIpC
> cOGiEqngPyVCrWJiZi28JozlswO/rYRJnZAlvHt0UrrAA0u0bin99oEYSqSI32WTNOaY+i47N0x
> 8B71tI0EksrLNw4Km1TigtNleOaJGiqcsVntBHHr//Rs0pnAeyMgBb/0dP9OUIgrtmvEb7Big4H
> aUqh7G9DwFfCvdUmOZoNWTU5BJtejNhKp7VrUcY0QYz9ZkiEhnjbtKiSfPuaxDKYGmXvtjZlneY
> Eef6vBq93b0aLROVGQF0JxPGVdBiD5Vh7Y++wXmjThqwwMuGNdMo5TssQYaLUzzNWPThwZwGAGc
> Yore3A98rEZo4TsgbcTkZL7xBeZ0ZWuU4S/hUCUVUWCtt2AaOB0a4bZDTblyhTAwyu4</xenc:CipherValue></xenc:CipherData></xenc:EncryptedData></soapenv:Body></soapenv:Envelope>
> 009-03-17 11:06:32,659 [10.32.210.185-DHBH91D1] [HttpServerWorker-3] DEBUG 
> LogMediator End : Log mediator
> 009-03-17 11:06:32,659 [10.32.210.185-DHBH91D1] [HttpServerWorker-3] DEBUG 
> HeaderMediator Start : Header mediator
> 009-03-17 11:06:32,659 [10.32.210.185-DHBH91D1] [HttpServerWorker-3] DEBUG 
> HeaderMediator Removing SOAP Header : 
> {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wsse
> urity-secext-1.0.xsd}Security
> 009-03-17 11:06:32,659 [10.32.210.185-DHBH91D1] [HttpServerWorker-3] DEBUG 
> HeaderMediator End : Header mediator
> 009-03-17 11:06:32,659 [10.32.210.185-DHBH91D1] [HttpServerWorker-3] DEBUG 
> LogMediator Start : Log mediator
> 009-03-17 11:06:32,675 [10.32.210.185-DHBH91D1] [HttpServerWorker-3]  INFO 
> LogMediator To: /services/StockQuoteProxy, WSAction: urn:getQuote, 
> SOAPAction: urn:getQuote, ReplyT
> : http://www.w3.org/2005/08/addressing/anonymous, MessageID: 
> urn:uuid:23ECBB2508B574382D1237309590471, Direction: request, Envelope: <?xml 
> version='1.0' encoding='utf-8'?><so
> penv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
> xmlns:xenc="http://www.w3.org/2001/04/xmlenc#";><soapenv:Header 
> xmlns:wsa="http://www.w3.org/2005/08/ad
> ressing">
> wsa:MessageID>urn:uuid:23ECBB2508B574382D1237309590471</wsa:MessageID><wsa:Action>urn:getQuote</wsa:Action></soapenv:Header><soapenv:Body
>  xmlns:wsu="http://docs.oasis-open.or
> /wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" 
> wsu:Id="Id-29530019"><xenc:EncryptedData Id="EncDataId-29530019" 
> Type="http://www.w3.org/2001/04/xmlenc#Content";><xe
> c:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes256-cbc"; 
> /><ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#";>
> wsse:SecurityTokenReference 
> xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";><wsse:Reference
>  URI="#EncKeyId-urn:uuid:C4B9F1ACB7C
> A2B58412373095922222" /></wsse:SecurityTokenReference>
> /ds:KeyInfo><xenc:CipherData><xenc:CipherValue>yMzsCAU9z99yoPSg5KXL2hZyAH5RDZJyZKSBtiu60puARzNzeWbPeCJLDVop9Xc8rlbhw1x+JIpC
> cOGiEqngPyVCrWJiZi28JozlswO/rYRJnZAlvHt0UrrAA0u0bin99oEYSqSI32WTNOaY+i47N0x
> 8B71tI0EksrLNw4Km1TigtNleOaJGiqcsVntBHHr//Rs0pnAeyMgBb/0dP9OUIgrtmvEb7Big4H
> aUqh7G9DwFfCvdUmOZoNWTU5BJtejNhKp7VrUcY0QYz9ZkiEhnjbtKiSfPuaxDKYGmXvtjZlneY
> Eef6vBq93b0aLROVGQF0JxPGVdBiD5Vh7Y++wXmjThqwwMuGNdMo5TssQYaLUzzNWPThwZwGAGc
> Yore3A98rEZo4TsgbcTkZL7xBeZ0ZWuU4S/hUCUVUWCtt2AaOB0a4bZDTblyhTAwyu4</xenc:CipherValue></xenc:CipherData></xenc:EncryptedData></soapenv:Body></soapenv:Envelope>
> 009-03-17 11:06:32,675 [10.32.210.185-DHBH91D1] [HttpServerWorker-3] DEBUG 
> LogMediator End : Log mediator
> 009-03-17 11:06:32,675 [10.32.210.185-DHBH91D1] [HttpServerWorker-3] DEBUG 
> SendMediator Start : Send mediator
> 009-03-17 11:06:32,675 [10.32.210.185-DHBH91D1] [HttpServerWorker-3] DEBUG 
> EndpointContext Checking if endpoint : AnonymousEndpoint currently at state 
> ACTIVE can be used now?
>
> 009-03-17 11:06:32,675 [10.32.210.185-DHBH91D1] [HttpServerWorker-3] DEBUG 
> AddressEndpoint Sending message through endpoint : null resolving to address 
> = http://localhost:900
> /services/SimpleStockQuoteService
> 009-03-17 11:06:32,675 [10.32.210.185-DHBH91D1] [HttpServerWorker-3] DEBUG 
> AddressEndpoint SOAPAction: urn:getQuote
> 009-03-17 11:06:32,675 [10.32.210.185-DHBH91D1] [HttpServerWorker-3] DEBUG 
> AddressEndpoint WSA-Action: urn:getQuote
> 009-03-17 11:06:32,675 [10.32.210.185-DHBH91D1] [HttpServerWorker-3] 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]
> 009-03-17 11:06:32,675 [10.32.210.185-DHBH91D1] [HttpServerWorker-3] DEBUG 
> Axis2FlexibleMEPClient Message [Original Request Message ID : 
> urn:uuid:23ECBB2508B574382D1237309590
> 71] [New Cloned Request Message ID : 
> urn:uuid:6341E3FE478EE108FE7920168926786-1536610984]
> 009-03-17 11:06:32,675 [10.32.210.185-DHBH91D1] [HttpServerWorker-3] DEBUG 
> SynapseCallbackReceiver Callback added. Total callbacks waiting for : 1
> 009-03-17 11:06:32,675 [10.32.210.185-DHBH91D1] [HttpServerWorker-3] DEBUG 
> SendMediator End : Send mediator
> 009-03-17 11:06:32,675 [10.32.210.185-DHBH91D1] [HttpServerWorker-3] DEBUG 
> SequenceMediator End : Sequence <anonymous>
> 009-03-17 11:06:32,690 [10.32.210.185-DHBH91D1] [HttpClientWorker-5] DEBUG 
> SynapseCallbackReceiver Callback removed for request message id : 
> urn:uuid:6341E3FE478EE108FE792016
> 926786-1536610984. Pending callbacks count : 0
> 009-03-17 11:06:32,690 [10.32.210.185-DHBH91D1] [HttpClientWorker-5] DEBUG 
> SynapseCallbackReceiver Synapse received an asynchronous response message
> 009-03-17 11:06:32,690 [10.32.210.185-DHBH91D1] [HttpClientWorker-5] DEBUG 
> SynapseCallbackReceiver Request Message ID : 
> urn:uuid:6341E3FE478EE108FE7920168926786-1536610984
> 009-03-17 11:06:32,690 [10.32.210.185-DHBH91D1] [HttpClientWorker-5] DEBUG 
> SynapseCallbackReceiver Received To: null
> 009-03-17 11:06:32,690 [10.32.210.185-DHBH91D1] [HttpClientWorker-5] DEBUG 
> SynapseCallbackReceiver SOAPAction:
> 009-03-17 11:06:32,690 [10.32.210.185-DHBH91D1] [HttpClientWorker-5] DEBUG 
> SynapseCallbackReceiver WSA-Action:
> 009-03-17 11:06:32,690 [10.32.210.185-DHBH91D1] [HttpClientWorker-5] 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
> ode><faultstring>namespace mismatch require http://services.samples/xsd found 
> http://www.w3.org/2001/04/xmlenc#</faultstring><detail 
> /></soapenv:Fault></soapenv:Body></soapen
> :Envelope>
> 009-03-17 11:06:32,690 [10.32.210.185-DHBH91D1] [HttpClientWorker-5] DEBUG 
> Axis2SynapseEnvironment Injecting MessageContext
> 009-03-17 11:06:32,690 [10.32.210.185-DHBH91D1] [HttpClientWorker-5] DEBUG 
> Axis2SynapseEnvironment Using the anonymous out-sequence specified in the 
> proxy service StockQuoteP
> oxy for outgoing message mediation
> 009-03-17 11:06:32,690 [10.32.210.185-DHBH91D1] [HttpClientWorker-5] DEBUG 
> SequenceMediator Start : Sequence <anonymous>
> 009-03-17 11:06:32,690 [10.32.210.185-DHBH91D1] [HttpClientWorker-5] DEBUG 
> SequenceMediator Sequence <SequenceMediator> :: mediate()
> 009-03-17 11:06:32,690 [10.32.210.185-DHBH91D1] [HttpClientWorker-5] DEBUG 
> SendMediator Start : Send mediator
> 009-03-17 11:06:32,690 [10.32.210.185-DHBH91D1] [HttpClientWorker-5] DEBUG 
> SendMediator Sending response message using implicit message properties..
> ending To: http://www.w3.org/2005/08/addressing/anonymous
> OAPAction:
> 009-03-17 11:06:32,690 [10.32.210.185-DHBH91D1] [HttpClientWorker-5] DEBUG 
> SendMediator End : Send mediator
> 009-03-17 11:06:32,690 [10.32.210.185-DHBH91D1] [HttpClientWorker-5] DEBUG 
> SequenceMediator End : Sequence <anonymous>
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On 
> Behalf Of Ruwan Linton
> Sent: Tuesday, March 17, 2009 11:01 AM
> To: [email protected]
> Subject: Re: [esb-java-dev] Sample 200
>
> Could you please add 2 log mediators one before the header removal and one 
> after the header removal to the sample 200 configuration and run this 
> again... please attach the ESB log after doing so.
>
> Thanks,
> Ruwan
>
> Kattubadi Basher Ahamed wrote:
>   
>> I am using
>> ant stockquote -Dtrpurl=http://localhost:8280/services/StockQuoteProxy
>> -Dpolicy=./../../repository/samples/resources/policy/client_policy_3.x
>> ml
>>
>>
>>
>> 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:Bod
>> y><soapenv:Fault><faultcode>soapenv:Server</fault
>> code><faultstring>namespace mismatch require
>> code>http://services.samples/xsd found
>> code>http://www.w3.org/2001/04/xmlenc#</faultstring><detail
>> code>/></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:Bod
>> y><soapenv:Fault><faultcode>soapenv:Server</fault
>> code><faultstring>namespace mismatch require
>> code>http://services.samples/xsd found
>> code>http://www.w3.org/2001/04/xmlenc#</faultstring><detail
>> code>/></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.x
>> ml
>>
>>
>> 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
>>
>>
>>     
>
>
> --
> 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

Reply via email to