Fixed the issue by adding xmp tags inside the .jag file for the
respective gadget.
e.g.
function createTableJSON(result) {
var len = result.length;
var rows = [];
var columnNames = []
for (var i = 0; i len; i++) {
var obj =
Hi,
I'm trying to display a SOAP body and its header inside a table.
e.g.
soapenv:Body
xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;ns:getVersionResponse
xmlns:ns=http://version.services.core.carbon.wso2.org;returnWSO2
Enterprise Service
Hi Sandamal,
It seems the UI renders the xml tags. You have to escape the html sensitive
characters to avoid that. i.e. replace soap with lt;soap. If the UI gets
the xml, you can use javascripts to do the modification at the client side.
On Fri, Aug 29, 2014 at 6:01 PM, Sandamal Weerasinghe
Hi Sandamal,
I think even when the soap message is coming to the UI, the soapenv:Body
or ns:getVersionResponse tags are not recognized by the browser (you can
check the raw xml by pressing F12 in Chrome)
to show the soap message as it is, put the entire message inside a '
*textarea*' tag.
eg:
Hi Sandamal,
I think even when the soap message is coming to the UI, the soapenv:Body
or ns:getVersionResponse tags are not recognized by the browser (you can
check the raw xml by pressing F12 in Chrome)
to show the soap message as it is, put the entire message inside a '
*textarea*' tag.
eg:
Hi Sandamal,
I think even when the soap message is coming to the UI, the soapenv:Body
or ns:getVersionResponse tags are not recognized by the browser (you can
check the raw xml by pressing F12 in Chrome)
to show the soap message as it is, put the entire message inside a '
*textarea*' tag.
eg: