Layer7 API Management

  • 1.  Message Streaming Failure

    Posted Feb 22, 2019 11:09 AM

    Hi Team,

     

    We are trying to upload larger files into target application using the message streaming assertion with enabling streaming and facing below exceptions.

     

    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body>
    <soapenv:Fault>
    <faultcode>soapenv:Server</faultcode>
    <faultstring>Error in assertion processing</faultstring>
    <faultactor>https://******.com/***/xxxx/***/folders/0b004cffb29743a6/documents</faultactor>
    <detail>
    <l7:policyResult
    status="cannot iterate through message's parts" xmlns:l7="http://www.layer7tech.com/ws/policy/fault"/>
    </detail>
    </soapenv:Fault>
    </soapenv:Body>
    </soapenv:Envelope>

     

    Kindly do let us know the resolution.

     

    Regards,

    Suneel



  • 2.  Re: Message Streaming Failure

    Broadcom Employee
    Posted Feb 22, 2019 11:23 AM

    Did you run service debugger on it? Which assertion is failing?

    Do you have a copy of the policy?

    I assume the request? Or Response is multi-part?

    Are you running a Run Assertions For Each loop in the policy?

     

    But it seems to indicate you have a multi-part (MIME) message and its having an issue with doing something to all parts.

    Generically.

    Charlie.



  • 3.  Re: Message Streaming Failure

    Posted Feb 23, 2019 05:56 AM

    Hi Charlie,

     

    Yes, we are trying to upload documents into target application.

     

    Could you please elaborate on below statement. I understood that documents having issues.

     

    But it seems to indicate you have a multi-part (MIME) message and its having an issue with doing something to all parts.

    Generically.

     

    Regards,

    Suneel



  • 4.  Re: Message Streaming Failure
    Best Answer

    Broadcom Employee
    Posted Mar 11, 2019 11:11 AM

    Hi Rajesh 

     

    I will add a few comments on this question based on the support case we worked  and mark it as answered 

    we will work further on the support case. 

     

    1 .  The message " cannot iterate through message's parts " indicate that the GW is not streaming 

         the request . In this case because the streaming was only set for the download.

    2 . Enabling the service debugger on a streaming request will break the streaming and cause the same message .

    3 The read timeout need to be set large enough , we are still investigating this part 

     

    Regards

    Dirk