Webservice to add an Attachment to a Fusion Payables Invoice Throws Access Denied Error (Doc ID 2034909.1)

Last updated on JULY 22, 2015

Applies to:

Oracle Fusion Payables Cloud Service - Version 11.1.4.0.0 and later
Oracle Fusion Payables - Version 11.1.4.0.0 and later
Information in this document applies to any platform.

Goal

Using the webservice https://XXXXX.XXX.oraclecloud.com:443/publicPayablesInvoiceService/InvoiceService to add an attachment to an existing invoice in Oracle Fusion Payables.

The Soapmessage returns an invoke of the message and an Access Denied error as below;

Soap answer received in XML
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<env:Fault>
<faultcode>env:Server</faultcode>
<faultstring>access denied (oracle.wsm.security.WSFunctionPermission http://xmlns.oracle.com/apps/financials/payables/invoices/transactions/invoiceService/InvoiceService#createURLAttachment invoke)</faultstring>
</env:Fault>
</env:Body>
</env:Envelope>


Soap answer received in raw format;
HTTP/1.1 500 Internal Server Error
Server: Oracle-Application-Server-11g
X-ORACLE-DMS-ECID: 0056DtbgXcc3z015Rvd9id0002kB0001Om
SOAPAction: ""
Content-Encoding: gzip
Content-Type: text/xml; charset=UTF-8
Content-Language: en
Date: Fri, 19 Jun 2015 12:53:05 GMT
Transfer-Encoding: chunked
Connection: close
Vary: Accept-Encoding
Connection: Transfer-Encoding
Set-Cookie: JSESSIONID=; expires=Thu, 01-Jan-1970 01:00:00 GMT; path=/; HttpOnly
Set-Cookie: _WL_AUTHCOOKIE_JSESSIONID=; expires=Thu, 01-Jan-1970 01:00:00 GMT; path=/; secure; HttpOnly
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault><faultcode>env:Server</faultcode><faultstring>access denied (oracle.wsm.security.WSFunctionPermission http://xmlns.oracle.com/apps/financials/payables/invoices/transactions/invoiceService/InvoiceService#createURLAttachment invoke)</faultstring></env:Fault></env:Body></env:Envelope>

 

Solution

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms