AnsweredAssumed Answered

attribute BLOB to XML and XOG

Question asked by danieldbf on Feb 2, 2018
Latest reply on Feb 5, 2018 by danieldbf

Hi guys!!

I need you help, please!

 

So, how do I use data of attribute of type large string on XOG?

 

Example:

I saved a request a invoke webservice to use again, but when I try to use the parse, it does not work.
Do I need to convert to xml again?

 

I convert the BLOB in gelscript.

 

<core:if test="${linha.REQUEST != null}">
<core:invoke method="getSubString" on="${linha.REQUEST}" var="v_REQUEST">
<core:arg type="long" value="1"/>
<core:arg type="int" value="${linha.REQUEST.length()}"/>
</core:invoke>
</core:if>

<gel:log level="INFO">v_REQUEST =${v_REQUEST}</gel:log>

 

It work!

 

But I can not add the values in the parse, then the invoke.

 

<gel:parse var="soap_base">
${v_REQUEST}
</gel:parse>

 

<gel:set select="$soap_base" var="output" asString="true" />
<gel:log level="INFO">output = <x:expr select="$output"/></gel:log>

 

It is always null.

 

 

My attribute with request is

 

<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap

 

Can you help me?

 

Thanks!

 

Daniel Barros

 

Outcomes