我已经遍历了Postman的文档,支持中心,其他StackOverflow帖子和Google,并且在查找有关此信息方面没有任何运气。我正在尝试使用Postman来处理我怀疑使用wsHttpBinding但没有运气的SOAP端点的自动化测试。与我们使用的另一个SOAP端点不同,我可以为此手动指定我的标头(包括SOAPAction),并根据该端点的WSDL手动构建请求,而另一个端点似乎使用了wsHttpBinding,这是基于提供的全部动态生成的标头由SoapUI在我捕获的此请求中,由于额外的安全信息,使我相信它正在使用wsHttpBinding:
<soap:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsse:Security soap:mustUnderstand="true" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsu:Timestamp wsu:Id="TS-B626B72894FCAD4E6715396529234046">
<wsu:Created>2018-10-16T01:22:03.404Z</wsu:Created>
<wsu:Expires>2018-10-16T01:27:03.404Z</wsu:Expires>
</wsu:Timestamp>
<wsse:UsernameToken wsu:Id="UsernameToken-B626B72894FCAD4E6715396529234045">
<wsse:Username>MyUser</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">MyPassword</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
<wsa:Action soap:mustUnderstand="1">MyEndpoint</wsa:Action>
<wsa:ReplyTo soap:mustUnderstand="1">
<wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
</wsa:ReplyTo>
<wsa:MessageID soap:mustUnderstand="1">uuid:bf20cb74-39e1-4556-a110-62a4e48e71b8</wsa:MessageID>
<wsa:To soap:mustUnderstand="1">MyOtherEndpoint</wsa:To>
</soap:Header>
邮递员有什么方式生成这些标头吗?