Changing Endpoint URL for a Web Service Data Control
Posted
by vishal.s.jain(at)oracle.com
on Oracle Blogs
See other posts from Oracle Blogs
or by vishal.s.jain(at)oracle.com
Published on Fri, 11 Feb 2011 15:26:13 +0530
Indexed on
2011/02/11
15:30 UTC
Read the original article
Hit count: 739
adf
|webservices
At Design Time
If the application workspace is in your control, you can quickly do this by updating the definition in DataControl.dcx file:
Along with this, you will also need to change the endpoint in connections.xml. So invoke the Edit Connections dialog:
Then, change the endpoint URL.
At Deployment
Another way to change is changing the endpoint at the ear level, at deployment. So when you select Deploy -> Application Server at the Application level, it will bring up a Deployment Configuration dialog, in which you can edit the WSDL URL:
At Post Deployment
If your need to change this post deployment, you can do it through Oracle Enterprise Manager. But for this, your application needs to be configured with a writable MDS repository. It is recommended you use a Database MDS store during deployment.
So have your application configured (by having an entry in adf-config.xml) and server configured (by having a MDS store registered). Once done, you can configure the ADF Connection in EM for this application:
Change the WSDL location here on 'Edit':
Also, change the Port using Advance Connection Configuration:
Change the Endpoint Address here:
Apply Changes and you are done!
© Oracle Blogs or respective owner