Introduction
There are various ways of creating employees in Oracle Fusion HCM Cloud Application. It could be either of:
-
Application UI
-
HCM Data Loader
-
HCM Spreadsheet Loader
-
Web-Service
One can refer toCreate an Employee In Fusion HCM to learn how to create a new employee in Oracle Fusion HCM . Similarly one may referLoading Worker Record Using HDL Template to learn how to create employee using HDL. For creating worker record using HCM Spreadsheet Loader feel free to refer this link here.
And now coming for the last option, we would try to demonstrate the same in this article here.
Pre-requisite
One would require some Soap Web Service Testing Tools. For this example we would be using SOAPUI. Once we have downloaded the SOAPUI tool we would need to have the following details handy in order to create a SOAPUI project:
-
WSDL
-
Operation
-
User Credentials
Now the WSDL URL would be specific to every environment and one might get to know the exact WSDL URL by following the below navigation.
Login to Oracle HCM Cloud Application -> Navigator -> Tools -> Developer Connect
Once we click on the link this would take us to a new screen where we need to search for the specific web service whose WSDL URL we are trying to retrieve (Worker Version 2 for this example)
If we click on the highlighted text we would be taken to a new tab which will contain the Web Service Details.
Next we would need to go to the “Operations” tab and choose the appropriate one.
Now we would need to open the SOAPUI and create a new project. Once we give the WSDL detail the associated Web Service Operations would be displayed in the SOAPUI application as below:
We would need to provide a Sample Input (referred to as Sample Payload) and when we click on “Submit request to specific end point URL” we will get a response. For this example we are trying to create a new employee ( we would assign WS2 as the person number to the record). But prior to using this let-us check whether the same employee has not been used in the application. We can check this by performing a search operation on the Person Management page ( Navigator -> My Workforce -> Person Management -> Pass Person Number as WS2 on Person Number field and click on Search)
So now that we have verified that this person number (WS2) has not been used we can go ahead with next steps. We would populate the input XML (sample payload)
And now once we click (Alt +Enter) or click on the green arrow (highlighted in image above) we will find a response.
We could see that there is a XML response received. As a last step let us try to check whether a record is visible on the Application UI .
One may get the sample payload used for this example from the link below:
CreateWorkerSamplePayloadMinAttributes.xml
Comments
unpredicted emotions.
RSS feed for comments to this post