0
我正在嘗試創建所需的WS-Security SOAP頭的XSD模式,以便將其導入到Cast Iron中並用於正確格式化傳出的SOAP頭。到目前爲止我已經提出了以下內容,但顯然它的格式不正確。SOAP WSS頭xsd格式
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
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">
<xs:Security mustUnderstand="1">
<wsu:Timestamp wsu:Id="">
<wsu:Created/>
<wsu:Expires/>
</wsu:Timestamp>
<wsse:UsernameToken wsu:Id="">
<wsse:Username/>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText"/>
<wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary"/>
<wsu:Created/>
</wsse:UsernameToken>
</xs:Security>
</xs:schema>
有人可以幫我解決適當的XSD格式嗎?提前致謝!