stlecho wrote:
Rowan,

Ruwan Linton-3 wrote:
Rather we only take one policy and applies to the service so that the same
policy will be applied to both in and out messages. This should be a
trivial fix but requires some testing, so I will start work on this,
because this is critical to you.


Did you had the time to fix this in version 1.7beta 2 ?
Yes it does. Following is the configuration of a policy element of the proxy service;

<policy key="string" [type="(in | out)"] [operationName="string"] [operationNamespace="string"]/>

The optional type attribute defines the message type (either in or out) on which this policy will be applied where as the operationName and the operationNamespace attributes specifies the operation QName for which this particular policy is applied.

If only the type is specified all operations are treated with the policy for the specified message type. Where as if only the operation QName (name and namespace) is specified both in and out messages of that operation is treated with the give policy. If all of the above attributes are present obviously the message type of the specified operation is treated with the policy. (For example in message of the getQuote operation)

Thanks,
Rwuan

Regards, Stefan Lecho.



_______________________________________________
Esb-java-user mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Reply via email to