Tuesday, July 17, 2012

WSO2 ESB Proxy Services with Custom URLs

The URL of a proxy service can be customized.  If you want to get an understanding about proxy services refer this post  (http://achala11.blogspot.com/2012/07/proxy-services-with-wso2-esb.html).


Add the following to the axis2.xml
<handler name="CustomURIBasedDispatcher"
                     class="org.apache.synapse.core.axis2.CustomURIBasedDispatcher"/>

The dispatcher should be inserted in to the In-Flow of the ESB as the first handler(at the Dispatch phase).

Add the following parameter to the proxy service.
 <parameter name="ServiceURI">customurl</parameter>


This is explained in a details manner here

http://wso2.com/products/enterprise-service-bus/
http://wso2.org/library/knowledge-base/2011/01/custom-urls-wso2-esb-proxy-services

No comments:

Post a Comment

Using Zotero for academic writing