Vous êtes sur la page 1sur 74

Fusion Technical and Integration.................................................................................................................

3
Create XSD based on the sample XML.........................................................................................................3
WSDL.........................................................................................................................................................10
Navigation in Fusion .................................................................................................................................12
Personal Information.............................................................................................................................12
Person Management.............................................................................................................................12
Invoices..................................................................................................................................................16
Order Management...............................................................................................................................18
Notifications (Workflow).......................................................................................................................21
Settings and Actions..............................................................................................................................22
Tools .....................................................................................................................................................23
Security Console....................................................................................................................................23
Personalization and Customization...........................................................................................................26
Create and Activate Sandbox.................................................................................................................26
Edit Pages (Customize a particular page)...............................................................................................28
Global Appearance................................................................................................................................35
Structure (Add link to a custom page)...................................................................................................39
Manage Flex Fields (DFF)...........................................................................................................................42
Manage Lookups........................................................................................................................................42
Manage ValueSets.....................................................................................................................................43
Creating new Role, new user and assigning role to user...........................................................................45
Create Job Role......................................................................................................................................45
Create Security Profile...........................................................................................................................50
Create Data Role....................................................................................................................................54
Assign Role to User................................................................................................................................58
OBI Report ................................................................................................................................................62
OTBI Reports..............................................................................................................................................62
Accessing SOAP Webservice using SoapUI.................................................................................................63
Accessing SOAP web service using pl/sql client.........................................................................................64
Accessing REST web service using pl/sql client..........................................................................................65
Accessing SOAP Web Service from Java.....................................................................................................66
Download OBI Report using ReportService – SOAP UI...............................................................................70
Download OBI using ReportService – Java.................................................................................................71
File Based Data Import (Manual) – Daily Rates..........................................................................................72
OIC Hellow World Service..........................................................................................................................73
FBDI Automation using OIC – Daily Rates..................................................................................................74
Fusion Technical and Integration
Create XSD based on the sample XML

<Order>
<Order_id>100</Order_id>
<Customer>
<Id>1234</Id>
<Name>David</Name>
</Customer>
<Items>
<Item>
<Id>1001</Id>
<Name>Nokia Lumia1</Name>
<Price>6000</Price>
</Item>
<Item>
<Id>1002</Id>
<Name>Samsung Note</Name>
<Price>10000</Price>
</Item>
<Item>
<Id>1003</Id>
<Name>Lenovo 766</Name>
<Price>11000</Price>
</Item>
<Item>
Use above content as sample XML.
Crete an XML file with the above content using any notepad.
Name the XML as OrderSample.xml
Start Jdeveloper
Create new Application
Click OK
Enter Application Name as Fusion1
Click Next
Click Finish

Click OK
Click Finish
Right Click on Client -> New -> From Gallery
Select XML -> XML Schema from XML Document

Enter Detailed as per the below image.


Clicking on Browse, select the OrderSample.xml
Click OK button.
Click on Source tab at the bottom

You will see the XSD.


Answer below questions:
1. What is the root element of this XSD
2. How many 1st level sub elements exist for Order element? What are those?
3. Why does Order_id element has attribute type="xsd:integer" and Customer element does not
have type attribute?
4. What is target name space of this XSD
5. What is the meaning of maxOccurs="unbounded" in Item element?
6. How to make an element optional?
Answers

1. Order

2. Three. Order_id, Customer, Items

3. Order_id is leaf node whereas Customer is a complex type with additional sub elements

4. http://www.example.org

5. That means, Item element may repeat any number of times in the XML document

6. Use minOccurs=”0” attribute


WSDL
<wsdl:definitions xmlns:tns="http://xmlns.oracle.com/SoaTrg1/GetEmpService1/EmpMed"

xmlns:inp1="http://www.example.org/emp" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="EmpMed"

targetNamespace="http://xmlns.oracle.com/SoaTrg1/GetEmpService1/EmpMed">

<wsdl:types>

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.example.org/emp"

targetNamespace="http://www.example.org/emp" elementFormDefault="qualified">

<xsd:element name="EmployeeDetails">

<xsd:complexType>

<xsd:sequence>

<xsd:element name="employeeId" type="xsd:int"/>

<xsd:element name="firstName" type="xsd:string" minOccurs="0" nillable="true"/>

<xsd:element name="lastName" type="xsd:string" minOccurs="0"/>

<xsd:element name="email" type="xsd:string" minOccurs="0"/>

<xsd:element name="phoneNumber" type="xsd:string" minOccurs="0" nillable="true"/>

<xsd:element name="jobId" type="xsd:string" minOccurs="0"/>

<xsd:element name="salary" type="xsd:decimal" minOccurs="0" nillable="true"/>

<xsd:element name="commissionPct" type="xsd:decimal" minOccurs="0"


nillable="true"/>

<xsd:element name="managerId" type="xsd:int" minOccurs="0" nillable="true"/>

<xsd:element name="departmentId" type="xsd:int" minOccurs="0" nillable="true"/>

</xsd:sequence>

</xsd:complexType>

</xsd:element>

<xsd:element name="empId" type="xsd:integer"/>

</xsd:schema>

</wsdl:types>

<wsdl:message name="requestMessage">

<wsdl:part name="request" element="inp1:empId"/>

</wsdl:message>

<wsdl:message name="replyMessage">

<wsdl:part name="reply" element="inp1:EmployeeDetails"/>

</wsdl:message>

<wsdl:portType name="Emp">

<wsdl:operation name="empdetails">
<wsdl:input message="tns:requestMessage"/>

<wsdl:output message="tns:replyMessage"/>

</wsdl:operation>

</wsdl:portType>

</wsdl:definitions>

Refer above WSDL (file: wsdl\GetEmpTrigger.wsdl)and answer the below questions:


1. What is port type /name of the web service?
2. How many operations are exposed by this web service and names of those operations
3. What is input XSD element for operation: emp_details
4. What is the response XSD element for operation: emp_details
5. Does the WSDL document has end point URL of the web service? If yes, what is the value?
Navigation in Fusion
In this activity, you will get familiar with the Oracle Fusion Apps User Interface. You can navigate across
different areas of the application.

Click on Home icon top right corner

Click on Navigator icon on top left corner


Navigate to some pages like

Personal Information
Navigator -> Me -> Personal Information
Notice that it has personal Information

Person Management
Navigator -> My Client Groups -> Person Management
Enter 101 in Person Number field and click on Search button
Click on Name field from the results

That opens Person Details in read only mode


Notice that there is Edit Button

Click on Book icon on the right


Notice that it opens a panel with related actions for the current page

Click on Manage Person


Navigate through tabs:
Manage Person, Contacts, Documents etc.

Also notice that, it shows the existing entries in the bottom portion
Have View, Create actions etc.
Invoices

Click on any Number in any of the the boxes

You see list of Invoices in the result table


Also notice that there is icon the right. Clicking on that, you will find relaed actions.
To open any Invoice details, click on the Invoice Number column enry
Order Management

Click on either on the chart bar or any number to get the list of Orders related to that
Click into Order (number) column to get the details of the particular Order
Notice that, there are tabs Order Lines, Fulfillment Lines, Returns

You may further click and navigate across them.


Notifications (Workflow)
Click on Notifications icon

Click on More Details for BPM worklist app


Settings and Actions
Tools
Navigator -> More -> Tools

Security Console
Click on Users on the left Navigation
Enter user name and click on search icon
Click on the Display Name entry to manage roles of the user
Personalization and Customization
Create and Activate Sandbox
Click on Manage Sandboxes from the drop down of User name on top right corner

Click on + icon

Enter a name for Sandbox:bkDemo Sandbox


Clock on Save and Close.
Wiat for the action to complete and click on OK on Confirmation popup.

Search for your sandbox by entering the starting part of the name
Note that the name is prefixed with ApplCodeLongSB_
Select the row from the result (Do not click on the name, just select the row)
Click on Set as Active button
Notice tht the name of the Sandbox is displayed on top left corner, that means you are in the context of
sandbox

Edit Pages (Customize a particular page)


Navigate to Order Management and Open any Order details, please follow the steps you used in the
earlier activity.
Click on Edit Pages from the Settings and Actions
Click on Select tab on top left corner

Activity: Show/Hide Items, Change Order


Click on the details section towards empty space on the right and select Edit Component
Click on Children

Un select an existing selected item


Select an existing un selected item
Change the order of the items
Click on OK
Notice that the changes are reflected in the main page.
Activity: Customize the value field of a particular item
Now select value displayed for Source Order System
Click on Edit Component
Note it has properties related to that item and possible to customize. Don’t do any changes though.
Activity: Customize the whole item field
This time, click on the label of the Source Order System

Click on Edit Component


Select the checkbox Show Required
Click on drop down at the right most of Label
Select Expression Builder

Enter Value: System Name - Source Order for the field Type a value or Expression (note: remove the
existing value)
Click OK
Click OK
Notice that the field is showing a required and also reflecting the label as entered in the previous step
Click on Close button on top right corner

Notice the customization changes are still reflecting in the page

Global Appearance
Navigator -> More -> Configuration -> Appearance
Activity: Change Logo
Select Logo drop down as File
Browse and select zenzar.png from lab->files
Activity: Change other attributes
Pages section:
Change Heading color to Blue etc.

Buttons Section:
Change Label color to Red
Border to Blue
Click on Actions -> Save As

Enter value for Theme Name: bkDemo – Theme


Click OK

Observations:
Logo should be reflecting the new logo.
Open Order details and notice the heading, buttons, links etc. should be reflecting as per the changes
done in the above steps.

Structure (Add link to a custom page)


Navigator -> More -> Configuration -> Structure

Click on Create and Create Page Entry

Enter as per the below image


Click on Save and Close
Open Navigator -> More
You can notice new entry: Zensar Home
Click on that

It will open the link in a new tab


Manage Flex Fields (DFF)
In this activity, you will creating a new flex field in Job Details.
You can refer the video: FlexFieldsJobs.mp4
Quick Steps:
Go to Page (Navigator -> HR Functionen -> Workforce Structure
Manage Jobs
Search for Name: Human%
Select Human Resource Administrator
Setting and Actions -> Highlight Flexfields
Click on info icon and note down the flexfield code (PER_JOBS_DFF)
Setup and Maintenance -> book icon -> Search -> search for: Manage Desc%
Click on Manage Descriptive Flexfields
Search with the code (PER_JOBS_DFF)
Edit
Add new flexfield by entering all the details
Select Value Set : 30 Characters for string
Save and Clode
Save and Clode
Deploy
It should be 100% success.
Log out (Close the browser window)
Login
Navigate to the Job details using the same navigation steps as above
Notice that the new flexfield is visible
You can enter a value during Edit

Manage Lookups
You will learn how to add additional Lookup Codes under an existing Lookup.
You can refer the video: LookupsMarStatus.mp4
Quick Steps:
Go to Person Management
Manage Person
Marital Status. Try to edit and check the existing list of items
Setup and Maintenance, book icon, search
Search for: Manage Common Look%
Click into Manage Common Lookups
Search for Lookup Type: MAR%
Scroll down to see the list of Lookup codes
Also notice every lookup code has sequence
Click on + icon to add a new lookup code
Enter next sequence number based on what is the max sequence number already used
Save and Clode
Reopen the Person Management and edit Martital Status
You can see the newly added item also available in the list of values

Manage ValueSets
You will learn how to create a new ValueSet and use them in Flexfields
You can refer the videos:
ValueSet-part1.mp4
ValueSet-part2.mp4

Quick Steps:
Setup and Maintenance -> book icon -> search
Search for: Manage Value%
Click into Manage ValueSets
Create a new ValueSet by entering the required values
Search for the newly created ValueSet and click on Manage Values
Add required values (they will be list of items for the LOV)
Save and Close
Once done, we need to attach this to a flexfield.
We already added a flexfield in Jobs
Search for Manage Desc% in Setup and Maintenance and enter to that task
Search for the Flexfield (PER_JOBS_DFF)
Edit the flexfield and update ValueSet field.
Use the newly created ValueSet.
Deploy the flexfield, logout, close the window
Login and check that during edit Job, you will be able to select the value through a drop down for the
flexfield.
Creating new Role, new user and assigning role to user
Create Job Role
Click on Setup & Maintenance

Click on book icon on top right corner

Click on Search
Enter Manage Job Role and Click on Search icon

Click on Manage Job Roles

Click on Create Role


Enter Basic details:
Demo Terminate Job Role
Demo_terminate_job_role
HCM – Job Roles

Click Next
Click Next
Click Next
In Role Hierarchy, click on Add Role
Type: Worker Termination
Click on Worker Termination Duty PER_WORKER_TERMINATION_DUTY

Click on Add Role Membership


Click OK on Confirmation
Close the Add Role Membership popup window
Click Next
Click Next
Click Save & Close

Create Security Profile


Search Manage Person Security Profile under Setup & Maintenance
Click on Manage Person Security Profile

Click on Create

Enter Demo US Legal Profile


Scroll Down
Select check box Secure by legal employer

Click on drop down and Search

Click on Advanced
Select
Contains
US
Click on Search

Select one row from the result and click on OK


Select All under Assignments to Evaluate

Click on Next button on top right corner

Click on Save and Close button


Click on Done

Create Data Role


Search for Assign Security Profiles to Role under Setup & Maintenance

Click on the Assign Security Profiles to Role

Click on Create
Enter: Demo Termination US Legal Data Role
Click on Drop down for Job Role and Click on Search

Enter: Demo Term% and Click on Search

Select the row from the result and click on OK


Click Next

Click on Search to find Person Security Profile


Enter Demo US% and click on Search
Select the row from the result and click on OK

Click on Review button on top right corner

Click on Submit button


Assign Role to User
Go to Security Console
Navigator -> Tools -> Security Console

Click on Users from the left panel


Enter user name and click on search icon. Click on the Username from the results.

Click on Edit button

Click on Add Role


Type Demo%
Select Demo Termination US Legal Data Role from the suggested items
Select the result row and click on Add Role Membership button

Click OK on Confirmation popup


Click on Done
You can see the new role added to the User.

Click on Save and Close


OBI Report
Refer video: OBI Report.mp4

OTBI Reports
Refer videos:

 OTBI-part1.mp4

 OTBI-part2.mp4

 OTBI-Top10.mp4
Accessing SOAP Webservice using SoapUI
This activity shows steps for accessing a soap based web service using SoapUI.
Refer recording: SoapUIClient-HellowWorld.mp4
Accessing SOAP web service using pl/sql client
In this activity, you will learn how to call a SOAP based web service using pl/sql. You will be using
Calculator web service tha is available public (WSDL: http://www.dneonline.com/calculator.asmx?
WSDL )

Code reference: soapclient-plsql.sql


Refer recording: Soap-plsql-client-Calculator.mp4
Accessing REST web service using pl/sql client
In this activity, you will learn how to call a REST based web service using pl/sql. You will be using
Calculator web service tha is available public (https://api.mathjs.org/ )

REST API URL: http://api.mathjs.org/v4/?expr=2*5

You can do this activity similar to pl/sql client for SOAP web service.

Code reference: restclient-plsql.sql


Accessing SOAP Web Service from Java
Create Java Desktop Application in Jdeveloper
Application Name: SoapClientApp
Project Name: SoapClientProject
Click Next
Browse and Select files/HellowWorld.wsdl
Uncheck Copy WSDL
Use all default options and click Next till Step 8 of 8
Click Finish
It will Open a file HelloWorldClient.Java
Paste the below two lines in the main method before closing bracket}
String retValue = helloWorld.sayHello("Zensar");
System.out.println("Return Value: " + retValue);
Save
Right Click and Click on Run

Wait for the output


You can see the output:
Return Value: Hello Zensar
Explore WSDL, Java Files, XML files
Download OBI Report using ReportService – SOAP UI
Refer recording: ReportService_SOAPUI.mp4
Download OBI using ReportService – Java
Bfore using Java client, need to download and add certificated to cert store of Java and Jdeveloper.
Follow the instructions from file: cert-add-for-fusion.txt
Refer recording: ReportService-JavaClient.mp4
Use Java content from file: ReportServiceClient.java
File Based Data Import (Manual) – Daily Rates
Refer recording: FBDI-manual.mp4
OIC Hellow World Service
This includes accessing the SOAP based web service using SOAP UI as well
Refer recording: oic-greetings.mp4
FBDI Automation using OIC – Daily Rates
Refer recording: FBDIAutomation-OIC.mp4

Vous aimerez peut-être aussi