Hi, Removing support-dev@ and including dev@
On Sat, Feb 1, 2014 at 10:41 AM, Selvaratnam Uthaiyashankar < [email protected]> wrote: > Why this mail in support-dev@? it should go to dev@ > > > On Sat, Feb 1, 2014 at 9:25 AM, Dimuthu Upeksha <[email protected]> wrote: > >> Hi, >> I was trying to send a REST message with a JSON payload to the ESB 4.8. >> Here is the message I sent >> >> {"application": "ldap","operation": "searchEntity","content": { >> "objectClass": "inetOrgPerson"}} >> >> When I see the logs in ESB >> >> LogMediator To: /services/ldap, MessageID: >> urn:uuid:6642acb5-6b38-430a-ab96-ce227a7cee97, Direction: request, >> Envelope: <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope >> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/ >> "><soapenv:Body><mediate>*<content>[object Object]</content>* >> <application>ldap</application><operation>searchEntity</operation></mediate></soapenv:Body></soapenv:Envelope> >> >> What I expected in content element is >> <objectClass>inetOrgPerson</objectClass> but actual one was *[object >> Object].* >> >> To make sure, I tried following properties >> >> <property name="objectClass" >> >> expression="json-eval($.mediate.content.objectClass)"/> >> <property name="application" >> expression="json-eval($.mediate.application)"/> >> >> >> Then I got >> >> LogMediator *objectClass =* , *application = ldap* >> It seems like ESB is not evaluating objects inside the outer object. Is >> there a way to do that? >> >> Thanks >> Dimuthu >> >> -- >> Dimuthu Upeksha >> Engineering Intern >> WSO2 inc. >> > > > > -- > S.Uthaiyashankar > VP Engineering > WSO2 Inc. > http://wso2.com/ - "lean . enterprise . middleware" > > Phone: +94 714897591 > -- Dimuthu Upeksha Engineering Intern WSO2 inc.
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
