Websphere Portal サーバーから Web サービスを呼び出そうとしていますが、SOAP メッセージで非常に奇妙な動作をしていることに気付きました。
私が送信したリクエストメッセージにはヘッダーがありませんが、プロデューサーが受け取ったリクエストには、日付タイムゾーンロケールなどの追加ヘッダーが追加されています。これは最初はいくつかの問題を引き起こしていましたが、後者ではプロデューサーがヘッダーをバイパスすることに成功したため、現在はすべて問題ありません。しかし、ポータルに追加され、無効にできる理由を知りたいです。
私はJAX RPCを使用しています。
これは、リクエストを送信する前に最後に印刷すると表示されるメッセージです
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header/>
<soapenv:Body>
これは、プロデューサー側で受信されるメッセージです。
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header>
<InternationalizationContext soapenv:mustUnderstand="0" xmlns="http://www.ibm.com/webservices/InternationalizationContext">
<Locales xmlns="">
<Locale>
<LanguageCode>en</LanguageCode>
<CountryCode>US</CountryCode>
</Locale>
<Locale>
<LanguageCode>en</LanguageCode>
</Locale>
</Locales>
<TimeZoneId xmlns="">GMT</TimeZoneId>
</InternationalizationContext>
</soapenv:Header>
<soapenv:Body>
よろしく スネハン・ソロモン