ApproveTransfer Web Service Rejects The Request

(Doc ID 2337812.1)

Last updated on DECEMBER 15, 2017

Applies to:

Oracle Retail Store Inventory Management - Version 16.0.1 and later
Information in this document applies to any platform.

Symptoms

On Store Inventory Management (SIM) version 16.0.1, ApproveTransfer webservice rejects the transfer request instead of approving it.


Steps to reproduce the issue:

  1. An Store to Store Transfer request exists in SIM;
  2. Use the below ApproveTransfer web service operation to approve it:

"<soapenv:Envelope xmlns:soapenv=""http://schemas.xmlsoap.org/soap/envelope/"" xmlns:v1=""http://www.oracle.com/retail/sim/integration/services/StoreTransferService/v1"" xmlns:v11=""http://www.oracle.com/retail/integration/base/bo/StsTsfRef/v1"">
   <SOAP-ENV:Header xmlns:SOAP-ENV=""http://schemas.xmlsoap.org/soap/envelope/"">
  <wsse:Security soap:mustUnderstand=""1"" xmlns:wsse=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"" xmlns:wsu=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"" xmlns:soap=""soap"">
   <wsu:Timestamp wsu:Id=""TS-9140d6d2-ce36-4efd-aedd-bfc338480993"">
     <wsu:Created>2017-10-19T09:06:01.342Z</wsu:Created>
     <wsu:Expires>2017-10-19T09:59:59.342Z</wsu:Expires>
   </wsu:Timestamp>
   <wsse:UsernameToken wsu:Id=""UsernameToken-a16f2785-c64d-44df-87e8-b8b840612192"">
     <wsse:Username>simribuser</wsse:Username>
     <wsse:Password Type=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText"">welcome1</wsse:Password>
   </wsse:UsernameToken>
  </wsse:Security>
 </SOAP-ENV:Header>
   <soapenv:Body>
      <v1:approveTransfer>
         <!--Optional:-->
         <v11:StsTsfRef>
            <v11:tsf_id>29</v11:tsf_id>
            <v11:store_id>81351</v11:store_id>
         </v11:StsTsfRef>
      </v1:approveTransfer>
   </soapenv:Body>
</soapenv:Envelope>"

       3. Notice that status for respective transfer is changed from "Requested" to "Rejected Request" and not to "Approved" as expected, below is the web service response:

"<S:Envelope xmlns:env=""http://schemas.xmlsoap.org/soap/envelope/"" xmlns:S=""http://schemas.xmlsoap.org/soap/envelope/"">
   <S:Header>
      <Action xmlns=""http://www.w3.org/2005/08/addressing"">http://www.oracle.com/retail/sim/integration/services/StoreTransferService/v1/StoreTransferPortType/approveTransferResponse</Action>
      <MessageID xmlns=""http://www.w3.org/2005/08/addressing"">uuid:2730309c-1740-4c1f-8172-3a8198b15483</MessageID>
      <RelatesTo xmlns=""http://www.w3.org/2005/08/addressing"">uuid:eb602e44-8363-4c3d-a235-d207feafa2bf</RelatesTo>
      <To xmlns=""http://www.w3.org/2005/08/addressing"">http://www.w3.org/2005/08/addressing/anonymous</To>
      <wsse:Security S:mustUnderstand=""1"" xmlns:wsse=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"">
         <wsu:Timestamp xmlns:wsu=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"">
            <wsu:Created>2017-10-19T09:06:48Z</wsu:Created>
            <wsu:Expires>2017-10-19T09:07:48Z</wsu:Expires>
         </wsu:Timestamp>
      </wsse:Security>
   </S:Header>
   <S:Body>
      <ns1:approveTransferResponse xmlns:ns1=""http://www.oracle.com/retail/sim/integration/services/StoreTransferService/v1"" xmlns:ns11=""http://www.oracle.com/retail/integration/base/bo/StsTsfApvModVo/v1"" xmlns:ns2=""http://www.oracle.com/retail/integration/base/bo/StsTsfRef/v1"" xmlns:ns3=""http://www.oracle.com/retail/integration/base/bo/InvocationSuccess/v1"" xmlns:ns10=""http://www.oracle.com/retail/integration/base/bo/StsTsfModVo/v1"" xmlns:ns12=""http://www.oracle.com/retail/integration/base/bo/StsTsfReqModVo/v1"" xmlns:ns9=""http://www.oracle.com/retail/integration/base/bo/StsTsfDesc/v1"" xmlns:ns7=""http://www.oracle.com/retail/integration/base/bo/StsTsfHdrColDesc/v1"" xmlns:ns5=""http://www.oracle.com/retail/integration/base/bo/StsTsfReqCreVo/v1"" xmlns:ns4=""http://www.oracle.com/retail/integration/base/bo/StsTsfCreVo/v1"" xmlns:ns6=""http://www.oracle.com/retail/integration/base/bo/StsTsfHdrCriVo/v1"" xmlns:ns8=""http://www.oracle.com/retail/integration/base/bo/StsTsfHdrDesc/v1"">
         <ns3:InvocationSuccess>
            <ns3:success_message>Service Operation Complete</ns3:success_message>
         </ns3:InvocationSuccess>
      </ns1:approveTransferResponse>
   </S:Body>
</S:Envelope>"

Changes

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms