Forum Stats

  • 3,733,041 Users
  • 2,246,686 Discussions
  • 7,856,490 Comments

Discussions

SOAP MIME Header does not contain Set-Cookie when running with weblogic12c

3054467
3054467 Member Posts: 3

<span class="typ" style="color: #2b91af;">SOAPMessage</span><span class="pln" style="color: #000000;"> soapResponse </span><span class="pun" style="color: #000000;">=</span><span class="pln" style="color: #000000;"> soapConnection</span><span class="pun" style="color: #000000;">.</span><span class="pln" style="color: #000000;">call</span><span class="pun" style="color: #000000;">(</span><span class="pln" style="color: #000000;">createSOAPRequest</span><span class="pun" style="color: #000000;">(),</span><span class="pln" style="color: #000000;"> url</span><span class="pun" style="color: #000000;">);</span><span class="pln" style="color: #000000;"><br/></span><span class="typ" style="color: #2b91af;">String</span><span class="pln" style="color: #000000;"> session </span><span class="pun" style="color: #000000;">=</span><span class="pln" style="color: #000000;"> soapResponse</span><span class="pun" style="color: #000000;">.</span><span class="pln" style="color: #000000;">getMimeHeaders</span><span class="pun" style="color: #000000;">().</span><span class="pln" style="color: #000000;">getHeader</span><span class="pun" style="color: #000000;">(</span><span class="str" style="color: #800000;">"Set-Cookie"</span><span class="pun" style="color: #000000;">)[</span><span class="lit" style="color: #800000;">0</span><span class="pun" style="color: #000000;">];</span>



When iterated over all headers soapResponse.getMimeHeaders().getAllHeaders(), there is no header(when running in web application) with name Set-Cookie.

I am using Oracle WebLogic 12c(12.1.3)

Sign In or Register to comment.