Calling an operation of a exposed Application Service fails

Hi,
I have created two applications A & B.
Application A has a business operation1 and a application service1. Application service1 calls some operations on the Business Object1 and is also exposed as a web service.
In application B, I have consumed the exposed Application Service1. In application B, there is also one appication service2 which is calling operation of the application service1.
On executing the application B, I get the an exception ObjectNotexist exception when the call to an operation in Application A is made.
However, application A works perfectly fine when executed independently.
Regards,
Rahul

Hi Rahul,
It seems the reason is you have not created the destination for the Web Services exposed from your application A.
See, there are two ways of importing the services from project A into project B
1. You can re-use the project A in Project B, set the dependencies appropriately, and use the services of A in project B.
2. You can expose the services from A as web service and then import them in B & then use them.
You have chosen the second option (Which is not recommended way). This type of usage requires you to create "external service configurations" to define endpoints for the imported services in project B.
This is how u do it : Open the Service Registry at http:///caf ® Administrative tools ® External Service Configuration.
Check this link for more info
http://help.sap.com/saphelp_nw04s/helpdata/en/43/2a508e74d33f66e10000000a11466f/frameset.htm
Hope this helps,
Ashutosh

Similar Messages

  • Calling operation of the exposed BO Service in another Application Service

    Hi,
    I am working on Composite Application development in CE7.1.
    I have the following scenario:
    A business object is exposed as a web service.
    The web service of the business object is imported as an external service in another CA Application.
    On the composite application explorer,
    under the "composite application --> external --> External Services" node I can see both the operations provided from the exposed business object.
    My Question: If I define an operation on the application service as implemented, how can I call the operations of the exposed business objects?
    Thanks,
    Yasar

    Hi Yasar,
    Fallow the fallowing steps.
    1)  First expose your BO(Exp_BO) as a web service.
    2) Import that web service( (Exp_BO) as an external service in what ever project you want.
    3) create an application service(eg AppService)
    4) right click the imported external service and choose default mapping. select "create methodes in existing application service" and choose AppServioce.It will create the methodes with same name and map them to the Exposed BO methodes.
    5)Next in the implemted method call the web service(ExpBO) methodes.
    I am giving an example:
    LocalInventorBO is the local BO.
    Inventor is the Exposed BO.It is having a method create(inventorId).This create method dosn't return actual Inventor.But it will create InventorType.We have to use that type.
    public com.hcl.ramp.types.LocalInventorBO CustomImplementedOperation(java.lang.String inventorId) throws com.sap.caf.rt.exception.CAFServiceException {
              com.sap.caf.demo_sap_com.xipvault_practice1.modeled.InventorType inventorType=this.create(inventorId);
              com.hcl.ramp.types.LocalInventorBO localInventorBO=     this.getLocalInventorBOService().create();
              localInventorBO.setInventorId(inventorType.getInventorId());
              return localInventorBO;

  • BO-findAll operation to use in Application service

    Hi Experts,
    I am new to CAF development, i have requirement that i need to read the CAF database records based on the Custom key created. It returns a object with the entire record( sometimes multiple records) so how to read those records from the object(return value) and display them one by one.
    It would be helpful if you could send some sample code.
    thanks
    ketan

    Hi Ketan,
    You can implement findAll or findById in application service. First while defining the operations set the output parameter to be a structure which contains that BO(You create yourself a complex structure for it-there you can set cardinality).
    Then in the application service under that operation using the service Bean of the BO access the Bo's corresponding methods(either findById or findAll). Get that output and set it in the output parmeter and return it.
    public com.caf.types.FindAllAmendmentsResMsg findAllAmendments(
                   @javax.jws.WebParam(name="inputParameter1")
                   com.hcl.xapps.ipr.caf.types.FindAllAmendmentsReqMsg inputParameter1) {
              FindAllAmendmentsResMsg response = new FindAllAmendmentsResMsg();
              try {
                   List<Amendment> amendmentList = new ArrayList<Amendment>();
                   amendmentList = (List<Amendment>) this.getAmendmentService().findAll();
                   response.setAmendmentList(amendmentList);
              } catch (CAFFindException cfe) {
              return response;
    The above is an example for findAll.
    Hope it helps you
    Regards,
    Srinivasan Subbiah

  • Web Application services failing to start (Foundation SS, Hyperion Admin)

    Hello,
    Hyperion Essbase 11.1.1.3
    In my installation recently my web applications are failing to start properly. I'm following the start order and allowing services time to come up, but they are still reporting an error.
    1. OpenLDAP starts fine, and quickly.
    2. Hyperion Foundation Shared Services - Web Application will not start. It fails each time (as does Hyperion Administration Services - Web Application) with the same error message in the logs (see below).
    Nothing has changed on these servers in a long time. Any ideas?
    Thanks!
    startServer.log:
    ************ Start Display Current Environment ************
    Host Operating System is Windows Server 2003, version 5.2 build 3790 Service Pack 2
    Java version = J2RE 1.5.0 IBM J9 2.3 Windows Server 2003 x86-32 j9vmwi3223ifx-20090225 (JIT enabled)
    J9VM - 20090224_30451_lHdSMr
    JIT - 20081112_1511ifx1_r8
    GC - 200811_07, Java Compiler = j9jit23, Java VM name = IBM J9 VM
    was.install.root = D:\IBM\WebSphere\AppServer
    user.install.root = D:\Web\HEA\deployments\WebSphere6/profile
    Java Home = D:\IBM\WebSphere\AppServer\java\jre
    ws.ext.dirs = D:\IBM\WebSphere\AppServer\java\lib;D:\IBM\WebSphere\AppServer\classes;D:\IBM\WebSphere\AppServer\lib;D:\IBM\WebSphere\AppServer\installedChannels;D:\IBM\WebSphere\AppServer\lib\ext;D:\IBM\WebSphere\AppServer\web\help;D:\IBM\WebSphere\AppServer\deploytool\itp\plugins\com.ibm.etools.ejbdeploy\runtime
    Classpath = D:\Web\HEA\common\config\9.5.0.0\lib\hit-config.jar;D:\Web\HEA\common\config\9.5.0.0\lib\hit-common.jar;D:\IBM\WebSphere\AppServer\profiles\AppSrv01\properties;D:\IBM\WebSphere\AppServer\properties;D:\IBM\WebSphere\AppServer\lib\startup.jar;D:\IBM\WebSphere\AppServer\lib\bootstrap.jar;D:\IBM\WebSphere\AppServer/lib/j2ee.jar;D:\IBM\WebSphere\AppServer/lib/lmproxy.jar;D:\IBM\WebSphere\AppServer/lib/urlprotocols.jar;D:\IBM\WebSphere\AppServer\java\lib\tools.jar;D:\Web\HEA\products\Foundation\server\conf;D:\Web\HEA\deployments\WebSphere6\SharedServices9\config;D:\Web\HEA\common\JakartaCommons\commons-pool-1.3.jar;D:\Web\HEA\common\JDBC\DataDirect\3.7\lib\hyjdbc.jar;D:\Web\HEA\common\JakartaCommons\commons-dbcp-1.2.1.jar;D:\Web\HEA\deployments\WebSphere6\SharedServices9\config/lib;D:\Web\HEA\common\JDBC\DataDirect\3.7\lib;D:\Web\HEA\common\SAP\lib;D:\Web\HEA\common\config\9.5.0.0\lib\hit-config.jar;D:\Web\HEA\common\config\9.5.0.0\lib\hit-common.jar;
    Java Library path = D:\IBM\WebSphere\AppServer\java\jre\bin;.;D:\IBM\WebSphere\AppServer\java\jre\bin;D:\Web\HEA\common\SAP\bin;D:\Web\HEA\common\CSS\9.5.0.0\bin;D:\Web\HEA\common\CSS\9.5.0.0\bin;D:\Web\HEA\products\Essbase\EssbaseClient\bin;D:\Web\HEA\products\Essbase\EssbaseClient;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\Web\HEA\common\ODBC-64\Merant\5.2\Drivers;D:\Web\HEA\products\Essbase\eas\console\bin;D:\Web\HEA\products\Essbase\eas\server\bin;C:\Program Files (x86)\Windows Imaging\;d:\PROGRA~1\BMCSOF~1\Patrol3\bin;D:\IBM\WebSphere\AppServer\bin;D:\IBM\WebSphere\AppServer\java\bin;D:\IBM\WebSphere\AppServer\java\jre\bin;D:\Web\HEA\common\config\9.5.0.0;D:\Web\HEA\products\Essbase\EssbaseClient\bin;D:\Web\HEA\products\Essbase\EssbaseClient;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\Web\HEA\common\ODBC-64\Merant\5.2\Drivers;D:\Web\HEA\products\Essbase\eas\console\bin;D:\Web\HEA\products\Essbase\eas\server\bin;D:\Web\HEA\common\CSS\9.5.0.0\bin;D:\Web\HEA\products\Essbase\EssbaseClient\bin;D:\Web\HEA\products\Essbase\EssbaseClient;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\Web\HEA\common\ODBC-64\Merant\5.2\Drivers;D:\Web\HEA\products\Essbase\eas\console\bin;D:\Web\HEA\products\Essbase\eas\server\bin;C:\Program Files (x86)\Windows Imaging\;d:\PROGRA~1\BMCSOF~1\Patrol3\bin
    Current trace specification = *=info:com.ibm.*=all
    ************* End Display Current Environment *************
    [2/20/13 9:45:00:032 EST] 0000000a ManagerAdmin I TRAS0017I: The startup trace state is *=info:com.ibm.*=all.
    [2/20/13 9:45:00:048 EST] 0000000a WsServerContr 1 Executing executeUtilityOnWindows with args: D:\Web\HEA\deployments\WebSphere6\profile\config\ hyslCell hyslNode SharedServices9
    [2/20/13 9:45:00:048 EST] 0000000a WsServerContr 1 Getting WindowsService obj with: SharedServices9 and D:\Web\HEA\deployments\WebSphere6\profile\config\ hyslCell hyslNode SharedServices9
    [2/20/13 9:45:00:048 EST] 0000000a WindowsServic > getWindowsServiceNameForServer() Entry
    [2/20/13 9:45:00:048 EST] 0000000a WindowsServic 1 In executeCommand, args are: D:\IBM\WebSphere\AppServer\bin\WASService.exe -getServiceName SharedServices9 -profilePath D:\Web\HEA\deployments\WebSphere6\profile
    [2/20/13 9:45:00:048 EST] 0000000a WindowsServic 1 Runtime.exec() returned process java.lang.ProcessImpl@161a161a
    [2/20/13 9:45:00:079 EST] 0000000a WindowsServic 1 retCode from childProcess.waitFor() is 0
    [2/20/13 9:45:00:079 EST] 0000000a WindowsServic 3 exitCode = 0
    [2/20/13 9:45:01:079 EST] 0000000a WindowsServic 1 Trying to new up WindowsService using serverName=SharedServices9, winServiceName=null
    [2/20/13 9:45:01:079 EST] 0000000a ManagerAdmin I TRAS0018I: The trace state has changed. The new trace state is *=info.
    [2/20/13 9:45:01:142 EST] 0000000a AdminTool A ADMU0128I: Starting tool with the hyslProfile profile
    [2/20/13 9:45:01:142 EST] 0000000a AdminTool A ADMU3100I: Reading configuration for server: SharedServices9
    [2/20/13 9:45:04:939 EST] 0000000a AdminTool A ADMU3200I: Server launched. Waiting for initialization status.
    [2/20/13 9:45:12:361 EST] 0000000a AdminTool A ADMU3011E: Server launched but failed initialization. startServer.log, SystemOut.log(or job log in zOS) and other log files under D:\Web\HEA\deployments\WebSphere6/profile\logs\SharedServices9 should contain failure information.
    SystemErr.log
    ************ Start Display Current Environment ************
    Log file started at: [2/20/13 9:45:09:705 EST]
    ************* End Display Current Environment *************
    [2/20/13 9:45:12:330 EST] 0000000a SystemErr R com.ibm.ws.exception.ConfigurationError: org.xml.sax.SAXParseException: Premature end of file.
    [2/20/13 9:45:12:330 EST] 0000000a SystemErr R      at com.ibm.ws.ssl.core.SSLComponentImpl.loadSecurityXMLFromConfig(SSLComponentImpl.java:314)
    [2/20/13 9:45:12:345 EST] 0000000a SystemErr R      at com.ibm.ws.ssl.core.SSLComponentImpl.initialize(SSLComponentImpl.java:161)
    [2/20/13 9:45:12:345 EST] 0000000a SystemErr R      at com.ibm.ws.runtime.component.ContainerImpl.initializeComponent(ContainerImpl.java:1338)
    [2/20/13 9:45:12:345 EST] 0000000a SystemErr R      at com.ibm.ws.runtime.component.ContainerImpl.initializeComponents(ContainerImpl.java:1136)
    [2/20/13 9:45:12:345 EST] 0000000a SystemErr R      at com.ibm.ws.runtime.component.ServerImpl.initialize(ServerImpl.java:356)
    [2/20/13 9:45:12:345 EST] 0000000a SystemErr R      at com.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl.java:178)
    [2/20/13 9:45:12:345 EST] 0000000a SystemErr R      at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:140)
    [2/20/13 9:45:12:345 EST] 0000000a SystemErr R      at com.ibm.ws.runtime.WsServerImpl.main(WsServerImpl.java:461)
    [2/20/13 9:45:12:345 EST] 0000000a SystemErr R      at com.ibm.ws.runtime.WsServer.main(WsServer.java:59)
    [2/20/13 9:45:12:345 EST] 0000000a SystemErr R      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [2/20/13 9:45:12:345 EST] 0000000a SystemErr R      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
    [2/20/13 9:45:12:345 EST] 0000000a SystemErr R      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [2/20/13 9:45:12:345 EST] 0000000a SystemErr R      at java.lang.reflect.Method.invoke(Method.java:618)
    [2/20/13 9:45:12:345 EST] 0000000a SystemErr R      at com.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLauncher.java:183)
    [2/20/13 9:45:12:345 EST] 0000000a SystemErr R      at com.ibm.wsspi.bootstrap.WSLauncher.main(WSLauncher.java:90)
    [2/20/13 9:45:12:345 EST] 0000000a SystemErr R      at com.ibm.wsspi.bootstrap.WSLauncher.run(WSLauncher.java:72)
    [2/20/13 9:45:12:345 EST] 0000000a SystemErr R      at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
    [2/20/13 9:45:12:345 EST] 0000000a SystemErr R      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
    [2/20/13 9:45:12:345 EST] 0000000a SystemErr R      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
    [2/20/13 9:45:12:345 EST] 0000000a SystemErr R      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
    [2/20/13 9:45:12:345 EST] 0000000a SystemErr R      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
    [2/20/13 9:45:12:345 EST] 0000000a SystemErr R      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [2/20/13 9:45:12:345 EST] 0000000a SystemErr R      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
    [2/20/13 9:45:12:345 EST] 0000000a SystemErr R      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [2/20/13 9:45:12:345 EST] 0000000a SystemErr R      at java.lang.reflect.Method.invoke(Method.java:618)
    [2/20/13 9:45:12:345 EST] 0000000a SystemErr R      at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
    [2/20/13 9:45:12:345 EST] 0000000a SystemErr R      at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
    [2/20/13 9:45:12:345 EST] 0000000a SystemErr R      at org.eclipse.core.launcher.Main.run(Main.java:977)
    [2/20/13 9:45:12:345 EST] 0000000a SystemErr R      at com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLauncher.java:329)
    [2/20/13 9:45:12:345 EST] 0000000a SystemErr R      at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:92)
    [2/20/13 9:45:12:345 EST] 0000000a SystemErr R Caused by: org.xml.sax.SAXParseException: Premature end of file.
    SystemOut.log
    ************ Start Display Current Environment ************
    WebSphere Platform 6.1 [BASE 6.1.0.23 cf230910.10] running with process name hyslCell\hyslNode\SharedServices9 and process id 1528
    Detailed IFix information: No IFixes applied to this build
    Host Operating System is Windows Server 2003, version 5.2 build 3790 Service Pack 2
    Java version = 1.5.0, Java Compiler = j9jit23, Java VM name = IBM J9 VM
    was.install.root = D:\IBM\WebSphere\AppServer
    user.install.root = D:\Web\HEA\DEPLOY~1\WEBSPH~1\profile
    Java Home = D:\IBM\WebSphere\AppServer\java\jre
    ws.ext.dirs = D:\IBM\WebSphere\AppServer/java/lib;D:\Web\HEA\DEPLOY~1\WEBSPH~1\profile/classes;D:\IBM\WebSphere\AppServer/classes;D:\IBM\WebSphere\AppServer/lib;D:\IBM\WebSphere\AppServer/installedChannels;D:\IBM\WebSphere\AppServer/lib/ext;D:\IBM\WebSphere\AppServer/web/help;D:\IBM\WebSphere\AppServer/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime
    Classpath = D:\Web\HEA\DEPLOY~1\WEBSPH~1\profile/properties;D:\IBM\WebSphere\AppServer/properties;D:\IBM\WebSphere\AppServer/lib/startup.jar;D:\IBM\WebSphere\AppServer/lib/bootstrap.jar;D:\IBM\WebSphere\AppServer/lib/j2ee.jar;D:\IBM\WebSphere\AppServer/lib/lmproxy.jar;D:\IBM\WebSphere\AppServer/lib/urlprotocols.jar;D:\IBM\WebSphere\AppServer/deploytool/itp/batchboot.jar;D:\IBM\WebSphere\AppServer/deploytool/itp/batch2.jar;D:\IBM\WebSphere\AppServer/java/lib/tools.jar;D:\Web\HEA\common\config\9.5.0.0\lib\hit-config.jar;D:\Web\HEA\common\config\9.5.0.0\lib\hit-common.jar;D:\Web\HEA\common\SAP\lib;D:\Web\HEA\deployments\WebSphere6\SharedServices9\config;D:\Web\HEA\common\JDBC\DataDirect\3.7\lib\hyjdbc.jar;D:\Web\HEA\common\JakartaCommons\commons-pool-1.3.jar;D:\Web\HEA\common\JakartaCommons\commons-dbcp-1.2.1.jar
    Java Library path = D:\IBM\WebSphere\AppServer\java\jre\bin;.;D:\IBM\WebSphere\AppServer\java\jre\bin;D:\Web\HEA\common\SAP\bin;D:\Web\HEA\common\CSS\9.5.0.0\bin;D:\Web\HEA\common\CSS\9.5.0.0\bin;D:\Web\HEA\products\Essbase\EssbaseClient\bin;D:\Web\HEA\products\Essbase\EssbaseClient;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\Web\HEA\common\ODBC-64\Merant\5.2\Drivers;D:\Web\HEA\products\Essbase\eas\console\bin;D:\Web\HEA\products\Essbase\eas\server\bin;C:\Program Files (x86)\Windows Imaging\;d:\PROGRA~1\BMCSOF~1\Patrol3\bin;D:\IBM\WebSphere\AppServer\bin;D:\IBM\WebSphere\AppServer\java\bin;D:\IBM\WebSphere\AppServer\java\jre\bin;D:\Web\HEA\common\config\9.5.0.0;D:\Web\HEA\products\Essbase\EssbaseClient\bin;D:\Web\HEA\products\Essbase\EssbaseClient;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\Web\HEA\common\ODBC-64\Merant\5.2\Drivers;D:\Web\HEA\products\Essbase\eas\console\bin;D:\Web\HEA\products\Essbase\eas\server\bin;D:\Web\HEA\common\CSS\9.5.0.0\bin;D:\Web\HEA\products\Essbase\EssbaseClient\bin;D:\Web\HEA\products\Essbase\EssbaseClient;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\Web\HEA\common\ODBC-64\Merant\5.2\Drivers;D:\Web\HEA\products\Essbase\eas\console\bin;D:\Web\HEA\products\Essbase\eas\server\bin;C:\Program Files (x86)\Windows Imaging\;d:\PROGRA~1\BMCSOF~1\Patrol3\bin
    ************* End Display Current Environment *************
    [2/20/13 9:45:09:876 EST] 0000000a ManagerAdmin I TRAS0017I: The startup trace state is *=info.
    [2/20/13 9:45:10:220 EST] 0000000a ManagerAdmin I TRAS0111I: The message IDs that are in use are deprecated
    [2/20/13 9:45:10:361 EST] 0000000a AdminInitiali A ADMN0015I: The administration service is initialized.
    [2/20/13 9:45:11:470 EST] 0000000a PluginConfigS I PLGC0057I: The plug-in configuration service started successfully.
    [2/20/13 9:45:11:486 EST] 0000000a ManagedObject I Processing extension point com.ibm.wsspi.extension.managed-object-metadata-collector
    [2/20/13 9:45:11:595 EST] 0000000a WorkSpaceMana A WKSP0500I: Workspace configuration consistency check is false.
    [2/20/13 9:45:11:736 EST] 0000000a SSLComponentI I CWPKI0001I: SSL service is initializing the configuration
    [2/20/13 9:45:12:205 EST] 0000000a ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl initialize FFDC0009I: FFDC opened incident stream file D:\Web\HEA\DEPLOY~1\WEBSPH~1\profile\logs\ffdc\SharedServices9_0000000a_13.02.20_09.45.12_0.txt
    [2/20/13 9:45:12:267 EST] 0000000a ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl resetIncidentStream FFDC0010I: FFDC closed incident stream file D:\Web\HEA\DEPLOY~1\WEBSPH~1\profile\logs\ffdc\SharedServices9_0000000a_13.02.20_09.45.12_0.txt
    [2/20/13 9:45:12:267 EST] 0000000a SSLComponentI E CWPKI0011E: Failed to load security.xml resource from cell. The exception is org.xml.sax.SAXParseException: Premature end of file.

    I have had this exact issue and it is caused by a corrupt security.xml file in Websphere. (This was in our System 9 environment)
    I navigated to D:\Hyperion\deployments\Websphere6\profile\config\cells\hyslCell
    and replaced the old security.xml file with a non 0 kb file from backup and restarted the services and it corrected the issue.
    Hope that helps!

  • Calling Web Dynpro-Model of Application-Service doesnu00B4t work.

    Hello!
    I have created a Composite Application with Entity- and Application-Services. I have also created the WebDynpro-Model and use it in another WebDynpro application to call the services.
    I have a Entity-Service 'PollCatalogue' and an Application Service 'PollCatalogueApp'.
    When I call an Entity-Service to create an entity, it works:
    APollCatalogue pollcat =
                        PollCatalogueServiceProxy.createPollCatalogue();
                   pollcat.setName(name);
                   pollcat.getAspect().sendChanges();
                   IServiceFacade serviceFacade;
                   serviceFacade =
                        CAFServiceFactory.getServiceFacade(diplDefinition.class);
                   serviceFacade.save();
    But when I call the create-Method of the Application service nothing is created:
    the call is similar to above except that
    PollCatalogueServiceProxy.createPollCatalogue();
    is replaced by
    PollCatalogueAppProxy.createPollCatalogue();
    Anyway I don´t understand what is done behind the scenes. My create-Methode has one parameter name, because it is a business key. But the ServiceProxy-create-Methods do not provide a name parameter. What service-methods are called when service-facade.save() is called? In case of Entity-Service-Proxy seems to be the create method. But what if I change more than the key-parameter, what else is called? update? And in case of AppServiceProxy? ???
    Does anyone understand what is going on here?
    Thank you for your help.
    Best regards,
    Jörg

    Hi Jorg,
    About getting an exception:
    IQuery query =... ;
    query.execute() ;
    IMessageList mList = query.getResultAspect().getMessages()
    if (mList.size() > 0) {
         for (int i = 0; i < mList.size(); i++) {
             IMessage mes = (IMessage) mList.getMessage(i);
          Throwable ex = (Throwable) mes.getExtension();
         ByteArrayOutputStream bAOStream = new ByteArrayOutputStream();
         PrintStream pStream = new PrintStream( bAOStream);
         ex.printStackTrace(pStream);
            //use bAOStream in order to show stacktrace
    Regarding conceptual background about Models and Proxys:
    You can find some infomation about wd model:
    <a href="/people/valery.silaev/blog/2005/09/09/common-model-interface Model Interface</a>
    <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cef4f43e-0d01-0010-db84-ede25c874115">WQhy to use webdynpro common model interface ?</a>
    I don't know about some proxies documentation. Possible it does not exist. So, there is brief information about it:
    CAF data access services - comcafruntime~uicoupling DC. There is an implementation of com.sap.tc.col.client.generic.api api. These interfaces extends generic CMI interfaces. On top of CAF data access services implementation CAF designer generates typed CMI models which you finally use. For supporting of typed CMI models CAF provides additional build-in functionality GCP(generic client proxy) which directly operates over com.sap.tc.col.client.generic.api generic implementation.
    I recommend you to learn CAF data access implementation and read information about CMI model. That's not huge area and it gives you necessary understanding.
    Best regards,
    Aliaksei
    P.S. I don't recommend to learn and investigate the GCP implementation. That's just loss of time. The only thing that you need to know there is a black box layer which converts generic CMI model to typed model. Actually you can use generic model directly without typed. To do this use the following method for service facade getting:
    com.sap.caf.ui.utils.cool.CAFServiceFactory.getServiceFacade() ;
    but not this one:
    com.sap.caf.ui.utils.cool.CAFServiceFactory.getServiceFacade(final Class modelDefinition) ;
    and also do not use generated proxies at all, just use CMI api for model info setup for model nodes and other generic CMI api.

  • IPhone 5 cellular data services failing

    ISSUE/SYMPTOMS:  iPhone 5 ONLY: Cellular Data stops intermittingly, cellular data locks up without warning, Wi-Fi data connection not working on occasion, iCloud contacts, calendar and reminders not updating, Find My Phone not working, mail or Internet not available or server time-outs. No error messages though. All of these are symptoms of no data service. Problems seem to be related to iPhone 5 failing to switch between LTE and 4G or 3G data services on AT&T.
    My iPhone 5 32GB AT&T version (iOS 6.0.2) along with my clients and family using iPhone 5 in the state of Oklahoma are having this issue on their AT&T iPhone 5's:  no cellular data connection re-established if at anytime the LTE connection is lost or weak.  As with iPhone's prior to iPhone 5, the iPhone 5 is supposed to drop down to the next tier of data service and re-connect to cellular data service when the higher speed cellular data service is not available.  Apparently this is not working well on the iPhone 5.
    What led me to research this LTE issue was that my iPhone was not syncing on iCloud with contacts, calendars and reminders with my other iOS devices.  Other times this issue became apparent was when iMessage quit sending and receiving until I would reboot my iPhone (sometimes it would finally send the message as a “text message”). When I had these problems I also found out I was not getting any cellular data service for Internet browsing, mail, Maps, Find My iPhone, etc.  This would happen without notice. In other words I would not receive any notice or error message that data service had stopped other than the fact I was not receiving any mail, iMessages, or iCloud sync updates. My only resolution was to reset or reboot my iPhone several times a day, and that would resolve it about 70% of the time. 
    I have talked to Apple Support on 2-3 occasions in the last week and AT&T Support twice in the last 2 days.  If it is really true, only the AT&T Technical Support Advisor informed me of a nationwide issue relating to iPhone 5 and LTE:  iPhone 5's are not re-connecting to 4G or 3G cellular data service once the LTE data connection is lost or dropped... the voice calls continue to work, but cellular data service fails and stays locked up without an error message until the customer reboots the iPhone.
    Obviously this is very unacceptable. We depend on these data services and at minimum need to know when it stops working instead of finding out from a phone call that someone sent us an important email or something.
    The AT&T representative also said that both AT&T and Apple are aware of and are working on the issue as it is a nationwide problem with iPhone 5 and LTE. The Apple Support Advisors I talked to made no mention of this "known" issue. AT&T said that it is partly AT&T responsibility because the capacity of LTE is overloaded and cellular data connections are dropping because of the lack of coverage and/or capacity. They actually refunded my data service for a whole month in apology for the inconvenience (I did not even ask for that--I just want my data service to work).  But they also said that Apple has responsibility in this issue because the iPhone 5 should drop down and re-connect to the next lower tier of data service when LTE is not available or lost; instead, it is locking up somehow or it still thinks it is connected to LTE when it is actually not. I don't know how accurate these statements are, but my problem is real.
    TEMPORARY WORK-AROUND / FIX FROM AT&T:  Disable LTE on the iPhone 5.  Or when you figure out that data is not coming to your iPhone, use Airplane Mode ON/OFF for a few seconds to force re-connection to a tower without rebooting the iPhone.  You can Disable LTE on the iPhone 5 in SETTINGS/GENERAL/CELLULAR. I have disabled LTE on my iPhone 5 and have not had any of these cellular data issues since. 
    Disabling LTE is not acceptable either, but it is working. At least I seem not be losing connection or locking up without knowing it.  In my office over the course of a day, my iPhone 5 will jump back and forth on LTE and 4G sitting in the same place.  Disabling LTE has stopped this and the problem, but the iPhone 5 should switch cellular data services seemlessly just like the phone switches towers on a phone voice call seemlessly (most of the time).
    WI-FI ALSO STOPS WORKING SOMETIMES AFTER THIS LTE disconnect / lock-up issue:  That has been my experience along with my clients and family as well. If you use Wi-Fi a lot on your iPhone it will hide this LTE issue until you leave your Wi-Fi and get on LTE and then drop LTE (silently) and then go back to your Wi-Fi.  My experience has been I have to reboot the iPhone to even get Wi-Fi working again after that happens.
    I do not know if some of these comments and analysis are really accurate or valid or not... all I know for sure is since I upgraded my iPhone to the 5 along with my other family members and clients, we have had "no data" on many occasions and are continually rebooting our iPhones and looking for what is wrong. 
    My questions to the support community are these:
         1. Is anyone else having this issue? Or is it just me and my few? Maybe a lot of people do not realize they are not getting their data because they are on Wi-Fi most of the time or they are just rebooting and not trying to identify the real problem. AT&T said it was nationwide iPhone 5/LTE issue.  Anyone else heard that from either Apple or AT&T?
         2. Is this an iPhone 5 / Apple issue or is AT&T solely responsible? Or is it both? Where do we get a solution??? Is AT&T LTE holding false connections with iPhone 5 or is the iPhone 5 failing to recognize a dropped LTE cellular data connection and then failing to attempt to re-connect with 4G or 3G?
         3. Did I miss where this issue is posted? I searched Apple Support and Communities and did not get any hits.  Any updates or further insight on the issue? Any other fixes other than Disabling LTE?
          4. If this is in fact a real issue belonging in part to the iPhone 5, we need to escalate Apple’s attention to it.
    Thanks in advance for your help and feedback.

    Thank you fellow users and experts for your feedback and updates. Sorry about the large font on the original post... accidental via cut and paste.
    I have escalated the issue with both Apple and AT&T.  I actually got senior level troubleshooters from both Apple and AT&T on the phone at the same time... rare moment. Here are the key points of the update:
         1. AT&T did NOT confirm the earlier statement by another AT&T Technical Support Agent that this was an emerging nationwide issue about iPhone 5 and LTE losing data connection and not reconnecting at a lower level or re-connecting to LTE once the signal came back. So that earlier statement was not accurate as suspected by all of us. The senior tech at AT&T said he has seen this issue sporadically over the last month or so, but only with about 3-4 customers.  He said it seems to be location or phone dependent (some phones not all phones).
         2. The Apple Tech was satisfied that all that could be done to eliminate my issues possibly relating to my instance of software / iOS had been accomplished except erasing my iPhone and restoring as a new phone (I have avoided this inconvenience with the argument that other family/clients with the iPhone 5 have had the same problem).
         3. AT&T went so far as to examine which towers I had been connecting to over the last week and looked at other technical data that could possibly explain the issue. I now know I have 3 towers that provide LTE within 4 miles of my home/office, one within a half mile.  But so far there is nothing to explain or even properly identify the issue.  AT&T offered me to take my phone to an AT&T store, try to force replicate the problem there, if so, the store would put my SIM card in a brand new iPhone 5 (just to test) and try tor replicate the problem again. If replicated on a new phone, there is a deeper issue; if resolved on a new phone, the answer is obvious. I have not taken the time to do this yet.
         4. On Friday, Jan 4, 2013 while talking and between the tech support calls (on a different phone), I was able to re-create the problem 2 separate times in my home/office by forcing my iPhone to weaken its connection to service (burying it under electronic gear) and then waiting a few minutes, then trying to browse the Internet--no data service unless I manually reset the connection.  I am only able to cause the issue to occur if there is at least 15 min of idle time after a weak signal condition AND only if I don’t completely lose a connection to cellular voice service. It seems that if you go down to NO SERVICE the phone will do new a search and keep searching until reconnects to LTE or other signals correctly, but a weak connection seems to be strong enough for voice service but can sometimes cause the LTE data service to stop without reconnecting to LTE, 4G or 3G unless I manually intervene. It also seems that idle time with a weak connection is also necessary to re-create the problem manually.  Since Friday, I have not been able to re-create the problem. This has been an intermittent problem, so who knows.
    FYI, I have never had this problem with my new iPad (also on AT&T LTE) that has been with me when the iPhone fails to have data service, but my iPad is never in my pocket or other places with perhaps less signal.
    Again, if you are connected to Wi-Fi on your iPhone 5 most of the time, you may never notice this issue if you are even having it.
    So far no progress on the real issue or resolution, but both Apple and AT&T have put forth very admirable effort.
    If you or others you know are having this issue, please take the time to post a reply to this issue. Thank you.

  • How to expose a application service as web service?

    <UL>Hi Experts,
       <LI>I have created a business component and application service. i have also built and deployed it,
       <LI>Now I want to expose the application service operation as web service so that I can call the application service from XI or any webservice testing tool like SOAPUI or SOAPSONAR?
       <LI>What are the steps involved in doing this?
       <LI>I have selected application service then right clicked and selected "Expose service as web service".
       <LI>This has generated the WSDL file. After this I don't know what to do.
       <LI>In the WSDL file the soap address location is pointing to a default link (<soap:address location="http://www.example.org/"/>).
       <LI>What will be the actual location look like?
       <LI>For example: http://<CE server>:<Port>/?  <--- what will I have to put here so as to give the exact location?
    <LI>Thanks & Regards
    <LI>Gopal
    </UL>

    Hi Gopal,
    If I am not wrong, you need not do anything to the WSDL.
    If you carefully look at your WSDL in your NWDS, the soap:address attribute will point to the default location. However, the 'location' attribute will be 'Empty'. When you Deploy the Composite Application on the server, the location attribute value will be replaced by http://<server host name>:<port>/<WebService Name>/<Application  Service Name> in the WSDL on the server. The WSDL URL  is generated using the same format, and that is how it recognizes the service.
    You can deploy your application on the server and go to the Web Service Navigator and check the WDSL.
    Regards,
    Ajay

  • Exception in calling a web service from a composite application service

    Hi,
    I have created a composite application service with external service as a web service. My web service is deployed on localhost as well as I am running my composite application service in localhost. When i try to test the application service, I get the exception
    com.sap.caf.mp.base.exception.InvocationException: Invalid parameters
    The exception happens in MPConnector.java 'process' method where I am calling the execute operation on the service.
    I have tried testing this through Service Browser as well as creating a callable object on the Application service and testing the callable object.
    I am using the NWDS 7.0.06 version
    and EP installed on my machine is the Sneak Preview 7.0 sp 7
    Will appreciate all help in this regard.
    Thanks,
    Prachi

    Hi Navneet,
    I have verified the input/output parameters. They are simple types. All are Strings. Nothing really complex there.
    I have the Service Exceptions added already.
    And definitely the permissions are disabled but still this isn't working.
    Any more clues might be helpful.
    Thanks,
    Prachi

  • Call external service in a Application service created from ES

    Hi Experts
    I have the follow situation:
    I've modeled a new service in Enterprise Service Builder. This service i'll implement in caf application. In the method create by application i'll call one method of external service.
    I imported this modeled service in Create Web Service Provider option in external package, select the Enterprise Service Repository source option and choice the respective Service Interface.
    In this moment the caf created a new application service, with methods of modeled service. That's all right.
    Now i import a external service of esworkplace. All the step are ok. But the problem is going to next step.
    I need to call this imported service in the method of application service. I know 3 way to do this:
    1. Mapping the external service with this application service. In this case i have a problem - the method of external service is expose as web service, and i don't want this. Just the method of modeled service must be expose.
    2. Create another application service, map the external service with this application service, and create a depency between this application service and the application service created by modeled service. I think this work fine and resolve the problem of expose the method of external service. However i think this isn't a good way to do.
    3. Instantiate the service class of exernal service. From this class i can call the method of external service in application service. But now i have another problem. If i see the implementation of this class, it have a static block which call a URL class, and pass as parameter a wsdl file located in one directory of my computer like
    url = new java.net.URL("file:/D:/SAP7110Workspace.jdi/LocalDevelopment/CRVP/demo.sap.com//ejbmodule/
    _comp/tmp/0/EJB/src/META-INF/xml/ext/rootwsdl_WorkCentreSimpleByPlantQueryResponse_InService.wsdl");
    when execute the application in the server it don't find this file and i give one error.
    I think the best way to do is the 3° way. But why did the caf generate the URL with My computer directory instead of in directory of application? There are some solution to this problem?
    I've change this line manualy, but all the time when i generate the project, i need change this code again.
    Regards
    Marcos

    Hi,
    You may consume external service via JNDI
    Context context = new InitialContext();
    <JNDI OBJECT> local = (<CAST JNDI OBJECT>)context.lookup("<JNDI OBJECT>");
    //Call the method
    If you are using CE 7.11, go to NWA -> Problem Management -> JNDI browser  > ..... -> ObjectName for <JNDI OBJECT>
    - julius

  • Exception while exposing Application Module Methods as Web Service

    Hello Everyone,
    I am working on Jdeveloper 11.1.1.3.0 version and tried to expose one method of application module as web service. To do this, i used "Service Interface" tab of Application module within Jdeveloper and Jdeveloper had generated all interfaces, stubs, code for the Session bean required for web service. I am now trying to "Test Web Service" from the implementation class generated then i am getting this error in Weblogic deployment. Any help/pointers would be highly appreciated.
    I used another installation of Jdeveloper same version at my collegues desktop but getting the same error. Not sure, if this version of Jdeveloper is having issue in exposing application module as web service. I think that database related exception can be ignored as no database call is being made by the application.
    [Running application SalaryControlService on Server Instance IntegratedWebLogicServer...]
    [10:41:26 AM] ---- Deployment started. ----
    [10:41:26 AM] Target platform is (Weblogic 10.3).
    [10:41:27 AM] Retrieving existing application information
    [10:41:27 AM] Running dependency analysis...
    [10:41:27 AM] Deploying 2 profiles...
    [10:41:27 AM] Wrote EJB Module to C:\Documents and Settings\sacggupt\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\SalaryControlService\ModelEJB.jar
    [10:41:28 AM] Wrote Enterprise Application Module to C:\Documents and Settings\sacggupt\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\SalaryControlService
    [10:41:29 AM] java.lang.NullPointerException
    [10:41:29 AM]      at oracle.j2ee.ws.tools.wsa.jaxws.AssemblerProcessor.getClassNamesFromEjb(AssemblerProcessor.java:180)
    [10:41:29 AM]      at oracle.j2ee.ws.tools.wsa.jaxws.AssemblerProcessor.processEjb(AssemblerProcessor.java:149)
    [10:41:29 AM]      at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsEjbAssembler.processEjb(JaxwsEjbAssembler.java:182)
    [10:41:29 AM]      at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsEjbAssembler.ejbAssemble(JaxwsEjbAssembler.java:152)
    [10:41:29 AM]      at oracle.j2ee.ws.tools.wsa.cli.Processor.jaxwsEjbAssemble(Processor.java:630)
    [10:41:29 AM]      at oracle.j2ee.ws.tools.wsa.cli.Processor.execute(Processor.java:327)
    [10:41:29 AM]      at oracle.j2ee.ws.tools.wsa.cli.Processor.execute(Processor.java:230)
    [10:41:29 AM]      at oracle.j2ee.ws.tools.wsa.Main.mainNoSystemExit(Main.java:84)
    [10:41:29 AM]      at oracle.j2ee.ws.tools.wsa.Main.main(Main.java:49)
    [10:41:29 AM] WARNING: Error while processing ejb-jar.xml for ejb module at "C:\Documents and Settings\sacggupt\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\SalaryControlService\ModelEJB.jar".
    [10:41:29 AM] INFO: Unable to load annotation weblogic.javaee.CallByReference for parsing. The annotation is ignored.
    [10:41:29 AM] INFO: Unable to load annotation weblogic.javaee.CallByReference for parsing. The annotation is ignored.
    [10:41:29 AM] INFO: GenericWSWarAnnotationListener.parseAnnotatedClass Adding Servlet Mapping with URL pattern /HrModuleService for annotated WebService class lt.andrejusb.model.server.serviceinterface.HrModuleServiceImpl
    [10:41:30 AM] WSA process exited with code 0
    [10:41:30 AM] Deploying Application...
    <Jan 3, 2011 10:41:31 AM IST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application SalaryControlService is not versioned.>
    <ServerMessages><warningMBeanRegisterError> Failed to register the web service Config MBeans for application: SalaryControlService endpoint: SalaryControlService the error is: oracle.as.jmx.framework.util.MissingConfigurationFileException: The configuration at URI "WEB-INF\oracle-webservices.xml" cannot be loaded.
    [10:41:36 AM] Application Deployed Successfully.
    [10:41:36 AM] The following URL context root(s) were defined and can be used as a starting point to test your application:
    [10:41:36 AM] http://10.176.162.16:7101/SalaryControlService
    [10:41:36 AM] Elapsed time for deployment: 9 seconds
    [10:41:36 AM] ---- Deployment finished. ----
    Run startup time: 9391 ms.
    [Application SalaryControlService deployed to Server Instance IntegratedWebLogicServer]
    Target URL -- http://localhost:7101/SalaryControlService/HrModuleService
    Edited by: LearningToFly on Jan 2, 2011 9:13 PM

    Hello,
    Is this resolved yet? The reason I am asking is that I'm getting the same error as yours. I am trying to run the StoreFront tutorial in JDeveloper 11.1.1.3 and here's what I got:
    [04:21:31 PM] ---- Deployment started. ----
    [04:21:31 PM] Target platform is (Weblogic 10.3).
    [04:21:32 PM] Retrieving existing application information
    [04:21:32 PM] Running dependency analysis...
    [04:21:32 PM] Deploying 4 profiles...
    [04:21:32 PM] Wrote MAR file to C:\Documents and Settings\ylin\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\StoreFrontModule\metadata1.mar
    [04:21:33 PM] Wrote Web Application Module to C:\Documents and Settings\ylin\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\StoreFrontModule\StoreFrontUIWebApp.war
    [04:21:38 PM] Wrote EJB Module to C:\Documents and Settings\ylin\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\StoreFrontModule\StoreFrontServiceEJB.jar
    [04:21:40 PM] Wrote Enterprise Application Module to C:\Documents and Settings\ylin\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\StoreFrontModule
    [04:21:41 PM] java.lang.NullPointerException
    [04:21:41 PM]      at oracle.j2ee.ws.tools.wsa.jaxws.AssemblerProcessor.getClassNamesFromEjb(AssemblerProcessor.java:180)
    [04:21:41 PM]      at oracle.j2ee.ws.tools.wsa.jaxws.AssemblerProcessor.processEjb(AssemblerProcessor.java:149)
    [04:21:41 PM]      at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsEjbAssembler.processEjb(JaxwsEjbAssembler.java:182)
    [04:21:41 PM]      at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsEjbAssembler.ejbAssemble(JaxwsEjbAssembler.java:152)
    [04:21:41 PM]      at oracle.j2ee.ws.tools.wsa.cli.Processor.jaxwsEjbAssemble(Processor.java:630)
    [04:21:41 PM]      at oracle.j2ee.ws.tools.wsa.cli.Processor.execute(Processor.java:327)
    [04:21:41 PM]      at oracle.j2ee.ws.tools.wsa.cli.Processor.execute(Processor.java:230)
    [04:21:41 PM]      at oracle.j2ee.ws.tools.wsa.Main.mainNoSystemExit(Main.java:84)
    [04:21:41 PM]      at oracle.j2ee.ws.tools.wsa.Main.main(Main.java:49)
    [04:21:41 PM] WARNING: Error while processing ejb-jar.xml for ejb module at "C:\Documents and Settings\ylin\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\StoreFrontModule\StoreFrontServiceEJB.jar".
    [04:21:41 PM] INFO: Unable to load annotation weblogic.javaee.CallByReference for parsing. The annotation is ignored.
    [04:21:41 PM] INFO: Unable to load annotation javax.interceptor.Interceptors for parsing. The annotation is ignored.
    [04:21:41 PM] INFO: Unable to load annotation weblogic.javaee.CallByReference for parsing. The annotation is ignored.
    [04:21:41 PM] INFO: Unable to load annotation javax.interceptor.Interceptors for parsing. The annotation is ignored.
    [04:21:41 PM] INFO: GenericWSWarAnnotationListener.parseAnnotatedClass Adding Servlet Mapping with URL pattern /StoreFron
    Can someone help with this? Thank you in advance!
    Edited by: 834077 on Mar 5, 2011 6:28 AM

  • Expose application created in Apex as a service

    Good day,
    I need to find out if you can expose applications created in Oracle APEX3.2 as a service? The reason I am asking this, is a client has a Venus adabase, running some billing and procurement applications, secondly the clent has SQL server running some Payroll application and thirdly the client has oracle 10g running CRM and HR applications.
    The question really is ,how can I integrate the application created in APEX with the above mentioned applications??
    Kind Regards
    Thabo K

    Hello Thabo,
    APEX as a service? Usually APEX is more a front-end, so how to 'service' that? However you can expose the database PL/SQL as a webservice (just a few clicks in jDeveloper), but in the end that has nothing to do with APEX.
    What do you want to achieve?
    - Use data/information from the other systems in APEX? -> Create webservices overthere and call them using the native APEX webservice definition. Or 'just' access the tables (using a DB link or heterogenous services, so at the DB-level)
    - Use data/information from APEX in the other systems? -> Some procedure, but then the other way round.
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • Use the findByMultipleParameters bo operation in application service

    Hi
    I am trying to use the default findByMultipleParameters operation of a business object in an application service.
    I want to use the application service exposed as a webservice within webdynpro.
    But how can I pass all the parameters i a way, that it is not necessary to fill all fields in webdynpro? Is there any example code?
    Any help would be appreciated.
    Bernd

    Hi Ketan,
    You can implement findAll or findById in application service. First while defining the operations set the output parameter to be a structure which contains that BO(You create yourself a complex structure for it-there you can set cardinality).
    Then in the application service under that operation using the service Bean of the BO access the Bo's corresponding methods(either findById or findAll). Get that output and set it in the output parmeter and return it.
    public com.caf.types.FindAllAmendmentsResMsg findAllAmendments(
                   @javax.jws.WebParam(name="inputParameter1")
                   com.hcl.xapps.ipr.caf.types.FindAllAmendmentsReqMsg inputParameter1) {
              FindAllAmendmentsResMsg response = new FindAllAmendmentsResMsg();
              try {
                   List<Amendment> amendmentList = new ArrayList<Amendment>();
                   amendmentList = (List<Amendment>) this.getAmendmentService().findAll();
                   response.setAmendmentList(amendmentList);
              } catch (CAFFindException cfe) {
              return response;
    The above is an example for findAll.
    Hope it helps you
    Regards,
    Srinivasan Subbiah

  • How to use an Adobe interactive form in an Application service operation?

    Hi,
    I have a peculiar requirement here:
    The user wants that on the trigger of a specific operation an operation of the Application service should get invoked: this operation should pick up a Adobe form template from a destination and then prefill this forms with some values and then store the same in the backend DMS.
    It's very easy to accomplish this task in WD Java with the use of Interactive form element but here we don't want any kind of user interaction for these forms, just the form templates will be prefilled with some dynamic values and then the same will be saved as is.
    Can some one please provide some insight into how the same can be acieved, any API's etc?.
    Please reply ASAP.
    Regards,
    Manish

    hi
    try this tutorial on
    online interactive
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/tutorial on online interactive pdf form - 29.htm
    for offline interactive form
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/tutorial on offline interactive pdf form using download - 30.htm
    for downloading and uploading pdf forms
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/tutorial on offline interactive pdf form using e-mail - 31.htm
    regards
    saravana

  • How to use an Interactive form in a CAF Application service operation ?

    Hi,
    I have a peculiar requirement here:
    The user wants that on the trigger of a specific operation an operation of the Application service should get invoked: this operation should pick up a Adobe form template from a destination and then prefill this forms with some values and then store the same in the backend DMS.
    It's very easy to accomplish this task in WD Java with the use of Interactive form element but here we don't want any kind of user interaction for these forms, just the form templates will be prefilled with some dynamic values and then the same will be saved as is.
    Can some one please provide some insight into how the same can be acieved, any API's etc?.
    Please reply ASAP.
    Regards,
    Manish

    Hi Manish,
    If I get you correctly then you want to Upload a prefilled Adobe IF from some location without any user interaction and save it to some Backend/Temp storage: You need to have something like you have a user inbox and mail comes to this with the Adobe Form as an attachment, you extract the attachment and read it using available Java apis for reading. You can also specify a particular folder where you can place the filled form and then read it using FileInputStream and can save it in the backend after you have it in binary form in your application.
    Hope this helps!!
    Cheers,
    Arafat

  • Complex return type for operations in Application Services

    Hi all,
    I am trying to create a complex return type for one of operation in CAF Application service.I have created a complex dataStructure  named productList and added product bussiness object as its attribute with cardinality 0--n. And used product dataType as my return type.
    But I am not getting any output but its work fine with cardinality 0--1.
    I am using CE 7.1 SP5 trial version.......
    Can anyone

    Hi,
    And used product dataType as my return type.
    Are you sure you did not forgot to change you operations return type to "productList"?
    Best regards
    Philipp

Maybe you are looking for