Hi,

How to do $subject? Need to modify the response payload from BE and send it
to the client.

Tried [1], but did not work.

[1].
           String jsonPayloadToString = JsonUtil
                    .jsonPayloadToString(((Axis2MessageContext)
messageContext)
                            .getAxis2MessageContext());
            try {
                JsonUtil.getNewJsonPayload(((Axis2MessageContext)
messageContext).getAxis2MessageContext(),
                        jsonPayloadToString, true, true);
            } catch (AxisFault axisFault) {
                log.error("Error building aggregated JSON payload",
axisFault);
                return false;
            }

-- 
Thanks and Regards,

Isuru H.
+94 716 358 048* <http://wso2.com/>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to