Creating Records Under Custom Object Via Web Services (Doc ID 2116012.1)

Last updated on JULY 27, 2017

Applies to:

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

Symptoms

Creating records under custom object via web services
By using common custom object web service customer is trying to add a new record, but it is not getting created.
This is the WSDL I have used : https://<crm_server:PortNumber>/foundationCustExtn/CrmCommonReferenceService?WSDL
Name of the service : createEntity

The user should be able to use the web service to create custom record.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Using Soap UI.
2. Try to call the web service using the request payload below:

<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns5:createEntity xmlns:ns2="http://xmlns.oracle.com/adf/svc/types/" xmlns:ns3="http://xmlns.oracle.com/adf/svc/errors/" xmlns:ns4="commonj.sdo" xmlns:ns5="http://xmlns.oracle.com/apps/sales/custExtn/CrmCommonReferenceService/types/" xmlns:ns6="/oracle/apps/sales/custExtn/views/common/">

<ns5:object xsi:type="ns6:CustomAddress_c" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns6:Custom1_c>DUBAI</ns6:Custom1_c>
<ns6:Custom2_c>55</ns6:Custom2_c>
<ns6:Custom3_c>23</ns6:Custom3_c>
<ns6:Custom4_c>QATAR</ns6:Custom4_c>
<ns6:Account_Id_Account_CustomAddress>30000000NNNNNN</ns6:Account_Id_Account_CustomAddress>
</ns5:object>
<ns5:objectName>CustomAddress_c</ns5:objectName>
</ns5:createEntity>
</S:Body>
</S:Envelope>


3. getting response for unknown method.

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<env:Fault>
<faultcode>env:Client</faultcode>
<faultstring>Unknown method</faultstring>
</env:Fault>
</env:Body>
</env:Envelope>

Cause

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