HomeOracle Page 2 - Creating an Oracle Web Service Client for a Web Service Created in VS 2005
Creating the Client Application in Oracle 10G XE - Oracle
This tutorial takes you through the process of creating a web service client using the ApplicationBuilder interface in Oracle 10g XE. The client will access the services offered by a web service created using the Visual Studio 2005.
Oracle 10G XE has an ApplicationBuilder Interface which can be used to create a client application that will access the service created and described earlier. You need to create a web service reference. You will be using a wizard to accomplish this task. The wizard will examine the web service reference either from a UDDI registry that you will point to by browsing the available ones, or the WSDL URL reference you will provide. This was the reason we made a note of the WSDL's URL reference. The ApplicationBuilder also allows you to create a form based on a blank web page which may be posted to the web service.
Creating an Application
Log on to the HR database using username: hr, password: hr by accessing the URL from the short cut, Go To Database Home Page. You may have to review an earlier article which describes how you may log in as SYSTEM and give permission to the hr database.
Click on the down arrow of the Application builder to choose "Create Application" as shown.
Give a name to the application, in this case GetNetSvc as shown. Keep the other defaults, and click on the button Next. From here on, you will go through several steps till you reach the "Confirm" stage as you can see on the left of this page. The applications are serially numbered, this being 103.
In this section you will add different items such as a blank page, form, report and so forth. These are all empty, to start with some basic functional items. The default page has been changed to OracleClient. Click on AddPage; this takes you to the next screen. This screen shows the page you added as well as the source of data, if it depends on data. In this case there is no data (this is in case the page is for a form or a report). You may add another page, if you like, or click on Next.
This takes you to the "tab" stage of the CreateApplication wizard. You choose "No Tabs" since we do not require any, as shown. Click on the Next button.
The shared component choice has to be made as shown in this picture. The web service happens to be a shared component; choose the "Yes" button and click on the Next button.
For application attributes we choose no authentication as shown for Authentication Scheme, and accept the other defaults. Click on the Next button.
For the UI, we choose the default, Theme 1. Click on the Next button.
In the confirm stage keep the check mark, Save this definition as a design model a design for reuse. Later on, we will recall this model and make changes. Click on the button Create.
This takes you to the application creation success page and the breadcrumb changes to Application103 as shown.