The OIC Invoke endpoint convert body json field integer to string
Content
I have a POST service on OIC with JSON body that have integer fields.
When I check the call to the service provider log, I see that the double are becoming strings For example:
Original request body:[
{
"itemNumber" : "551",
"section" : null,
"statusId" : 11
},
{
"itemNumber" : "99-30",
"section" : 3,
"statusId" : 2
}
]
The request body that the service provider gets:
[
{
"itemNumber" : "551",
"section" : "",
"statusId" : "11"
},
{
"itemNumber" : "99-30",
"section" : "3",
"statusId" : "2"
}
]
That is rejected by the service provider.
I made sure that the WSDL's of OIC show data type of double on Trigger and Invoke requests.
Any ideas?
Thansk,
Noam
Version
19.3.3.190924.1600-31522
Tagged:
0