Expose Application Module as SOAP Service for View Object Built-in operations

Advanced Oracle ADF 12c Course Model|Expose Application Module to SOAP Web Service
11 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$69.99
List Price:  $99.99
You save:  $30
€64.51
List Price:  €92.16
You save:  €27.65
£55.26
List Price:  £78.95
You save:  £23.68
CA$95.77
List Price:  CA$136.82
You save:  CA$41.05
A$105.61
List Price:  A$150.88
You save:  A$45.26
S$94.49
List Price:  S$134.99
You save:  S$40.50
HK$546.56
List Price:  HK$780.84
You save:  HK$234.27
CHF 64.51
List Price:  CHF 92.16
You save:  CHF 27.65
NOK kr745.92
List Price:  NOK kr1,065.65
You save:  NOK kr319.72
DKK kr481.76
List Price:  DKK kr688.26
You save:  DKK kr206.50
NZ$114.32
List Price:  NZ$163.32
You save:  NZ$49
د.إ257.07
List Price:  د.إ367.26
You save:  د.إ110.19
৳8,200.05
List Price:  ৳11,714.86
You save:  ৳3,514.80
₹5,813.28
List Price:  ₹8,305.04
You save:  ₹2,491.76
RM329.26
List Price:  RM470.40
You save:  RM141.13
₦102,276.30
List Price:  ₦146,115.27
You save:  ₦43,838.96
₨19,447.66
List Price:  ₨27,783.57
You save:  ₨8,335.90
฿2,561.05
List Price:  ฿3,658.80
You save:  ฿1,097.75
₺2,253.54
List Price:  ₺3,219.48
You save:  ₺965.94
B$361.65
List Price:  B$516.66
You save:  B$155.01
R1,289.17
List Price:  R1,841.76
You save:  R552.58
Лв126.36
List Price:  Лв180.52
You save:  Лв54.16
₩95,655.33
List Price:  ₩136,656.33
You save:  ₩41,001
₪256.70
List Price:  ₪366.73
You save:  ₪110.03
₱4,073.73
List Price:  ₱5,819.86
You save:  ₱1,746.13
¥10,984.57
List Price:  ¥15,692.92
You save:  ¥4,708.34
MX$1,168.81
List Price:  MX$1,669.81
You save:  MX$500.99
QR254.92
List Price:  QR364.18
You save:  QR109.26
P949.81
List Price:  P1,356.93
You save:  P407.12
KSh9,122.85
List Price:  KSh13,033.20
You save:  KSh3,910.35
E£3,298.27
List Price:  E£4,712.01
You save:  E£1,413.74
ብር4,016.76
List Price:  ብር5,738.47
You save:  ብር1,721.71
Kz59,376.64
List Price:  Kz84,827.41
You save:  Kz25,450.77
CLP$63,605.87
List Price:  CLP$90,869.43
You save:  CLP$27,263.55
CN¥497.66
List Price:  CN¥710.97
You save:  CN¥213.31
RD$4,116.79
List Price:  RD$5,881.38
You save:  RD$1,764.59
DA9,406.51
List Price:  DA13,438.44
You save:  DA4,031.93
FJ$158.71
List Price:  FJ$226.74
You save:  FJ$68.02
Q543.03
List Price:  Q775.80
You save:  Q232.76
GY$14,626.09
List Price:  GY$20,895.31
You save:  GY$6,269.22
ISK kr9,653.57
List Price:  ISK kr13,791.40
You save:  ISK kr4,137.83
DH697.32
List Price:  DH996.21
You save:  DH298.89
L1,240.19
List Price:  L1,771.78
You save:  L531.58
ден3,973.31
List Price:  ден5,676.40
You save:  ден1,703.09
MOP$562.57
List Price:  MOP$803.71
You save:  MOP$241.13
N$1,284.81
List Price:  N$1,835.52
You save:  N$550.71
C$2,572.99
List Price:  C$3,675.86
You save:  C$1,102.87
रु9,296.83
List Price:  रु13,281.76
You save:  रु3,984.92
S/261.34
List Price:  S/373.37
You save:  S/112.02
K271.67
List Price:  K388.13
You save:  K116.45
SAR262.50
List Price:  SAR375.02
You save:  SAR112.51
ZK1,865.84
List Price:  ZK2,665.60
You save:  ZK799.76
L320.98
List Price:  L458.57
You save:  L137.58
Kč1,589.64
List Price:  Kč2,271.01
You save:  Kč681.37
Ft24,759.44
List Price:  Ft35,372.15
You save:  Ft10,612.70
SEK kr760.40
List Price:  SEK kr1,086.34
You save:  SEK kr325.93
ARS$62,235.70
List Price:  ARS$88,911.95
You save:  ARS$26,676.25
Bs483.06
List Price:  Bs690.12
You save:  Bs207.05
COP$270,493.43
List Price:  COP$386,435.76
You save:  COP$115,942.32
₡35,841.38
List Price:  ₡51,204.17
You save:  ₡15,362.78
L1,727.58
List Price:  L2,468.08
You save:  L740.49
₲525,820.15
List Price:  ₲751,203.84
You save:  ₲225,383.69
$U2,694.45
List Price:  $U3,849.38
You save:  $U1,154.93
zł274.83
List Price:  zł392.63
You save:  zł117.80
Already have an account? Log In

Transcript

Hello, in this video, I will show you how you can expose your application module as a sub surface if you have your own model, which has some view object entity object and application modules and you need to access a some operation from outside from any other application like integration between other application and you need to expose some operation or some methods or as a subsurface as I as I told you before, a 02 type of operation, there are operation coming with is with some operation is built in with a view object itself. Like if you want to add a new department or delete or of course, this view object should be based on entity. So, these are built in operation and you can write your own method as well, in this video now, I will show you how you can expose application module to expose the built in operation in the view object.

So, now we will open the application module in the data model you will find zero or one instance of the view object in the data in the in the application module exists called departmental view one. So, in that case we can expose the built in operation in the department or the view as to which surface to do this you can go to the web surface there are two here I will police at this is a rough surface name if you want to change the name I keep it by default knickers. Next, here if you have your custom method, you will find it here but in the next video I will show you how you can create custom method method but for now we need to expose the built in operation in the view object. So I will press next here, it will ask you about this With the surface view in essence, so, this is only one view object available.

So, if you which is the bottom into view one okay I need to use to expose the built in operation of this view. So, once you selected select is that is the view object you will find here it's cooperation, a built in operation is here So, you can decide which operation you want subsurface will be export So, now we can make, create, you can delete get by key can find So, all this operation we can expose it okay so Next and Finish. So, this is simple and easy how you can expose a built in operation in a specific view object as a tube surface. Okay, so let's save all. So, you can find his application module This is the view instance department and this is operation which we need to expose. Here you will find your wisdom if you want to have a look in the in the wizard says this is surface wisdom.

Okay, so let's now try to run this whoops surface and test it to run this web surface for test, who can expense application module surface interface you will find an inbuilt class module surface and we'll just right click and press run. Okay, as you can see here is a deployment of or testing Is this web surface we can do it here boy, because this is actually a bug in this gdb server version two will be 213 you will find here file name or extension is too long. So you can't test this locally unless you make some workaround. Here in Oracle Support z reported it as a bug which is has the same filename oxygen's too long. This is when you need to test Jax Ws web service locally because there are too many JAR files exist when you try to invoke a Jax Ws client. If you have a look here in the library which we need we use in the in the library class pass.

If you have a look in Jax Ws web surface view, you will find all these short files is loaded in a class pass wants We run it locally and it is too long. So, Oracle Support workaround solution here that the just tell us that we can create our own library and remove the default one. So, I will show you how you can do this work around. So, in the tool here, I will create manage library I will go to the Manage libraries, tool, manage libraries, and I will create a new library. So library name, I will call it my Jax Ws client. And inside this library I will add to a jar file.

So I will add one JAR file in the in the boss which is Azure developer is installed if you see here it is in the GW store directory. So to go go to the wl server server live with logic. So, we need to add WebLogic to JAR file. So you will find here WebLogic dot JAR file I will add it here and I will add another file as broker support say we need to add this jar file which is exist in the Oracle common module internal. So, let us go to Oracle common module internal feature and we need to add this short file as well and Bruce open and okay so we add one called my Jax Ws client Oregon say we need to add another one call my Jax Ws web surface so let's add this as well. I would add new and this is only has one JAR file which is with logical jar.

So let's back again to the notion of jar. Okay, okay so now we created my Jackson displaying my Ws web surface and the press OK. Then I will go to the project property and I need to remove this Jax Ws which has a lot of Java file I do want it, I will remove it and I will add library and I will select my tool library. My Jax Ws claim my Jax RS web service. This is in the library and Nicholas buss and Bruce okay. Okay, so let's now try to run it again and see if it will work. Okay, so now it is running correctly and it is deployed correctly.

You will need to test it. And you will find the target URL here. You can take this URL and cigs wisdom in your browser. So just opens a browser and what this question mark W is the and this is your wisdom. So, you can call this wisdom from anywhere from your ADF application from a developer from any web service client like soap you all. So let us now try to test it in the soap UI.

And in the next video, I will add, I can take it from the jdeveloper and I will show you how you can call this web surface in your ADF application. So now it has this this wisdom I will open soap UI. I will go file new project called call my show I will add this is me we call my ex replicant Keisha Mobutu and this is my wisdom and a bliss okay. So you will find here a generates all operation which we define, create, department, delete department find department and get department view. So for example it is this to this get department here, if I say I need to get department number 10 you'll find here number 10 okay department 100 run gives you a bottom in 100. If you want to create new department, it's open to requests of security operation.

So now in jQuery to operation I need to add department. For example five 550 name is My test the from shore manager unit manager now on to vacation just missed it. So it is should be now is this department is created if you go to the database department that you'll find here 550 my test department is security ated so all operation notes is fine we can delete it. This is delete this department towards the mint 450 No need to add any more and run this refresh and go So now we exposed application you exposed one of the view object operation, and we can call it from the soap UI. Nick is to visit you, I will show you how you can create a custom method and how you can call this to boob surface in another ETF application. So see you next video.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.