I'm trying to do REST < -> REST proxying (looking forward to the new stuff in
4.0.3 BTW).
The whole:
/services/SERVICE.SERVICEHttpEndpoint thing is ugly though.
So this morning I thought, hey, why don't I use the URLRewrite on the main
sequence to rewrite it?
Seems easy, right?
I figured I could just change /serviceproxy to
/services/service.servicehttpendpoint in the main sequence.
<sequence xmlns="http://ws.apache.org/ns/synapse" name="main" trace="enable">
<in>
<log level="full" />
<rewrite>
<rewriterule>
<action value="services/SERVICE.SERVICEHttpEndpoint"
regex="serviceproxy" type="replace" fragment="path" />
</rewriterule>
</rewrite>
<log level="full" />
</in>
<out>
<send />
</out>
<description>The main sequence for the message mediation</description>
</sequence>
It's not working for me though. Am I missing something?
Pierce
_______________________________________________
Esb-java-user mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/esb-java-user