Support Forum [ All Topics | New Topic ]

Thread: soap xml endpoint - updateLot not working

Im trying to update diamond using xml soap endpoint updateLot but it returns errors.
here is my request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tec="http://technet.rapaport.com/">
   <soapenv:Header>
      <tec:AuthenticationTicketHeader>
         <tec:Ticket>1e3cc8ab2e9e490492fa6f8e0ce5969a</tec:Ticket>
      </tec:AuthenticationTicketHeader>
   </soapenv:Header>
   <soapenv:Body>
      <tec:UpdateLot>
         <tec:Parameters>
            <tec:Lot>
               <tec:Shape>P</tec:Shape>
               <tec:Weight>0.611</tec:Weight>
               <tec:Color>F</tec:Color>
               <tec:Clarity>VS2</tec:Clarity>
               <tec:Measurements>7.36x5.20x3.32</tec:Measurements>
               <tec:DepthPercent>70.9</tec:DepthPercent>
               <tec:TablePercent>59.00</tec:TablePercent>
               <tec:GirdleMin>Thick</tec:GirdleMin>
               <tec:GirdleMax>Very Thick</tec:GirdleMax>
               <tec:GirdleCondition>Faceted</tec:GirdleCondition>
               <tec:Polish>G</tec:Polish>
               <tec:Symmetry>G</tec:Symmetry>
               <tec:FluorescenceColor>N</tec:FluorescenceColor>
               <tec:Lab>GIA</tec:Lab>
               <tec:CertificateID>2211886970</tec:CertificateID>
               <tec:VendorStockNumber>8888886</tec:VendorStockNumber>
               <tec:IsMatchedPairSeparable>false</tec:IsMatchedPairSeparable>
               <tec:RapnetAskingPrice>2800</tec:RapnetAskingPrice>
               <tec:Availability>STPS</tec:Availability>
               <tec:ShowOnRapnet>false</tec:ShowOnRapnet>
               <tec:ShowOnIndex>0</tec:ShowOnIndex>
               <tec:CityLocation>New York</tec:CityLocation>
               <tec:StateLocation>New York</tec:StateLocation>
               <tec:CountryLocation>USA</tec:CountryLocation>
            </tec:Lot>
            <tec:ByField>RapnetLotID</tec:ByField>
            <tec:FieldValue>128791024</tec:FieldValue>
         </tec:Parameters>
      </tec:UpdateLot>
   </soapenv:Body>
</soapenv:Envelope>
and then i get the response:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <soap:Body>
      <soap:Fault>
         <faultcode>soap:Server</faultcode>
         <faultstring>System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.IO.FileNotFoundException: Could not load file or assembly 'AWSSDK.Core, Version=3.3.0.0, Culture=neutral, PublicKeyToken=885c28607f98e604' or one of its dependencies. The system cannot find the file specified.
   at DiamondUploader.UploadManager.UploadDiamondsServiceQueue(Int32 UploadID, String CurrentUserAccount)
   at DiamondUploader.UploadManager.ProcessUpload(DataTable dtUploaded, Int32 UploadID, UploadTypes UploadType)
   at DiamondUploader.UploadManager.InserUploadAndUpdateSingleDiamond(Nullable`1 DiamondID, Int32 AccountID, DiamondFileFormat UploadFormat, UploadTypes UploadType, DataTable dtSingleDiamond, Boolean FirstRowContainsHeaders, Boolean ReplaceAll, Boolean SendEmail, String ComputerIP, UploadPriorities UploadPriority)
   at DiamondManager.UpdateLot(UpdateLotParameters Parameters)
   --- End of inner exception stack trace ---</faultstring>
         <detail/>
      </soap:Fault>
   </soap:Body>
</soap:Envelope>


>> add a comment
Erik
08/03/2021 12:44


1 Replies:

Hi Erik 
The issue could be caused by 
Authentication ticket may have expired 
or the Request timed out 

Please go to the following URL to update your Authentication token 
https://technet.rapaport.com:449/http/authenticate.aspx

Please try uploading again 
Thanks 


>> add a comment
Technical support
8/4/2021 2:34:00 AM