I am trying to turn encryption off on the echo service messages by removing
EncryptedParts (and also EncryptSignature and MustSupportRefEncryptedKey,
just to be sure) from scenario17-policy.xml (the policy I am using for the
echo service) and service.policy.xml. But after I do that the echo
invocation fails with the following error message:

Exception in thread "main" org.apache.axis2.AxisFault: Expected encrypted
part missing
        at
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:512)
        at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:370)
        at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:416)
        at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)
        at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
        at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:548)
        at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:528)
        at org.wso2.wsas.sample.sts.client.Client.main(Client.java:120)

Why is it expecting an encrypted part when I turned encryption off in the
policies?

Thank you,
Ugo
-- 
View this message in context: 
http://www.nabble.com/Problem-turning-encryption-off-in-sts-sample-tp21628022p21628022.html
Sent from the WSO2 WSAS Users mailing list archive at Nabble.com.


_______________________________________________
Wsas-java-user mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/wsas-java-user

Reply via email to