I am trying to call a webservice from Websphere Portal server, however I Notice a very strange behavior with the SOAP message.
In the request msg that I send, there are no headers present, whereas in the request received by the producer, additional headers are added like date timezone locale and stuff like that. This was initially causing a few problems but latter the producer managed to bypass the headers so all is good now.But I am just curious to know why they are added in portal and can be disabled.
I am using JAX RPC,
This is the message that I get when I print it at my end before sending the request
<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>
This is the message that is received at the producers end.
<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>
Regards Snehan Solomon