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.
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.
Yes, we are trying to upload documents into target application.
Could you please elaborate on below statement. I understood that documents having issues.
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