Latest post Wed, Feb 21 2018 9:43 PM by Vadym. 9 replies.
Page 1 of 1 (10 items)
Sort Posts: Previous Next
  • Fri, Jan 26 2018 6:06 PM

    • eaguila
    • Not Ranked
    • Joined on Fri, Jan 26 2018
    • Posts 5
    • Points 75

    Request for SendToBack Sample Code

    Hello,

    I'm using the Interplay WS Reference Guide and C#. I'm able to successfully use the Asset and Archive Services with the right credentials. But now I'm working on the Transfer Service. My calls are successful except for SendToPlayback. I'm using the same workgroup credentials however I get the error message: "Unable to login <user> to workgroup <workgroup>". Perhaps I'm missing something. The sample code in your Reference for Asset and Archive is very helpful but any sample code for SendToPlayback might help me also.

    Thanks

    Filed under:
  • Fri, Jan 26 2018 11:56 PM In reply to

    • Vadym
    • Top 500 Contributor
    • Joined on Thu, Apr 17 2014
    • Posts 200
    • Points 2,485
    • Avid Developer Moderator
      Avid Employee

    Re: Request for SendToBack Sample Code

    Hi,

     

    Please describe the environment you're working with. Transfer Engine is required in order for STP To work.

     

    All the documentation and WSDLs are available from the IPWS host so that you can generate stub classes for development.

    Sample SOAP messages are also available on the IPWS host itself by the http://<IPWS>/docs/Interplay_WS_Reference_Guide.html#transferPB link

     

  • Tue, Jan 30 2018 5:38 PM In reply to

    • eaguila
    • Not Ranked
    • Joined on Fri, Jan 26 2018
    • Posts 5
    • Points 75

    Re: Request for SendToBack Sample Code

    Hello,

    Thank you. The error was on my part. I had the wrong workgroup. So, I'm much closer to getting the SendToPlayback working.

    However, I'm now getting a "getStdString is null" error when using CheckSequenceIsReadyForXfer. I searched your reference guide and couldn't find anything. Would you be able to help me with the "getStdString" error?

    Thanks

  • Tue, Jan 30 2018 9:40 PM In reply to

    • Vadym
    • Top 500 Contributor
    • Joined on Thu, Apr 17 2014
    • Posts 200
    • Points 2,485
    • Avid Developer Moderator
      Avid Employee

    Re: Request for SendToBack Sample Code

    Please provide copy of your request XML for the reference.

  • Wed, Jan 31 2018 5:22 PM In reply to

    • eaguila
    • Not Ranked
    • Joined on Fri, Jan 26 2018
    • Posts 5
    • Points 75

    Re: Request for SendToBack Sample Code

    Thank you. Here are the xmls. Thanks for your help.

    CheckSequenceIsReadyForXfer:

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://avid.com/interplay/ws/assets/types" xmlns:typ1="http://avid.com/interplay/ws/transfer/types">

       <soapenv:Header>

          <typ:UserCredentials>

             <typ:Username>user</typ:Username>

             <typ:Password>password</typ:Password>

          </typ:UserCredentials>

       </soapenv:Header>

       <soapenv:Body>

          <typ1:CheckSequenceIsReadyForXfer>

             <typ1:InterplayURI>interplay://PPVIE?mobid=060a2b340101010101010f0013-000000-5a00e5b1e95d27eb-060e2b347f7f-2a80</typ1:InterplayURI>

          </typ1:CheckSequenceIsReadyForXfer>

       </soapenv:Body>

    </soapenv:Envelope>

    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

       <soap:Body>

          <CheckSequenceIsReadyForXferResponse xmlns="http://avid.com/interplay/ws/transfer/types" xmlns:ns2="http://avid.com/interplay/ws/assets/types">

             <Errors>

                <ns2:Error Code="OTHER_ERROR">

                   <ns2:InterplayURI>interplay://PPVIE?mobid=060a2b340101010101010f0013-000000-5a00e5b1e95d27eb-060e2b347f7f-2a80</ns2:InterplayURI>

                   <ns2:Message>An uncategorized error has occurred</ns2:Message>

                   <ns2:Details>getStdString is null</ns2:Details>

                </ns2:Error>

             </Errors>

          </CheckSequenceIsReadyForXferResponse>

       </soap:Body>

    </soap:Envelope>

    SendToPlayback:

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://avid.com/interplay/ws/assets/types" xmlns:typ1="http://avid.com/interplay/ws/transfer/types">

       <soapenv:Header>

          <typ:UserCredentials>

             <typ:Username>user</typ:Username>

             <typ:Password>password</typ:Password>

          </typ:UserCredentials>

       </soapenv:Header>

       <soapenv:Body>

          <typ1:SendToPlayback>

             <typ1:TransferEngineHostName>miavpptm02</typ1:TransferEngineHostName>

             <typ1:InterplayURI>interplay://PPVIE?mobid=060a2b340101010101010f0013-000000-5a00e5b1e95d27eb-060e2b347f7f-2a80</typ1:InterplayURI>

             <typ1:DestinationPlaybackDevice>SEND_XDCAM50_CC</typ1:DestinationPlaybackDevice>

          </typ1:SendToPlayback>

       </soapenv:Body>

    </soapenv:Envelope>

     

    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

       <soap:Body>

          <SendToPlaybackResponse xmlns="http://avid.com/interplay/ws/transfer/types" xmlns:ns2="http://avid.com/interplay/ws/assets/types">

             <Errors>

                <ns2:Error Code="OTHER_ERROR">

                   <ns2:Message>An uncategorized error has occurred</ns2:Message>

                   <ns2:Details>An unexpected error occurred when send a asset to playback from transfer engine miavpptm02 for SEND_XDCAM50_CC type.</ns2:Details>

                </ns2:Error>

             </Errors>

          </SendToPlaybackResponse>

       </soap:Body>

    </soap:Envelope>

  • Thu, Feb 1 2018 12:13 AM In reply to

    • Vadym
    • Top 500 Contributor
    • Joined on Thu, Apr 17 2014
    • Posts 200
    • Points 2,485
    • Avid Developer Moderator
      Avid Employee

    Re: Request for SendToBack Sample Code

    The request XML for CheckSequenceIsReadyForXfer is missing the mandatory field TargetResolution. The error occurs when IPWS attempts to get value of the target resolution. See the screenshot taken from the official documentation.

     

    For the SendToPlayback request I see error coming back from the transfer engine itself.

    The best way to troubleshoot Trasfer Engine would be to use MediaComposer to send the same asset to playback to the same profile and observe behavior and Transfer Engine logs.


  • Thu, Feb 8 2018 9:07 PM In reply to

    • eaguila
    • Not Ranked
    • Joined on Fri, Jan 26 2018
    • Posts 5
    • Points 75

    Re: Request for SendToBack Sample Code

    Thank you for your help. We followed your advice and used MediaComposer. We were able to successfully Send to Playback, without issues, the same asset that is producing errors using the SendToPlayback API call. When we do the SendToPlayback call we get this from The Transfer Engine window.

    The Asset has a System.TapeID value. The log is showing other errors as well. Also, we verified that the WS machine has the ISIS client installed with R/W access.

    Are there other requirements or steps we’re missing?


  • Fri, Feb 9 2018 1:59 AM In reply to

    • Vadym
    • Top 500 Contributor
    • Joined on Thu, Apr 17 2014
    • Posts 200
    • Points 2,485
    • Avid Developer Moderator
      Avid Employee

    Re: Request for SendToBack Sample Code

    Hi,

    The error below seems to be the result of an incorrect SendToPlayback request.

    Could you please share xml for it as well?

    Thanks

  • Fri, Feb 9 2018 4:46 PM In reply to

    • eaguila
    • Not Ranked
    • Joined on Fri, Jan 26 2018
    • Posts 5
    • Points 75

    Re: Request for SendToBack Sample Code

    Hello,

    Below is the SendToPlayback request. I have also included the CheckSequenceIsReadyForXfer request which gives the "Media offline" error. We've confirmed that there's an ISIS client with access to the workgroups. Maybe the errors are related.

    Thanks!

    SendToPlayback

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://avid.com/interplay/ws/assets/types" xmlns:typ1="http://avid.com/interplay/ws/transfer/types">

       <soapenv:Header>

          <typ:UserCredentials>

             <typ:Username>user</typ:Username>

             <typ:Password>password</typ:Password>

          </typ:UserCredentials>

       </soapenv:Header>

       <soapenv:Body>

          <typ1:SendToPlayback>

             <typ1:TransferEngineHostName>tm02</typ1:TransferEngineHostName>

             <typ1:InterplayURI>interplay://PPVIE?mobid=060a2b340101010101010f0013-000000-5a721cf24155343e-060e2b347f7f-2a80</typ1:InterplayURI>

             <typ1:DestinationPlaybackDevice>SEND_XDCAM50_CC</typ1:DestinationPlaybackDevice>

          </typ1:SendToPlayback>

       </soapenv:Body>

    </soapenv:Envelope>

     

    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

       <soap:Body>

          <SendToPlaybackResponse xmlns="http://avid.com/interplay/ws/transfer/types" xmlns:ns2="http://avid.com/interplay/ws/assets/types">

             <Errors>

                <ns2:Error Code="OTHER_ERROR">

                   <ns2:Message>An uncategorized error has occurred</ns2:Message>

                   <ns2:Details>An unexpected error occurred when send a asset to playback from transfer engine pptm02 for SEND_XDCAM50_CC type.</ns2:Details>

                </ns2:Error>

             </Errors>

          </SendToPlaybackResponse>

       </soap:Body>

    </soap:Envelope>

    CheckSequenceIsReadyForXfer

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://avid.com/interplay/ws/assets/types" xmlns:typ1="http://avid.com/interplay/ws/transfer/types">

       <soapenv:Header>

          <typ:UserCredentials>

             <typ:Username>user</typ:Username>

             <typ:Password>password</typ:Password>

          </typ:UserCredentials>

       </soapenv:Header>

       <soapenv:Body>

          <typ1:CheckSequenceIsReadyForXfer>

             <typ1:InterplayURI>interplay://PPWG?mobid=060a2b340101010101010f0013-000000-5a721cf24155343e-060e2b347f7f-2a80</typ1:InterplayURI>

             <typ1:TargetResolution>XDCAM-HD 50mbps 1080p 23.976</typ1:TargetResolution>

          </typ1:CheckSequenceIsReadyForXfer>

       </soapenv:Body>

    </soapenv:Envelope>

     

    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

       <soap:Body>

          <CheckSequenceIsReadyForXferResponse xmlns="http://avid.com/interplay/ws/transfer/types" xmlns:ns2="http://avid.com/interplay/ws/assets/types">

             <Errors>

                <ns2:Error Code="MEDIA_OFFLINE">

                   <ns2:InterplayURI>interplay://PPWG?mobid=060a2b340101010101010f0013-000000-5a721cf24155343e-060e2b347f7f-2a80</ns2:InterplayURI>

                   <ns2:Message>There was media that is offline</ns2:Message>

                   <ns2:Details>>Media pertaining to the sequence is offline: \\PPVSD\Promo-renders\avid mediafiles\mxf\pptc02.1\aolm cap 008 proxc25a6a46ad.mxf</ns2:Details>

                </ns2:Error>

             </Errors>

          </CheckSequenceIsReadyForXferResponse>

       </soap:Body>

    </soap:Envelope>

  • Wed, Feb 21 2018 9:43 PM In reply to

    • Vadym
    • Top 500 Contributor
    • Joined on Thu, Apr 17 2014
    • Posts 200
    • Points 2,485
    • Avid Developer Moderator
      Avid Employee

    Re: Request for SendToBack Sample Code

    Hi,

    This case seems to need a closer look at your TM configuration which would be something for a support request.

    So far I see that IPWS request references tm02 transfer engine host name while error message is for pptm02. Also TM logs show different profile name than in the STP request.

    As for the check request it says that some media is offline in the requested resolution. While MediaComposer is capable of rendering an XDCam sequence in question TM doesn't have such a capability which typically requires a separate transcode operation to happen before STP.

    You could try to troubleshoot STP request with some Intra frame media first then proceed to XDCam when that works.

    Interplay STP Encode would be required to proceed with IPWS STP for XDCam media as well.

Page 1 of 1 (10 items)

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