Siebel标头的架构

时间:2012-11-22 06:48:09

标签: xsd jdeveloper bpel soapheader siebel

<wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext">
        <wsse:UsernameToken xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility">
          <wsse:Username>Username</wsse:Username>
          <wsse:Password Type="wsse:PasswordText">Password</wsse:Password>
        </wsse:UsernameToken>
    </wsse:Security>

以上行在JDeveloper的BPEL流程中作为XML片段输入。
问题:如何设计合适的模式以获取Siebel标头的用户名和密码以调用Siebel服务?

1 个答案:

答案 0 :(得分:0)


这是启用了WSSOAP选项的siebel Web服务请求的示例:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header>
        <ns:UsernameToken xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns="http://siebel.com/webservices" xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/">User name goes here</ns:UsernameToken>
        <ns:PasswordText xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns="http://siebel.com/webservices" xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/">Password goes here</ns:PasswordText>
        <ns:SessionType xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns="http://siebel.com/webservices" xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/">Session type goes here</ns:SessionType>
        <ns:SessionToken xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns="http://siebel.com/webservices" xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/">Session token goes here</ns:SessionToken>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

没有WSSOAP选项,您必须以匿名用户身份(在Siebel端配置)或者将用户名称放在用户名和URL中的密码。 在这里您可以找到更多信息(Siebel Bookshelf):http://docs.oracle.com/cd/B40099_02/books/EAI2/EAI2_WebServices.html