Web services SOAP WSS头xsd格式

Web services SOAP WSS头xsd格式,web-services,soap,xsd,Web Services,Soap,Xsd,我正在尝试创建所需WS-Security SOAP头的XSD模式,以便可以将其导入Cast Iron并用于正确格式化传出的SOAP头。到目前为止,我已经提出了以下内容,但显然格式不太正确 <?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-20

我正在尝试创建所需WS-Security SOAP头的XSD模式,以便可以将其导入Cast Iron并用于正确格式化传出的SOAP头。到目前为止,我已经提出了以下内容,但显然格式不太正确

<?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的正确格式吗?提前谢谢

找到了XSD的有效版本