My Oracle Support Banner

Receiving An Error 'Missing WWW-Authenticate Header' In GET Operation (Doc ID 2675399.1)

Last updated on AUGUST 06, 2023

Applies to:

Oracle SOA Suite - Version 11.1.1.7.8 to 12.2.1.0.0 [Release 11gR1 to 12c]
Information in this document applies to any platform.

Symptoms

A business requirement in 2 degrees to send HTTP request (GET and POST) from SOA 11g to an external client, which need to send base64 authorization and Content-type in HTTP header along with HTTP request. To incorporate this requirement HTTP Binding Adapter is used in external reference using verb POST and payload xml and verb GET and payload 'url-encoded'

HTTP Headers -
Below properties is added in reference binding in composite.xml:
<property name="oracle.webservices.http.headers">authorization,Content-type</property>

and below property is added in BPEL at the time of invoke:

<bpelx:toProperties>
<bpelx:toProperty name="authorization" variable="xmlgtwyheadervar"/>

<bpelx:toProperty name="Content-type" variable="contenttypevar"/>
</bpelx:toProperties> 
  

While doing so it successfully send POST request and receive response from external client however when using operation 'GET' there is an error:
"Missing WWW-Authenticate header"

Using same properties in POST and GET but POST is working and GET is not working.
 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.