K
KuKeC
Guest
When I send input parameters from PHP I do it like this:
$data = [
'param1' => "value"
];
In my .p procedure I define that parameter as
DEFINE INPUT PARAMETER param1 AS CHARACTER FORMAT "x(50)".
And later on I can use that param1 anywhere in my code.
But how to format data in PHP for temporary table as input parameter?
DEFINE TEMP-TABLE inputTable
FIELD field1 LIKE sometable.field1
FIELD field2 LIKE sometable.field2.
DEFINE INPUT PARAMETER TABLE FOR inputTable.
FOR EACH inputTable:
//store data into progres database
END.
Is it possible to send a table as input parameter to SOAP web service and how?
Continue reading...
$data = [
'param1' => "value"
];
In my .p procedure I define that parameter as
DEFINE INPUT PARAMETER param1 AS CHARACTER FORMAT "x(50)".
And later on I can use that param1 anywhere in my code.
But how to format data in PHP for temporary table as input parameter?
DEFINE TEMP-TABLE inputTable
FIELD field1 LIKE sometable.field1
FIELD field2 LIKE sometable.field2.
DEFINE INPUT PARAMETER TABLE FOR inputTable.
FOR EACH inputTable:
//store data into progres database
END.
Is it possible to send a table as input parameter to SOAP web service and how?
Continue reading...