wso2 - How to access the Header values in Wso2ESb -
this question has answer here:
i using wso2esb when getting request mobile client header . issue unable access in wso2esb insequence further process how can have properties config is
<log> <property name="faisal" expression="get-property('username')"/> <property name="username" expression="get-property('transport', 'accept')"/> <property name="username" expression="//username/text()"/> <property name="password" expression="//password/text()"/> </log>
every thin showing me null , header sending this
login {"password":"gbadmin","username":"faisal"}
how can access insequence in advance
how json request looks like? if json request given below
{ "login": { "username": "test", "password": "aa" } }
you should able access username information
<property name="username" expression="//login/username"/>
Comments
Post a Comment