xslを使用してWebサービスのユーザー資格情報(ユーザー名トークンとパスワード)を変更するために、Webサービス呼び出しをインターセプトしようとしています。
SO呼び出しは、クライアント->インターセプター(ユーザー資格情報の変更)+その他の変更->元のOracle ERP /SiebelWebサービスの呼び出しに似ています。
これはxslを介して実行されます...さまざまなオプションを試しましたが、機能しませんでした...これについてはひどく助けが必要です...多くのサイトを検索しましたが、正しい答えが見つかりません。
Webサービスリクエストのサンプルを以下に示します。
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://siebel.com/CustomUI" >
<soapenv:Header>
<UsernameToken xmlns="http://siebel.com/webservices">Bill</UsernameToken>
<PasswordText xmlns="http://siebel.com/webservices">Gates</PasswordText>
<SessionType xmlns="http://siebel.com/webservices">None</SessionType>
</soapenv:Header>
<soapenv:Body>
<cus:SiebelService>
<a>testvalue1</a>
<b>testvalue2</b>
</cus:SiebelService>
</soapenv:Body>
</soapenv:Envelope>
これは、次の出力を提供するためにxslを使用して変換する必要があります。
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://siebel.com/CustomUI" >
<soapenv:Header>
<UsernameToken xmlns="http://siebel.com/webservices">Steve</UsernameToken>
<PasswordText xmlns="http://siebel.com/webservices">Balmer</PasswordText>
<SessionType xmlns="http://siebel.com/webservices">None</SessionType>
</soapenv:Header>
<soapenv:Body>
<cus:SiebelService>
<a>testvalue1</a>
<b>testvalue2</b>
</cus:SiebelService>
</soapenv:Body>
</soapenv:Envelope>