Ugo,
     Did you apply the policy using the web console ? Did you change the
service policy using the edit policy functionality ? When you look at the
policy in the WSDL of the service does it
show the modifications ?

thanks,
nandana

On Fri, Jan 23, 2009 at 10:09 PM, Ugo <[email protected]> wrote:

>
> 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.
> lgetInboundFaultFromMessageContext(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
>



-- 
Nandana Mihindukulasooriya
WSO2 inc.

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

Reply via email to