My Oracle Support Banner

LookupInventoryForBuddyStores Webservice returns Schema Validation Error When No Buddy Stores Are Available (Doc ID 2889000.1)

Last updated on APRIL 16, 2024

Applies to:

Oracle Retail Enterprise Inventory Cloud Service - Version 22.1 and later
Information in this document applies to any platform.

Symptoms

When attempting to call lookupInventoryForBuddyStores webservice the following error occurs.

<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns0:Fault xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/"xmlns:ns1="http://www.w3.org/2003/05/soap-envelope">
<faultcode>ns0:Server</faultcode>
<faultstring>SchemaValidationErrors [1] for OUTBOUND :
com.oracle.retail.integration.base.bo.strinvcoldesc.v1.StrInvColDesc</faultstring>
<detail>
<ns0:ValidationWSFaultException xmlns:ns0="http://www.oracle.com/retail/integration/services/exception/v1">
<ns0:shortErrorMessage>SchemaValidationErrors [1] for OUTBOUND :com.oracle.retail.integration.base.bo.strinvcoldesc.v1.StrInvColDesc</ns0:shortErrorMessage>
<ns0:BusinessProblemDetail>
<ns0:problemDescription>cvc-complex-type.2.4.b: The content of element 'StrInvColDesc' is not complete. One of '\{"http://www.oracle.com/retail/integration/base/bo/StrInvDesc/v1":StrInvDesc,"http://www.oracle.com/retail/integration/base/bo/StrInvColDesc/v1":collection_size}' is expected.</ns0:problemDescription>
</ns0:BusinessProblemDetail>
</ns0:ValidationWSFaultException>
</detail>
</ns0:Fault>
</S:Body>
</S:Envelope>

Steps To Recreate:

1. Launch SOAPUI
2. Access the lookupInventoryForBuddyStores webservice and note the above error.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.