Layer7 API Management

 View Only

Reading Binary Attachment Contents

  • 1.  Reading Binary Attachment Contents

    Posted Aug 14, 2019 01:17 AM
    Hello Folks

    we have requirements where clients can send gz file as attachment, we have to  decode and parse the xml, and prepare another xml out of that message and send across to backend API.

    i see request.parts.2

    • request.parts.2 = {i} "com.l7tech.common.mime.i@7707b914" as value, but when i ready body like request.parts.2.body is null, how to read the values of this mime attachment ?

    i am trying on REST, but actual requirement was to use on SOAP , but clients are getting 400 when i use the soap, do we need any special configuration on wsdl file to accept the attachments.