Hi,
I have 2 apps( xs app that offers Odata service and UI5 that calls oData service ), I need to consume the oData Service that my XS app expose on my UI5 app.
I have on my UI5 app this:
var odataModel = new sap.ui.model.odata.ODataModel("proxy/https://s10hanaxs.hanatrial.ondemand.com:443/pxxxtrial/hana/pos/services/pos.xsodata/", false);
But I'm getting :
java.lang.IllegalArgumentException: protocol = https host = null
sun.net.spi.DefaultProxySelector.select(Unknown Source)
sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source)
com.sap.ui5.proxy.SimpleProxyServlet.service(SimpleProxyServlet.java:219)
javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
when I try to consume the oData service. Can anyone help me to solve this problem?