on 10-12-2015 8:32 PM
Hi experts,
I created a simple 'Customer' webservice with 'Customer Number' field as the key and it will return customer information.
this is the URL
/sap/opu/odata/sap/TEST_SRV/Customers
when i give a customer number #123 as the selection as below
/sap/opu/odata/sap/TEST_SRV/Customers('123')
i can see the result from IE but i got the following weird return below from google chrome.
------------------------------------------------------------------------------------------------------------------------------------------
<!DOCTYPE html>
<html style="height: 100%; margin: 0;">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=9,10">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<title>Logon</title>
<link rel="shortcut icon" href="/sap/public/bc/ui2/logon/img/favicon.ico" />
<link rel="stylesheet" href="/sap/public/bc/ui5_ui5/resources/sap/ui/core/themes/sap_bluecrystal/library.css" />
<link rel="stylesheet" href="/sap/public/bc/ui5_ui5/resources/sap/m/themes/sap_bluecrystal/library.css" />
<style>
* { outline: none; }
input, select, button { font-family: inherit; font-size: inherit; }
.sapUiBody { background-image: url("/sap/public/bc/ui2/logon/img/login_background.jpg"); }
.sapUiBody { background-size: 100% auto; -webkit-background-size: 100% auto; background-attachment: scroll; }
.sapUiSraLoginView { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
.sapUiSraBrandingBar { position: absolute; top: 0; left: 0; right: 0; height: 8px; z-index: 99; }
.sapUiSraHeader { text-align: center; position: absolute; top: 4px; left: 0; right: 0; background: rgba(0,0,0,0.6); box-shadow: inset 0px 0.5rem 0px 0px rgba(0,0,0,1); color: #ffffff; }
.sapUiSraHeader .sapUiSraTitle { font-size: 1.25em; font-weight: 600; padding: 4px 16px; }
.sapUiSraHeader .sapUiSraSubTitle { font-size: 1em; font-weight: 400; padding: 4px 16px; }
.sapUiSraFooter { position: fixed; bottom: 0; left: 0; right: 0; height: 64px; z-index: 99; }
.sapUiSraFooterAbsolute .sapUiSraFooter { position: absolute; }
[deleted the rest of the record]
---------------------------------------------------------------------------------------------------------------------------------------------
Have you ever got this problem ? and I would like to know if i should do anything to fix this.
Thank You !
Hi Martin,
Are you sure you are properly logged in? It looks like the gateway service returns a login page, not sure why your Chrome doesn't render it but instead shows the source code... (maybe check in the response HTTP headers)
Maybe try opening an application of your system in another tab in Chrome to be sure you have a session/SSO cookie. Another idea would be to enter your credentials in the URL:
https://user:password@hostname/sap/opu/odata/sap/test_srv/Customers('123')
However I'm just guessing, not sure this is the problem!
Good luck!
Best regards,
Maarten
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
May be something went wrong with Chrome. POSTMAN plugin or the REST CLIENT plugin for chrome can be tries instead.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Martin,
Which chrome version , you are using..
Try once after clear history using command Ctr + H in chrome
Regards
Vivek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.