一、SOAP和WSDL
SOAP是一种基于XML的协议
WSDL(网络服务描述语言,Web Services Description Language)是一门基于 XML 的语言,用于描述 Web Services 以及如何对它们进行访问
二、postman发送soap请求
1、发送post请求,url:
https://www.dataaccess.com/webservicesserver/NumberConversion.wso
2、headers设置,添加Content-Type,值为text/xml
添加SOAPAction,值为"#POST"
2、Body设置
- <?xml version="1.0" encoding="utf-8"?>
- <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
- <soap:Body>
- <NumberToWords xmlns="http://www.dataaccess.com/webservicesserver/">
- <ubiNum>500</ubiNum>
- </NumberToWords>
- </soap:Body>
- </soap:Envelope>