This discussion is archived
3 Replies Latest reply: Nov 22, 2012 1:01 PM by WaterStream RSS

WebService dataControls

WaterStream Newbie
Currently Being Moderated
Hi, in model i create WEbServiceDataControl.

On local i use ip like 195.......
But when i deploy ma app on server - webServices must call from 172.... ip.

My problem: i cant change ip for my dataControls. It work great on local or on server, i just want for develope on local then deploy to server, but cant.

I tryed to change ip of DC by right click on DC and click "Edit definition" and tryed to change dtaControls.dcx manualy but have no effect...
  • 1. Re: WebService dataControls
    Shay Shmeltzer Employee ACE
    Currently Being Moderated
    You can edit the ip address in the connections.xml file (look under the application resources accordion).
    https://blogs.oracle.com/adf/entry/changing_endpoint_url_for_a_web_service_data_control
  • 2. Re: WebService dataControls
    WaterStream Newbie
    Currently Being Moderated
    I have not connection.xml file, only DataControls.dcx When i do deploy on local server - WSdataControls running normaly, but jdbc connection for database loosing. Cannot finded, but this is other big problem of ADF with own themes on this forum.
    Problem was: adf automaticly don't redeploy model to jar and get old jar. And if u change wsdl in model (dataControl.dcx) - adf don't update (redeploy jar) model.
    Resolve of my problem: redeploy model in jar if needed and then do deploy (not run) on integrated WL.
  • 3. Re: WebService dataControls
    WaterStream Newbie
    Currently Being Moderated
    Yes, this file on application\.adf\META-INF\connection.xml

    don't know how to get access to this file from jDeveloper, but if change it with notepad - WSConnections get right ips

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points