giving the host url dynamically in mobilefirst adapter -
hello need pass host name or url adapter dynamically client side.i.e when user login needs type url set ${domainname} in adapter.xml file.help needed pls.thnks in advance
<?xml version="1.0" encoding="utf-8" standalone="no"?> <wl:adapter xmlns:wl="http://www.ibm.com/mfp/integration" xmlns:http="http://www.ibm.com/mfp/integration/http" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" name="soapadapter1"> <displayname>soapadapter1</displayname> <description></description> <connectivity> <connectionpolicy xsi:type="http:httpconnectionpolicytype"> <protocol>http</protocol> <domain>${domain}</domain> <port>8001</port> <connectiontimeoutinmilliseconds>30000</connectiontimeoutinmilliseconds> <sockettimeoutinmilliseconds>30000</sockettimeoutinmilliseconds> <maxconcurrentconnectionspernode>2</maxconcurrentconnectionspernode> </connectionpolicy> </connectivity> <procedure name="userlog"></procedure> </wl:adapter>
those not changeable values during runtime. cannot decide dynamically adapter connect after adapter has been built , deploy.
you try andrew's suggestion here: ibm worklight - how change dynamically domain/hostname adapter connects client @ launch or runtime?
Comments
Post a Comment