HomeOracle Page 3 - Creating an Oracle Web Service Client for a Web Service Created in VS 2005
Creating a Web Reference - 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.
Now click on the down arrow of the SharedComponents icon. From the drop down choose Logic-->Web Service References as shown and click.
This takes you to creating the reference. Click on Create a reference. Watch the 'breadcrumb'!
You have two choices in creating the reference as shown in this picture. You can either create it from the UDDI registry, or your own URL reference. Since you will be using your own reference choose that option (No) and click on the Next button.
Note that the wizard skips the tModel which would be accessed had you chosen the UDDI. Now you are asked to fill in the URL of the WSDL file. Browse to that page on the web browser and copy the URL, or if you have noted down the URL you can just type it in as shown.
If you click the up button it will take you to only two of its sites, as shown in a different window. We will close this as we will not be using either of these. Just enter the URL in the previous screen as shown and click next.
This will take some time as the program has to access the service and analyze the WSDL file to make sure everything is okay. This will then lead to the next screen which shows the web service reference's details: the name of the service, and the input and output from the service. Remember that the service we created has no input, but returns an output. The asmx file we created is correctly recognized as the soap-endpoint.
Create Reference button when clicked will create the reference and let you know it has been successfully created. You can view the web service reference which will just show your URL. You can also create a form or a report. The form when submitted will call up the service. Click on the icon Create Form on Web Service.