on 01-14-2014 11:27 AM
Hi Gurus,
I am new to UI5. The issue that I am facing now is I am not able to connect to ODATA service.
Previously it was working fine and all of a sudden, it stops working. One thing I noticed is that the
windows security warning that used to pop up while connecting to the web service has now vanished.
It is not showing up now.
The code I used is :
var oModel = new sap.ui.model.odata.ODataModel("http://seasrv05.applexus.com:8000/sap/opu/odata/sap/ZAPLX_TS_USER_VALIDATE",true,user,pass);
Pls help me.
Regards,
Ashish Kumar
error : One thing I noticed is that the
windows security warning that used to pop up while connecting to the web service has now vanished.
Now you will be able to see the popup for security warning as well as where you give your credentials
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all,
Thanks for your reply. I figured out the problem. When I changed the security level of Internet, Local Internet and Trusted sites to low in internet options under security tab everything worked like a charm.
Once again thanks a lot for your support.
Regards,
Ashish Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
So you can get the $metadata for the service by just copying the url in google chrome?
When developing in eclipse, you can also test using chrome, just copy the localhost:port url of your solution and investigate the errors you receive with chrome development tools (ctrl + shift + i if i'm correct)
Possibly it can be a cross-domain request issue. Then you need to open chrome with --disable_web_security
see:
http://joshuamcginnis.com/2011/02/28/how-to-disable-same-origin-policy-in-chrome/
This should work for development purposes.
Kind regards,
Robin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ashish,
Please check 2 things:
1. Are you able to ping/connect seasrv05.applexus.com server?
2. Did you try with server ip instead of host name?
Rgrds,
Jitendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.