stlecho wrote:
Ruwan,

I've changed my proxy definition to include the "<syn:policy key=""..."
type="out">" configuration. I'm not sure that it works, because I'm blocked
by the following issue:
http://www.nabble.com/Control-chunked-encoding-td16092138.html.
You should be able to use the solution that I have proposed.
Will it be possible to use the GUI to configure the policy to be applied for
a proxy or should I stick to a manual edition of the synapse.xml file ?
I think you should do it on the native configuration, UI does not support this for the moment. I will do it ASAP on the UI.

Thanks,
Ruwan
Regards, Stefan.


Ruwan Linton-3 wrote:
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





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

Reply via email to