Latest post Fri, May 21 2021 10:08 PM by Vadym. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • Thu, May 20 2021 9:11 AM

    • BOGEE
    • Not Ranked
    • Joined on Thu, May 20 2021
    • Posts 1
    • Points 15

    IPWS keeps crashing after a few calls on the GetChildren endpoint

    Hello there.

    I use the GetChildren endpoint to fetch the content of a folder but after a few calls the service becomes very slow to respond and eventually it will crash.

    The soap stubs are generated with the java lib apache axis and below is what a request/response looks like.

    2021-05-18 07:23:59,242 DEBUG o.a.a.t.h.HTTPSender - Enter:  HTTPSender::invoke
    2021-05-18 07:23:59,261 DEBUG o.a.a.t.h.HTTPSender - XML sent:
    2021-05-18 07:23:59,261 DEBUG o.a.a.t.h.HTTPSender - ---------------------------------------------------
    2021-05-18 07:23:59,262 DEBUG o.a.a.t.h.HTTPSender - POST /services/Assets HTTP/1.0
    Content-Type: text/xml; charset=utf-8
    Accept: application/soap+xml, application/dime, multipart/related, text/*
    User-Agent: Axis/1.4
    Host: xxx:80
    Cache-Control: no-cache
    Pragma: no-cache
    SOAPAction: ""
    Content-Length: 702

    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="" xmlns:xsd="" xmlns:xsi="">
        <ns1:UserCredentials xmlns:ns1="">
        <GetChildren xmlns="">

    2021-05-18 07:23:59,620 DEBUG o.a.a.t.h.HTTPSender - HTTP/1.1 200 OK
    2021-05-18 07:23:59,620 DEBUG o.a.a.t.h.HTTPSender - Server Apache-Coyote/1.1
    2021-05-18 07:23:59,620 DEBUG o.a.a.t.h.HTTPSender - Content-Type text/xml;charset=UTF-8
    2021-05-18 07:23:59,620 DEBUG o.a.a.t.h.HTTPSender - Date Tue, 18 May 2021 07:23:59 GMT
    2021-05-18 07:23:59,620 DEBUG o.a.a.t.h.HTTPSender - Connection close
    2021-05-18 07:23:59,621 DEBUG o.a.a.t.h.HTTPSender - no Content-Length
    2021-05-18 07:23:59,621 DEBUG o.a.a.t.h.HTTPSender - XML received:
    2021-05-18 07:23:59,621 DEBUG o.a.a.t.h.HTTPSender - -----------------------------------------------
    2021-05-18 07:23:59,650 DEBUG o.a.a.t.h.HTTPSender -
    <?xml version="1.0"?>
    <soap:Envelope xmlns:soap="">
        <GetChildrenResponse xmlns="">
    2021-05-18 07:23:59,650 DEBUG o.a.a.t.h.HTTPSender - Exit:  HTTPDispatchHandler::invoke

    What could explain this behavior?

    Thanks in advance for your help.

    Filed under: , ,
  • Fri, May 21 2021 10:08 PM In reply to

    • Vadym
    • Top 500 Contributor
    • Joined on Thu, Apr 17 2014
    • Posts 262
    • Points 3,110
    • Avid Developer Moderator
      Avid Employee

    Re: IPWS keeps crashing after a few calls on the GetChildren endpoint

    Hi Bogee,

    Could you please review and fix your request following the example in documentation you can find installed with your IPWS service?


    I can see missing namespace definition on the body elements as well as missing workgroup name on the InterplayURI value. e.g. fixed URI line could look like the following if the ns1 namespace is declared before for the asset types.


    Another issue with this request could be that IPWS does not support results pagination and requesting children on a high level folder can produce tens of thousands of results. This is expected to cause slowness/crash based on the number of actual results.

    As a remedy you can see if it is possible to limit scope of the request to return a minimal possible amount of results or if not an option you can migrate to CTMS API which supports pagination. A collection resource would have similar functionality to get children request:


Page 1 of 1 (2 items)

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