Web services 邮递员授权
我已经构建了一个具有授权的web服务,如何通过使用Postman进行测试来设置SOAP头中的授权信息Web services 邮递员授权,web-services,authentication,postman,Web Services,Authentication,Postman,我已经构建了一个具有授权的web服务,如何通过使用Postman进行测试来设置SOAP头中的授权信息 POST /AuthForWebServices/WebService.asmx HTTP/1.1 Host: localhost Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/SensitiveData" <?xml versi
POST /AuthForWebServices/WebService.asmx HTTP/1.1
Host: localhost
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/SensitiveData"
<?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:Header>
<AuthHeader xmlns="http://tempuri.org/">
<Username>string</Username>
<Password>string</Password>
</AuthHeader>
</soap:Header>
<soap:Body>
<SensitiveData xmlns="http://tempuri.org/" />
</soap:Body>
</soap:Envelope>
POST/AuthForWebServices/WebService.asmx HTTP/1.1
主机:本地主机
内容类型:text/xml;字符集=utf-8
内容长度:长度
SOAPAction:“http://tempuri.org/SensitiveData"
一串
一串