"Adapter deployment failed: Could not resolve placeholder" error in IBM MobileFirst 6.3 -
i'm unable read property's value worklight.properties file.
i added property publicprotocol=http
in wroklight.properties file , used property in adapter.xml <protocol>${publicprotocol}</protocol>
i'm getting following error:
adapter deployment failed: not resolve placeholder 'publicprotocol'
this works fine me using ibm mobilefirst platform studio 6.3.0.00-20150214-1702
- created new project http adapter.
- added server\conf\worklight.properties following:
mycustomproperty=http
server automatically restarted changed adapters\myadapter\myadapter.xml follows , re-deployed adapter:
- <protocol>http</protocol> + <protocol>${mycustomproperty}</protocol>
to verify worked simply:
- right-click myadapter folder , selected run > invoke mobilefirst procedure , click on ok invoke default procedure.
a browser window opened successful invocation.
Comments
Post a Comment