on 01-27-2016 10:58 AM
HI all,
I have a synchronous scenario. REST --- PI --- ECC --- PI --- REST
In the response receiver payload, I have an item node. I have given it as 0..unbounded since it can have either multiple items or single item. REST Communication channel is converting to JSON from xml. Everything is working fine. However the receiver application complains that they are getting the items node as object and array.
If items have multiple items under that node then, JSON structure is like this:
"Item": [
{
"ItemNumber" : "00001",
"ItemDescription" : "xyz"
"Quantity" : "0"
}
{
"ItemNumber" : "00002"
"ItemDescription" : "abc"
"Quantity" : "0"
}
]
Now if item has only single item under that node, the JSON structure is like this:
"Item" : {
"ItemNumber" ; "00004",
"ItemDescription" ; "def",
"Quantity" : "0"
}
They receiver REST application wants Item to come as an array even if there is one single item. How is this possible with PI?
Regards
Harish Babu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had a similar issue. So we implemented the Patch 20 for 7.4 SP11 with all depended additional patches. But the new configuration feature for JSON arrays is not available.
Do we have to import a new ESR SAP Basis Content? Where can it be found...on the marketplace I only found the ESR Basis Content for SP11 ... but not explicitly for SP11 Patch 20.
Hi Stefan,
Yes, you have to import newer adapter metadata (provided within XI Content for software component SAP_BASIS) in order to be able to see new features in user interface when configuring communication channels.
You may check SAP Note 2276231 for details, or you can also check some SCN forum threads that discuss similar problems - for example, .
In SAP Service Marketplace, download XI Content that corresponds to release and Support Package level of your PI system (ignoring Patch Level of a specific software component)
Regards,
Vadim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.