Web Service Invocation
Web Service Invocation
2.
Start the SOAPUI application. The application would look similar to the below.
3.
4.
Provide a name for the project. Provide the WSDL URL for the Fusion Worker Web service.
The format of the web service would be
https://<The external URL for HCM>/ hcmEmploymentCoreWorkerV2/WorkerService?wsdl
e.g If the POD name is ABC, then the WSDL URL would be
https://hcm-aufsn4x0abc.oracleoutsourcing.com/ hcmEmploymentCoreWorkerV2/WorkerService?wsdl
In this example, we would be using the following URL
https://efops-rel8-ptst-external-hcm.us.oracle.com/hcmEmploymentCoreWorkerV2/WorkerService?wsdl
5.
Once the project is created successfully, the screen would look similar to the below.
6.
Select the Project name and right click and select Show Project View.
Provide a name for the configuration and click ok. Select the configuration created and click on + icon in the bottom table.
Provide the Fusion applications username and password. Uncheck both the checkboxes and select Password Type as PasswordText
Click on the + icon again and select Timestamp and click ok button. Provide Time to Live as 300.
7.
In this example, we would be using updateAssignment operation to update the data for an existing assignment.
Expand the updateAssignment and double click on Request1.
The left hand section corresponds to the request and the right hand section corresponds to the response.
Click on Aut at the bottom.
Select the configuration created earlier for the Outgoing WSS dropdown.
8.
Provide the payload and invoke the service. In this example, we would be updating the job id of an existing assignment. The sample
request xml would look like.
In this example, we are trying to update the job id to 300100047422602 for the assignment 300100062105917 effective from 2014-JUN01.
The XML would vary depending on the operation being performed and the data that is updated.
After preparing the XML, click the green icon to invoke the service. The successful response would look like
If there are validation failures during the execution of the operation, the response message would contain the error details.
e.g. If we provide an incorrect value for job id (e.g 123456789) effective from 2014-JUL-01, then the response would look like