variables - WSO2 ESB - how to dynamically set value to WSDL Endpoint URI using Property Meditor -
i have endpoint (wsdl) following settings:
<endpoint> <wsdl port="portname" service="servicename" uri="http://example.com/services/service1.wsdl"/> </endpoint>
and have separate xml file containing settings 3 attributes: uri, service, , port. can value xml.
<property expression="get-property('registry','gov:trunk/services/config.xml')" name="gc" scope="default" type="om"/> <log level="custom"> <property expression="$ctx:gc//wsdl//uri" name="uri"/> <property expression="$ctx:gc//wsdl//service" name="service"/> <property expression="$ctx:gc//wsdl//port" name="port"/> </log>
now, question is: how set 3 values dynamically endpoint?
i need endpoint once, , there no need create template purpose, can't find resource me that.
can share knowledge , experience?
thanks
Comments
Post a Comment