Latest post Tue, Oct 23 2018 9:50 AM by andym. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • Mon, Oct 8 2018 10:20 PM

    • Simon Tang
    • Not Ranked
    • Joined on Thu, Oct 4 2018
    • Posts 3
    • Points 35

    AMT3: detecting Interplay checkin errors

    We're implementing AMT3 SDK - one thing we haven't been able to do is detect errors checking in files to Interplay.  Since we don't have Interplay environment set up, this obviously fails and if we enable logging, we do see an error in the log as expected:

    ERROR - InterplayWebServicesNotificationChannel[interplay://DMTWorkgroup/Projects/AMTUnitTests] WebService request failed: ..\..\MediaProcessor\src\MediaProcessor\DataIO\SOAPRequest.cpp, 483: SOAP request execution failed: Couldn't resolve host name..

    We tried setting up an error handler on the log4cplus::Appender but it never got called.  Is this how we're supposed to get error information or is there another way?

    Please note that our code is based on the 'SampleBasedToFileBasedConversion' sample code.

    Filed under: ,
  • Tue, Oct 23 2018 9:50 AM In reply to

    • andym
    • Not Ranked
    • Joined on Thu, Jan 13 2011
    • Posts 102
    • Points 1,200
    • Avid Developer Moderator

    Re: AMT3: detecting Interplay checkin errors

    Hi Simon,

    Generally, for error states the MediaProcessor library in AMT3 provide exceptions that you should be able to catch but specifically notifications such as the Web Services check-in are currently implemented as 'fire and forget' operations. The expectation is that this mechanism is used only during the EWC phase, and that your application will perform an explicit initial validation and a 'final' check-in (by talking to IPWS directly) so a failure to check in EWC state would only have minor negative effects.

    Failures of 'remote' services like the SOAP error you are looking for are simply passed through to the log (actually with checkin as probably the only example of a best effort operation) so if you need this information from the AMT operation currently the only place where you can find it is in the log. We have taken note of your request for future consideration.

     

Page 1 of 1 (2 items)

© Copyright 2011 Avid Technology, Inc.  Terms of Use |  Privacy Policy |  Site Map |  Find a Reseller