Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

The OIC Invoke endpoint convert body json field integer to string

edited Nov 11, 2019 12:44PM in Integration 4 comments

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:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!