For partners that build or integrate commercially available applications and service solutions with the Oracle Cloud Platform
For partners that provide implementation or managed services around Oracle Cloud Applications
Hi All,
Oracle MCS can consume only REST/SOAP/ICS/Fusion Connectors, but the challenge is in connecting to On Premise applications like EBS / Oracle DB. I feel MCS is missing an Agent for connecting to on premise applications. It will be great if MCS has atleast DB adapter to connect to On Premise DB. Is the feature available in MCS or part of product Roadmap?
Also would like to know how others are connecting to On Premise without ICS / other middleware.
Thanks
Vinoth
I have a REST URL(ISG) that has header parameters.How can I create a REST connector using that REST URL in oracle MCS.
The REST URL is POST method and have 5 header parameters.
please clarify me below
1)where I have to attach the headers of rest URL (in rules or during testing endpoint)
2)If in testing endpoint means I have to add headers in my custom api using Node js?
Now,I have added headers in Rules,while Testing endpoint it says authentication error so I added headers there also. Now I get 415 error code.
While integrating Oracle MAF with Oracle MCS, Authorization variables like Mobilebackend Id,Anonymous Id are given by end user.They were actually given as preference variables.
This is the MAF Application where end user can manually set the Mobile Cloud Service Settings.Likewise ,how can I do the same in oracle JET ?
Whether I have to create global variables and assign them in below part?
var mcs_config = { "logLevel": mcs.LOG_LEVEL.INFO, "logHTTP": true, "mobileBackends": { "MyJETApp": { "default": true, "baseUrl": "https://xx.mobileenv.us2.oraclecloud.com:443", "applicationKey": applicationkey, "authorization": { "basicAuth": { "backendId": "e53739ff-bea5-4250-8cf4-967798cbd497", "anonymousToken": "UE1FTkFCTEVGRUIxN19QTUVOQUJMRUZFQl9NT0JJTEVfQU5PTllNT1VTX0FQUElEOkxpdjB3YXpwcy55ZDZn" } } } } };
Hi,
I am using Mobile application accelerator(MAX) to create an application using MCS backend and custom API.
I am new in this field and never worked before with Oracle services.
My problem is after designing app in MAX when I tried to TEST the application, It asks for the Application user test account.
I don't know how to create one. When I go through the documentation, it says to ask an administrator. But, In my company, no one knows that and everybody is learning in this field for the first time.
Please help me to go through.
Thanks,
Dhruval Patel
409-454-4943
Hello,
I am new in this field and I want to create a Mobile application using MAX.
There tho button in one screen only.
1) the application has one field type "select" when I press it, I should be able to open country list and can select one of them.
2) and the other one is a button by tapping it, I should be able to get the current location.
Can I create this application using MAX and if Yes what would be the steps?
Regards,
Dhruval
var mcs_config = {
"logLevel": mcs.LOG_LEVEL.INFO,
"logHTTP": true,
"mobileBackends": {
"TEST": {
"default": true,
"baseUrl": "https://development1-inalgarytmtrial.mobileenv.us2.oraclecloud.com:443",
"applicationKey": "YOUR_BACKEND_APPLICATION_KEY",
"authorization": {
"basicAuth": {
"backendId": "d838ab82-9755-4f54-bca1-38270afac134",
"anonymousToken": "SU5BTEdBUllUTVRSSUFMX0RFVkVMT1BNRU5UMV9NT0JJTEVfQU5PTllNT1VTX0FQUElEOkFyZzJlanZfc3oxcW1h"
}
}
}
},
};
// initialize MCS mobile backend
mcs.MobileBackendManager.setConfig(mcs_config);
var mbe = mcs.MobileBackendManager.getMobileBackend('TEST');
mbe.setAuthenticationType("basicAuth");
var invokeCustomAPI = function(uri,method,payload) {
var deferred = $q.defer();
mbe.CustomCode.invokeCustomCodeJSONRequest(uri , method , payload
, function(statusCode,data) {deferred.resolve(data)}
, function(statusCode,data) {deferred.reject(statusCode,data)});
return deferred.promise;
};
var getHttpHeaders = function() {
return mbe.getHttpHeaders();
}
var getCustomApiUrl = function(customUri) {
return mbe.getCustomCodeUrl(customUri);
}
return {
authenticate:authenticate,
authenticateAnonymous:authenticateAnonymous,
logout:logout,
invokeCustomAPI:invokeCustomAPI,
getHttpHeaders:getHttpHeaders,
getCustomApiUrl:getCustomApiUrl
}
In my controller i used
$http({method:'GET'
,url:mcsService.getCustomApiUrl("Test/HelloWorldPeople")
,headers:mcsService.getHttpHeaders()})
.then(function(response){
$scope.departments = response.data;
console.log( $scope.departments);
})
.catch(function(err) {
console.log('Error calling endpoint /departments: '+err);
});
When I used this code for connecting with the MCS mobile backend I am getting basicAuth undefined and also the below error
Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8100' is therefore not allowed access. The response had HTTP status code 401.
can any one please help me...
Hi all,
Can someone help me resolve this error?
{
"type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1",
"status": 500,
"title": "Internal exception invoking Rest Connector.",
"detail": "An unexpected exception occurred internal to the REST Connector. Review the exception and try calling the service again. If the exception occurs again, contact Oracle Support Services.",
"o:ecid": "005IQUzSum4A9T3_Rlc9yd000DtX0000d9, 0:4:3:1:15",
"o:errorCode": "MOBILE-16202",
"o:errorPath": "/internal-tools/env/1.0/ui-tooling/endpoint/mobile/connector/SampleResponse",
"o:errorDetails": [
{
"type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1",
"title": "javax.net.ssl.SSLHandshakeException",
"detail": "General SSLEngine problem",
"o:errorDetails": [
{
"type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1",
"title": "javax.net.ssl.SSLHandshakeException",
"detail": "General SSLEngine problem",
"o:errorDetails": [
{
"type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1",
"title": "sun.security.validator.ValidatorException",
"detail": "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target",
"o:errorDetails": [
{
"type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1",
"title": "sun.security.provider.certpath.SunCertPathBuilderException",
"detail": "unable to find valid certification path to requested target"
}
]
}
]
}
]
}
]
}
$http({method:'GET'
,url:mcsService.getCustomApiUrl("Test/HelloWorldPeople")
,headers:mcsService.getHttpHeaders()})
.then(function(response){
$scope.output = response.data;
console.log( $scope.output);
})
.catch(function(err) {
console.log('Error calling endpoint /departments: '+err);
});
}
I can't get the output when i connected to it please let me know how to resolve the issue.
Hi,
I created a REST connector API in MCS which connects to Oracle EBS . When i test it in postman or Advanced REST Client , it is working fine.
But when i test it in MCS , it throws the following error.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<!-- FileName: index.html
Language: [en]
-->
<!--Head-->
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>McAfee Web Gateway - Notification</title>
<script src="/mwg-internal/de5fs23hu73ds/files/javascript/sw.js" type="text/javascript" ></script>
<link rel="stylesheet" href="/mwg-internal/de5fs23hu73ds/files/default/stylesheet.css" />
</head>
<!--/Head-->
<!--Body-->
<body onload="swOnLoad();">
<table class='bodyTable'>
<tr>
<td class='bodyData' background='/mwg-internal/de5fs23hu73ds/files/default/img/bg_body.gif'>
<!--Logo-->
<table class='logoTable'>
<tr>
<td class='logoData'>
<a href='http://www.mcafee.com'>
<img src='/mwg-internal/de5fs23hu73ds/files/default/img/logo_mwg.png'></a>
</td>
</tr>
</table>
<!--/Logo-->
<!--Contents-->
<!-- FileName: DefaultErrorTemplate.html
Language: [en]
-->
<!--Title-->
<table class='titleTable' background='/mwg-internal/de5fs23hu73ds/files/default/img/bg_navbar.jpg'>
<tr>
<td class='titleData'>
Default Block Template
</td>
</tr>
</table>
<!--/Title-->
<!--Content-->
<table class="contentTable">
<tr>
<td class="contentData">
This is a default error message. Please make sure to configure an appropriate error template for rule "Block URLs in List OPC-MCS-Blocked Categories from Clients in *.opcmobile.*.oraclecloud.com".
</td>
</tr>
</table>
<!--/Content-->
<!--/Contents-->
<!--Policy-->
<table class='policyTable'>
<tr>
<td class='policyHeading'>
<hr>
Company Acceptable Use Policy
</td>
</tr>
<tr>
<td class='policyData'>
This is an optional acceptable use disclaimer that appears on every page. You may change the wording or remove this section entirely in index.html.
</td>
</tr>
</table>
<!--/Policy-->
<!--Foot-->
<table class='footTable'>
<tr>
<td class='helpDeskData' background='/mwg-internal/de5fs23hu73ds/files/default/img/bg_navbar.jpg'>
For assistance, please contact your system administrator.
</td>
</tr>
<tr>
<td class='footData'>
generated <span id="time">2017-02-23 07:33:07</span> by McAfee Web Gateway
<br />
Java1.7.0_121
</td>
</tr>
</table>
<!--/Foot-->
</td>
</tr>
</table>
</body>
<!--/Body-->
</html>
Can anyone help?
Hi,
I have table with name and salary, in MCS database. Want to implement custom API to call Database Access API to get Salary < 50000 and salary > 10000.
Literally, want to use custom where clause, can anyone help me.
Thanks
Bhargavi