Hi,
I’m trying to convert a number encoded as integer, into a number encoded in a binary string.
For example i make an API call that send me back this type of answer :
{
"id": "xxxxx",
"values": [
{
"timestamp": 1693229506870,
"value": 11
}
]
}
I want to convert the value 11 which is an integer into 0000000000001011 so that i can then decompose this string into bytes and transforme those bytes back into integer. For this example I will have to take bytes 0 to 12 then 12 to 16 and associate the translate value to a key.
I tried to use stringToStream as the documentation says but i only have an “inputStream” in return that i can’t read. (Not even with the streamToReader).

I also tried to use stringToBytes as some people explains on the forum here but i don’t have the result i’m expecting.

In both case i have an “encoded” input to add. I don’t know what to put in it. I found nothing in the doc that help us with that.
I insiste on the fact that i am on webmethods.io - flowservices so i can’t (or i don’t know how maybe) create a nodejs connector and integrate it to my flowservice (we can only do that on workflows i think).
Thanks in advance !
#webMethods#webMethods-io-Integration#webMethods-cloud