Getting 401 Unauthorized Error Using Webservices to Update Rates
(Doc ID 2454147.1)
Last updated on OCTOBER 12, 2022
Applies to:
Oracle Fusion Incentive Compensation Cloud Service - Version 11.13.18.05.0 and laterOracle Fusion Incentive Compensation - Version 11.13.18.05.0 and later
Oracle Fusion Procurement Contracts Cloud Service - Version 11.13.18.05.0 and later
Information in this document applies to any platform.
Symptoms
After upgrade to 13.18B, user can not use webservices to update the rates.
ERROR
10.4.2 401 Unauthorized The request requires user authentication. The response MUST include a WWW-Authenticate header field (section 14.46) containing a challenge applicable to the requested resource. The client MAY repeat the request with a suitable Authorization header field (section 14.8). If the request already included Authorization credentials, then the 401 response indicates that authorization has been refused for those credentials. If the 401 response contains the same challenge as the prior response, and the user agent has already attempted authentication at least once, then the user SHOULD be presented the entity that was given in the response, since that entity MAY include relevant diagnostic information. HTTP access authentication is explained in section 11.
WEBSERVICE
https://<pod>.fa.us2.oraclecloud.com:443/fscmService/RateTableServiceService?WSDL
PAYLOAD
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://xmlns.oracle.com/apps/incentiveCompensation/cn/compensationPlanSetup/rateTables/rateTableService/types/"
xmlns:rat="http://xmlns.oracle.com/apps/incentiveCompensation/cn/compensationPlanSetup/rateTables/rateTableService/">
<soapenv:Header/>
<soapenv:Body>
<typ:createUpdatePerformanceMeasureRate>
<typ:buName>LA</typ:buName>
<typ:participantId>116001</typ:participantId>
<typ:compensationPlanName>LA_SYSTEMS_IC1</typ:compensationPlanName>
<typ:planAssignmentStartDate>2018-07-01</typ:planAssignmentStartDate>
<typ:planAssignmentEndDate>2018-12-31</typ:planAssignmentEndDate>
<typ:planComponentName>Revenue 1</typ:planComponentName>
<typ:measureName>REV 1 Annual PM</typ:measureName>
<typ:rateTableName>Common Rate Table</typ:rateTableName>
<typ:rateAssignmentStartDate>2018-07-01</typ:rateAssignmentStartDate>
<typ:rateAssignmentEndDate>2018-12-31</typ:rateAssignmentEndDate>
<!--Zero or more repetitions:-->
<typ:rateList>
<!--Optional:-->
<rat:RateDimensionName>Common Rate
Dimension</rat:RateDimensionName>
<!--Optional:-->
<rat:RateTierValue>0-5.00001</rat:RateTierValue>
</typ:rateList>
<typ:value>0</typ:value>
</typ:createUpdatePerformanceMeasureRate>
</soapenv:Body>
</soapenv:Envelope>
RESPONSE
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Draft//EN">
<HTML>
<HEAD>
<TITLE>Error 401--Unauthorized</TITLE>
</HEAD>
<BODY bgcolor="white">
<FONT FACE=Helvetica><BR CLEAR=all>
<TABLE border=0 cellspacing=5><TR><TD><BR CLEAR=all>
<FONT FACE="Helvetica" COLOR="black" SIZE="3"><H2>Error
401--Unauthorized</H2>
</FONT></TD></TR>
</TABLE>
<TABLE border=0 width=100% cellpadding=10><TR><TD VALIGN=top WIDTH=100%
BGCOLOR=white><FONT FACE="Courier New"><FONT FACE="Helvetica"
SIZE="3"><H3>From RFC 2068 <i>Hypertext Transfer Protocol --
HTTP/1.1</i>:</H3>
</FONT><FONT FACE="Helvetica" SIZE="3"><H4>10.4.2 401 Unauthorized</H4>
</FONT><P><FONT FACE="Courier New">The request requires user authentication.
The response MUST include a WWW-Authenticate header field (section 14.46)
containing a challenge applicable to the requested resource. The client MAY
repeat the request with a suitable Authorization header field (section 14.8).
If the request already included Authorization credentials, then the 401
response indicates that authorization has been refused for those credentials.
If the 401 response contains the same challenge as the prior response, and
the user agent has already attempted authentication at least once, then the
user SHOULD be presented the entity that was given in the response, since
that entity MAY include relevant diagnostic information. HTTP access
authentication is explained in section 11.</FONT></P>
</FONT></TD></TR>
</TABLE>
</BODY>
</HTML>
Changes
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 |
Changes |
Cause |
Solution |
References |