【Azure API 管理】使用APIM進行XML內容讀取時遇見的詭異錯誤 Expression evaluation failed. Object reference not set to an instance of an object.

问题描述 使用APIM,在 Inbound 中对请求的Body内容进行解析。客户端请求所传递的Request Body为XML格式,需要从Request Body中解析出多个(Element)节点值,然后设置通过(set-variable)为参数在后续使用。 但是验证发现,当且只当使用一个set-v …

Continue Reading