a web service created based on the previous step, create PL / SQL procedure to the data from the database to the process to deliver. This web service can be generated automatically by JDeveloper.
This creates a new application on the Application Menu themselves.
The package name is set to hrservice ...
... and the empty project is completed.
Here, the name can be set, for example hrInfoService. The already created database connection is selected here and the only pre-assigned package already included.
Message Format RPC / literal is OK
Select here the procedure GETHRINFO. The procedure GETHRINFO2 is required only in a later step remains for the time being voted out.
Next ...
Next
One moment ...
... and ready.
The built-in WebLogic Server, the Web just created can be tested immediately. This is by right clicking on the selected service, select 'Run'.
If the internal WLS is first started, it automatically creates a domain.
If the service is readily compiled and deployed, it will appear in JDeveloper.
By clicking on the URL shows the HTTP Analyzer. There, now, the Employee ID is entered (eg 100) and via the web Send Request to be called. On the right, then the results will be issued.
is thus made ready for the web service and tested for operability.
0 comments:
Post a Comment