Orchestration SOAP UI testing - JDE Standard format using array as input
Hi,
I have created an orchestration which creates record in WhosWho(F0111) and its related phone records in F01151 and related email records in F0115. There may be multiple Phone records and email records. So I have created array in orchestration input.
Orchestration testing worked fine. I tried to test in soap UI, but it gives me "JsonParseException, verify JSON input is properly formed."
Below is the JSON string:
{
"AddressNumber": "99999816",
"ActionCode": "1",
"MailingName": "Test12345",
"AlphaName": "Test12345",
"PreferredContactMethod": "E",
"Phone": [
{
"PhoneNumberType": "",
"PhoneAreaCode": "91",
"PhoneNumber": "384475"
},
{
"PhoneNumberType": "",
"PhoneAreaCode": "91",
"PhoneNumber": "934883"
}
],
"Email": [
{
"ElectronicAddress": "Testemail1@gmail.com",
"ElectronicAddressType": "E",
"EmailSequenceNumber": ""
},
{
"ElectronicAddress": "Testemail2@gmail.com",
"ElectronicAddressType": "E",
"EmailSequenceNumber": ""
}
]
}
I have read some oracle docs and found that we need to write in name value pairs as below. But I could not figure out how to write above array inputs(nested) like this.