Hi Dushan/Malaka, So, is it not possible to achieve the $subject? Any workaround at least?
Thanks, Bhathiya On Mon, Aug 24, 2015 at 4:34 PM, Bhathiya Jayasekara <[email protected]> wrote: > Hi Dushan, > > The initial service URL[1] can be different from account to account. Hence > the requirement. > > Thanks, > Bhathiya > > On Mon, Aug 24, 2015 at 4:26 PM, Dushan Abeyruwan <[email protected]> wrote: > >> Hi >> Why you need like that ? >> SF connector we have uses initial service URL at init [1] and upon >> successfully authenticate all the other operations other than >> salesforce.init will use dynamic url return from authenticate requests >> (extracting from response payload).[2] >> >> init >> >> <property expression="//ns:loginResponse/ns:result/ns:serverUrl/text()" >> name="salesforce.serviceUrl" scope="operation" type="STRING" >> xmlns:ns="urn:partner.soap.sforce.com" /> >> >> <property name="salesforce.login.done" scope="operation" >> type="STRING" value="true" /> >> >> >> [1] https://login.salesforce.com/services/Soap/u/27.0 >> [2] >> https://github.com/wso2-dev/esb-connectors/blob/master/salesforce/1.0.0/src/main/resources/salesforce/init.xml >> >> Cheers, >> Dushan >> >> On Mon, Aug 24, 2015 at 4:12 PM, Bhathiya Jayasekara <[email protected]> >> wrote: >> >>> Hi all, >>> >>> Is there a way to store Salesforce endpoint in registry, and refer to >>> that in "init" block of connector? >>> >>> Thanks, >>> -- >>> *Bhathiya Jayasekara* >>> *Senior Software Engineer,* >>> *WSO2 inc., http://wso2.com <http://wso2.com>* >>> >>> *Phone: +94715478185 <%2B94715478185>* >>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj >>> <http://www.linkedin.com/in/bhathiyaj>* >>> *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>* >>> *Blog: http://movingaheadblog.blogspot.com >>> <http://movingaheadblog.blogspot.com/>* >>> >> >> >> >> -- >> Dushan Abeyruwan | Technical Lead >> Technical Support-Bloomington US >> PMC Member Apache Synpase >> WSO2 Inc. http://wso2.com/ >> Blog:*http://www.dushantech.com/ <http://www.dushantech.com/>* >> Mobile:(001)812-391-7441 >> >> > > > -- > *Bhathiya Jayasekara* > *Senior Software Engineer,* > *WSO2 inc., http://wso2.com <http://wso2.com>* > > *Phone: +94715478185 <%2B94715478185>* > *LinkedIn: http://www.linkedin.com/in/bhathiyaj > <http://www.linkedin.com/in/bhathiyaj>* > *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>* > *Blog: http://movingaheadblog.blogspot.com > <http://movingaheadblog.blogspot.com/>* > -- *Bhathiya Jayasekara* *Senior Software Engineer,* *WSO2 inc., http://wso2.com <http://wso2.com>* *Phone: +94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj <http://www.linkedin.com/in/bhathiyaj>* *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>* *Blog: http://movingaheadblog.blogspot.com <http://movingaheadblog.blogspot.com/>*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
