This content has been marked as final. Show 5 replies
Welcome to OTN. Always mention your JDev version (Check out this announcement : https://forums.oracle.com/forums/ann.jspa?annID=56).
Have you tried adding localhost in the exception list under Tools->Preferences->Web Browser and Proxy and see if it works after that?
Jdev version is 18.104.22.168.0 and also localhost as well as my ip address are added in the exceptions
Edited by: user12780347 on Nov 16, 2012 12:25 AM
Hi, ADF Mobile uses the same URL Connection creation wizard as any other ADF application, so its behavior is not mobile specific. That said, you may want to try the following:
- append "/" to the end and see if that helps
- If using WLS security with basic HTTP Authentication, ensure the "Realm" field is populated correctly based on your WLS setup.
The error message indicates that it's able to resolve "localhost" but just can't connect to this REST service. If you are getting proxy server issue, then you will probably get "host not reacheable" error.
One thing to double check is whether you get the basic HTTP auth challenge when you use a browser to hit this link.
Lastly, you probably don't want to use localhost in the URL data control. Only iOS simulators can resolve "localhost" when the iOS simulator and the WLS server are running in the same machine. Android can't. Recommendation is to set up your WLS so it can be accessed with the machine's actual IP address, and you would create your URL data control to against that real IP. This would ensure both emulators and devices can hit the JSON service.
-appending "/" to the end ,doesn't work.
-i am trying to access the URL of the web center spaces rest URL for fetching the activities list , not sure what is the realm for that or from where to fetch .
- i have substituted my ip address in the place of the localhost , but still its not working.
- i get a basic HTTP auth challenge when i use a browser to hit this link( web center spaces rest URL).
Edited by: user12780347 on Nov 19, 2012 8:14 PM
Hi, the security Realm should be something you get from your WebLogic Server console - by clicking on the Security Realms link in the Domain Structure window of the WebLogic Server console. If you don't have access to the WebLogic console for your WebCenter app, you will need to request your server admin for details.