This topic assumes you have followed the steps in Creating Business Services for the Model Project and chosen web services as your business service technology.
You can use the functionality of either web services which you create in JDeveloper, or you can use an external web service which may be anywhere on the Web.
To use web services in your application:
This section contains additional information about using web services with an Oracle ADF application.
Adding the Web Services Technology Scope to an Application Template or to a Project
You can use web services in any kind of application built using the Oracle ADF framework by adding the web services technology scope to:
To add the web service technology to an application template:
To add the web service technology to a project:
Running the Web Service in the Embedded Server
If you are using a J2EE web service that you have created in JDeveloper,
by default the web service is created using a connection to an external
instance of OC4J as the endpoint. This uses a port number of 8888
. If you deploy your web service to the external OC4J instance before testing
your Oracle ADF application, you don't need to do anything further.
However if you want to test your ADF application without deploying the
web service externally, you need to use a port number of 8988
in the endpoint URL of the generated stub. 8988
is the port
number of JDeveloper's embedded OC4J server.
To change the endpoint URL port number:
8888
to 8988
.
Creating Business Services for
the Model Project
About the Oracle ADF Data Controls for Web Services
Creating Oracle ADF Data Controls for Web Services
Using Web Services in
Applications
Copyright © 1997, 2004, Oracle. All rights reserved.