postman调用webservice

发布时间 2023-10-12 15:15:28作者: 富坚老贼

 

headers 添加 Content-Type 值 text/xml;charset=utf-8

body选择 raw   xml

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetScaleInfo xmlns="http://tempuri.org/" />
  </soap:Body>
</soap:Envelope>