My Oracle Support Banner

'SchemaValidationErrors [1] for OUTBOUND : com.oracle.retail.integration.base.bo.stkcntchddesc.v1.StkCntChdDesc' Error iin Response From Stock Count Webservice: ReadStockCountChild Operation (Doc ID 2886124.1)

Last updated on JANUARY 05, 2024

Applies to:

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

Goal

 When attempting to readStockCountChild using the StockCountService webservice,  the following error occurs.


ERROR
-----------------------
<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.stkcntchddesc.v1.StkCntChdDesc</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.stkcntchddesc.v1.StkCntChdDesc</ns0:shortErrorMessage>

              <ns0:BusinessProblemDetail>

                 <ns0:problemDescription>cvc-complex-type.2.4.b: The content of element 'StkCntChdDesc' is not complete. One of '{"http://www.oracle.com/retail/integration/base/bo/StkCntChdDesc/v1":StkCntChdLineItm}' is expected.</ns0:problemDescription>

              </ns0:BusinessProblemDetail>

           </ns0:ValidationWSFaultException>

        </detail>

     </ns0:Fault>

  </S:Body>

</S:Envelope>



1. Log into SOCS application
2. Go to Inventory Management > Stock Counts
3. Create Ad Hoc
4. Add Stock count with any description Click apply
5. Count items screen will be displayed
6. Click on Actions and click Save
7. Popup will be displayed : Are you sure want to save the child count
8. Click Yes, a child stock count will be created. Close the screen saving data
9. Use SoapUI to access Stock Count Child created above.

https://xxx-xxxx-eics-wts.oracleindustry.com:443/StockCountBean/StockCountService

Solution

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
Goal
Solution


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