Try without the result type class parameter, and just get the object
as output and see what it looks like

On Tue, Jun 1, 2021 at 10:20 PM marcello cappelli <kcell...@gmail.com> wrote:
>
> Hi,
> I get the same behavior even so:
>
> String  endpointUri     = 
> "milo-client:opc.tcp://milo.digitalpetri.com:62541/milo?node=RAW(ns=2;s=Methods)&method=RAW(ns=2;s=Methods/sqrt(x))&defaultAwaitWrites=true&overrideHost=true";
>
> Variant[] inputArguments  = new Variant[1];
> inputArguments[0] = new Variant((double) 25);
>
> Variant[] outputArguments = isoProducerTemplate.requestBody(endpointUri, 
> inputArguments, Variant[].class);
>
> The response should be a 1 element variant array with the result
>


-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to