Oracle MAF-MCS连接
我在OracleMCS中创建了一个用于登录身份验证的自定义API,并在MAF中构建了一个应用程序。我的疑问是如何从Oracle MAF应用程序调用此自定义API 如果您使用的是Oracle MAF-MCS连接,oracle,oracle-maf,mcs,Oracle,Oracle Maf,Mcs,我在OracleMCS中创建了一个用于登录身份验证的自定义API,并在MAF中构建了一个应用程序。我的疑问是如何从Oracle MAF应用程序调用此自定义API 如果您使用的是OEPE(Oracle Enterprise Pack for Eclipse),您可以使用本教程来使用任何REST服务API 对于MCS-MAF支持,以下YouTube应该会有所帮助 你可以拿到这个 查看MAF MCS实用程序应用程序(应在公共示例文件夹中),尤其是源代码 更多信息也可以下载 短代码示例: MB
OEPE
(Oracle Enterprise Pack for Eclipse),您可以使用本教程来使用任何REST服务API
- 你可以拿到这个
MBEConfiguration mbeConfiguration =
new MBEConfiguration(
<mbe rest connection>,<mobileBackendId>,
<anonymous key string>,<application key string>,
MBEConfiguration.AuthenticationType.BASIC_AUTH);
mbeConfiguration.setEnableAnalytics(true);
mbeConfiguration.setLoggingEnabled(false)
mbeConfiguration.setMobileDeviceId(
DeviceManagerFactory.getDeviceManager().getName());
MBE mobileBackend = MBEManager.getManager().
createOrRenewMobileBackend(<mobile backend Id>, mbeConfiguration);
CustomAPI customApiProxy = mbe.getServiceProxyCustomApi();
UserInfo userInfo = mobileBackend.getServiceProxyUserInfo();
Analytics analyticsProxy = mobileBackend.getServiceProxyAnalytics();
Storage storageProxy = mobileBackend.getServiceProxyStorage();
MBEConfiguration MBEConfiguration=
新的MBE配置(
,,
,,
MBEConfiguration.AuthenticationType.BASIC_AUTH);
mbeConfiguration.setEnableAnalytics(true);
mbeConfiguration.setLoggingEnabled(false)
mbeConfiguration.setMobileDeviceId(
DeviceManagerFactory.getDeviceManager().getName());
MBE mobileBackend=MBEManager.getManager()。
createOrRenewMobileBackend(,MBE配置);
CustomAPI customApiProxy=mbe.getServiceProxyCustomApi();
UserInfo UserInfo=mobileBackend.getServiceProxyUserInfo();
Analytics analyticsProxy=mobileBackend.getServiceProxyAnalytics();
Storage storageProxy=mobileBackend.getServiceProxyStorage();
我正在使用JDeveloper