Working with Application Service

hi 
                 i have been working  CAF some time ,  and iam facing problem
         when  iam working with Application Service in CAF  , 
                           while using the entity service
       CURD operations in the  Application service .
             can any one please  send me a simple scenario   for working with     
         Application Service using Entity Service Curd operations .
        and  a  simple  Query  ,  is the create  operation  entity service  is used for
                  inserting  .

Hello Murali,
  Yes you would use the create operation to insert a new object of your entity. there are tutorials that will show this in detail
SAP Composite Application Framework - CAF Tutorial Center [original link is broken]
The steps you need to do are the following
1. Define your entity as a dependency in your application service.
2. create an operation on the application service
3. you will get a handle to the entities operation by simple calling the this.getxxxService() where xxx is the name of your entity.
Hope that helps
Abdul
Message was edited by:
        Abdul Razack

Similar Messages

  • Work with Application Services in CAF

    Hi.
    I have a composite application en NWD 7.3, my project has a little custom Framework which implements basic operations (CRUD) , the methods of these operations are exposed as web services. Also the project has some external services.
    My question is: Can I make an Application Service in which I could call an external service and the data obtained from this external service save them calling any web service from my custom Framework?
    The Custom Framework isn't in the same CAF Development Component.
    Thanks in Advance.
    Regards

    Hi,
    Please check note 1004108.
    Methods of Application and/or Entity Services (Business Objects) of CAF of SAP NetWeaver CE 7.1 cannot be exposed in document style, only RPC/literal is possible. Sorry.
    It's a restriction that is planned to be solved in one of the next releases.
    Regards,
       Jan

  • Error while deploying when working with web service

    Hi friends,
    I am working with web service. When i try to run the build.xml, I'm receiving an error as follows:
    *[javac] D:\MyWorkspace\MyProjectWeb\Javasource\aaa\bbb\ccc\ws\endpoint\ListenerServiceEndpoint.java:27: package org.springframework.ws.server.endpoint does not exist
    [javac] import org.springframework.ws.server.endpoint.AbstractDomPayloadEndpoint;
    [javac] ^ *
    Could anyone please help me in getting this solved??
    Thanks in Advance,
    Robis

    Pretty self-explanatory - the Spring framework jars are missing from the classpath used in compilation.
    If you don't have them, get them from www.springframework.org.

  • Work with enterprise services

    Hello Guys
    My next working  with enterprise services in sap pi,would you please  tell me what r the skills required to reach the target

    For SAP PI  you need to have ABAP skill or Java  skill and good idea of  XML .
    Use below documents for further clarification of SAP PI and ESOA.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0f3cf81-e6da-2a10-6891-ef321fdc1a6b
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60cb2b4c-af72-2b10-a3a2-a2f718d2a565
    Regards
    Snehasish

  • Will all of the CS4 programs work with Terminal Services?

    I think the title sums up my question...
    Will all of the CS4 programs work with Terminal Services?

    You should be able to solve that problem.
    MiFis have a default power setting on them that turns off the device after XX minutes of no use (As determined by the MiFi).  You can find and modify this setting in the MiFi Admin webpage.  It should be under the advanced area and can be configured to leave the MiFi on all the time.
    That being said, no MiFi model will behave very well as an always on home internet replacement device.  Dedicated home cable routers and modems will always perform better, they are designed for that scenario.  By comparison MiFis are designed to be light weight travel devices, they simply do not have the hardware necessary to be left online all day long with acceptable results.  MiFis are more appropriate as a backup, mobile or temporary internet solution.
    If you are looking for a home internet always on internet connection device you would be safer going with stronger hardware like a USB Modem+CradlePoint router, the VZW 4G LTE router or VZW HomeFusion.  Any of those devices are going to provide you with a better experience for your home than the MiFis without additional equiptment like boosters and antennas.  Some CradlePoint routers can be expensive but perform very well, the 4G LTE router has mixed review and the nice thing about HomeFusion is the special data plan and high powered equiptment.

  • Can my hp color laserjet 3500 work with cloud services

    can my hp color laserjet 3500 work with cloud services
    This question was solved.
    View Solution.

    The printer listed doesn't support cloud services.
    Cloud Services supported printers

  • Working with Web Service Security

    Hi... forum
    I really need your help.
    I created a web service client. with JDEV 10.1.3, when i crearted a function call i got this error
    javax.xml.rpc.soap.SOAPFaultException: SoapException
    at oracle.j2ee.ws.client.StreamingSender._raiseFault(StreamingSender.java:540)
    at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:390)
    at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:111)
    at com.ws.runtime.POSSoap_Stub.comprar(POSSoap_Stub.java:659)
    at com.ws.POSSoapClient.comprar(POSSoapClient.java:55)
    at com.ws.POSSoapClient.main(POSSoapClient.java:40)
    I debug the application and then get down in this line:
    send((String) getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);
    i also using web Secure Proxy
    and i have another methor called ping and this work fine, but one method that needs webservice security doesn´t work.
    some body has work with Webservice Security ?
    How can i view the message that is sending ?
    i don´t know what´s happenning ?
    Can help me, please?
    thnks
    Josue

    HI Frank, thank you for your help...
    I run the HTTP analyzer and see the error.. the usernametoken doesn´t was put it...
    My proxy i put it like secure proxy and i check the option username token. but the service. doesn´t put me this tag.
    this the message send it.
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="urn:schemas-orbitel-com-co:pos">
    <env:Body>
    <ns0:SolicitudCompra>
    <ns0:IdTransaccion>123</ns0:IdTransaccion>
    <ns0:TipoTarjeta>Orbitel Europa</ns0:TipoTarjeta>
    <ns0:Localizacion>Colombia</ns0:Localizacion>
    <ns0:Valor>0</ns0:Valor>
    <ns0:ZonaHoraria>0</ns0:ZonaHoraria>
    </ns0:SolicitudCompra>
    </env:Body>
    </env:Envelope>
    And the error message is..:
    <soap:Fault>
    <faultcode>soap:Server</faultcode>
    <faultstring>SoapException</faultstring>
    <faultactor>urn:schemas-orbitel-com-co:pos</faultactor>
    <detail>
    <Error xmlns="urn:schemas-orbitel-com-co:pos">
    <Codigo>POS006</Codigo>
    <Descripcion>El UsernameToken no fue suministrado</Descripcion>
    </Error>
    </detail>
    </soap:Fault>
    Frank, what can i do. to put the usernametoken into the send message.. ?
    thnks four your help...
    thnks.
    Joshua

  • Android Release APK does not work with Mobile Service in Android Studio

    I am using Android Studio and i have not been able to get a working release apk. What should my build file look like? Is there anything special that i need to do? The debug works fine but the release never works. Are there any code changes that need to be
    made? Do i need to log into azure on the mobile device? Do I need to copy the signed certificate to the device also? Any assistance or suggestion is welcome. Below is a copy of the build file:
    apply plugin: 'com.android.application'
    android {
    compileSdkVersion 19
    buildToolsVersion "21.1.2"
    defaultConfig {
    applicationId "com.example.ttferryschedule"
    minSdkVersion 9
    targetSdkVersion 19
    buildTypes {
    release {
    minifyEnabled true
    proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt'
    dependencies {
    compile 'com.android.support:support-v4:19.1.0'
    compile 'com.google.code.gson:gson:2.2.2'
    compile 'com.android.support:appcompat-v7:19.1.0'
    compile files('libs/mobileservices-1.1.5.jar')
    compile files('libs/mobileservices-1.1.5-javadoc.jar')
    compile files('libs/mobileservices-1.1.5-sources.jar')
    compile 'com.google.android.gms:play-services:6.5.87'

    Hi,
    I would recommend going with the 2.0 Beta SDK since you are working with Android Studio. The changes from 1.1.5 to 2.0 are documented at http://azure.microsoft.com/blog/2014/08/04/futures-support-and-breaking-changes-in-azure-mobile-services-android-sdk/ and http://azure.microsoft.com/blog/2014/08/07/offline-support-in-azure-mobile-services-android-sdk/ (offline
    specific). And we are in the process of publishing the beta SDK to an android repo so it's easily dependable.
    Please let me know if you have any further questions.
    Best,
    Mimi

  • Making the WMB54G work with Vista (Service Pack 1) - it does work.

    I posted this in response to a thread, thought it could use its own topic. 
    There is hope and potential success for Vista users!   I got the WMB54G 2 days ago.  I spent 6 hours with it and nearly threw the product AND my computer out the window the first night.  I scoured this forum for the past two days,  and by putting pieces together from various threads,  I'm now using the Music Bridge successfully with my 1 month old Dell XPS M1530 with Vista Home Ultimate with Service pack 1.  Once I had my gameplan,  it worked perfectly the first time I tried the new approach.  I will try to write a step by step process of what I did in the next few days but for now.....
    1.  Throw out the installation CD that comes with the music bridge (its useless for Vista).... I'm kidding, but you get the point.
    2.  You HAVE to dowload the Vista compatible installation utility and Firmware upgrade from the Linksys forum - I don't have the link right now, but its here in this forum. 
    3.  Run the Vista driver setup to install the Musicbridge utility - the "Install utility" link at the bottom of the setup screen, but DO NOT try to configure the router since you'll just have to do it again later. 
    4.  Run the firmware upgrade for the router (it behaves exactly like the setup utility, but instead of configuring the hardware for use, it upgrades the fimware)
    5.  Run the Vista driver setup to configure the router (only after the firmware upgrade).   I didn't have to do anything outside of the auto setup.  i'm using a Linksys wireless G router as well, and it connected with 64 Bit WEP encryption no problem once i entered my encryption passphrase. 
    6.  Open up MSCONFIG and disable the CMFLYWAVE Application on Startup
    7.  In your Program Files directory,  find \Linksys\wmb54g\wmb54g.exe,  \Linksys\wmb54g\driver\cmas2ds.exe, and \Linksys\wmb54g\driver\cmflywav.exe - For all three files,  right click and go to Properties\compatability.   Check the "Run this program in compatability mode for:"   pick XP with SP 2.   
    THANK YOU SO MUCH TO THE PEOPLE WHO POSTED THAT LAST BIT!!!!
    8.  I'd suggest restarting the computer now. 
    9.  You might get a "WMB54G.exe has stopped running error" on restart... that's ok
    10.  Start the following files in this order:
    cmas2ds.exe
    cmflywav.exe
    wmb54g.exe
    11.  The utility should start, and then you can connect to the bridge via the system tray icon.  - you might have to also set the default audio device to the Music Bridge by right clicking your system tray speaker icon
    12.  Uncheck the "Start the Music Bridge when I start Windows" option in the utility screen - and execute the three files in step 10 each time you restart. 
    I hope this works for you. 
    Solved!
    Go to Solution.

    I finally got my WMB54G to work with Vista SR1.    It took me 4 hours of struggling to figure it out though.
    What I did was:
    1. Download the latest utility and firmware from the linksys support site.
    2. To set up the device, preferably use http://192.168.1.210.  There are http setup instructions on the linksys customer service site.  Alternately, you can use the setup wizard on the CD but I would recommend avoiding it if you can.  If you do use the setup CD and it installs the WMB54G utility, promptly uninstall the utility afterwords and restart the computer.
    3. Update the firmware to v.2.18 by using http://192.168.1.210 and going to the HELP tab
    4. Install the latest utility from the support site but do not run the main setup.  Simply run setup.exe in the utility folder AND GIVE IT PLENTY OF TIME.  Walk Away and let the installer finish and close.  Then do the thing people discovered -- edit the properties of C:\Program Files\Linksys\WMB54G.exe and make sure it is set for running in XP compatability mode.
    5. Restart the computer
    Mine started working fine after I did all of this -- the WMB54G came up automatically and found the device.  Keep in mind I do not have WEP or anything -- just unsecured wireless.
    Good luck.
    Mike
    Message Edited by jmfife on 01-17-2009 10:51 AM
    Message Edited by jmfife on 01-17-2009 10:54 AM
    (Mod Note: Edited due to non-compliance of forum guidelines.)
    Message Edited by giantherockstar on 01-17-2009 11:05 AM

  • I canu00B4t work with Enterprise Service Builder

    Hi
    I try to work on Enterprise Service Builder of PI 7.1, but I can't.
    1. Firstly, I access to log in by http:// <server>:50000/dir/start/index.jsp. Then I can log on to Enterprise Service Builder, on this step I don't have problems.
    2. Secondly I wait to open the application on my laptop.
    3. Then windows 7 try to open the application but I only see the preview view on my desktop of my laptop
    NOTE: I can work with Integration Builder, without any problems, it works perfectly.
    I have this characteristics
    <Server>
    SAP PI 7.1
    <client>
    Internet Explorer 8 or Mozilla Firefox 3.6
    JAVA 6
    Windows 7 Home Basic 32 bits
    I don't know if i need configure something on my computer or on my OS
    Help!

    Hi,
    From Control Panel, go to Java -> General tab, Temporary Internet Files
    -> View... -> Delete all the content there.
    Then go to:
    > Integration buider page http://<host>:<port>/rep
    > Administration
    > Tab - Directory (Repository as well)
    > Java Web Start Administration
    > Restore Archives and Generate New Signature
    If that does not helps, then you may try re-deploying the XITOOLS components
    by using the JSPM and whe deploying, update it to the latest patch level.
    Regards,
    Caio Cagnani

  • Working with data services on remote server (not just deploying)

    Hi!,
    Is this possible? I'm used to work directly agains remote servers, but it seems flash builder 4 data services doesn't like it in development phase.
    I know I can deploy my services to a remote server for production, but want to do the same in development phase, work against remote data service. Could anyone suguest any tip?
    Thanks in advance,
    HexDump.

    Hello HexDump;
    If I understand your question correctly - you are trying to connect to a remote server to use its data during development.  What type of data are you working with and how do you connect to it?
    For example if you are using php/mySQL on your remote server and you are using data services and a callresponder, you can put in the endpoint in your service (see below example). *This might change in newer revisions.
    <fx:Declarations>
    <users:Users id="users" destination="users" endpoint="http://www.yourdomain.com/gateway.php"
    fault="Alert.show(event.fault.faultString)" showBusyCursor="true" source="users"/>
    <s:CallResponder id="loginUserResult"/>
    </fx:Declarations>
    John

  • No Sound hearing working with application @ 6233

    Could please help me, how can I get sount while I use applications. I had software which used to work with 3230 & 6600 its work well and good with sound the same software installed with 6233 but could not hear sound !?
    ஒவ்வொரு புன்னகையும் தர்மமே...

    No Prob
    GooD Luck with you then.
    CHeeriOS!

  • My blackberry is not working with my service provider

    my O2 blackberry stop working with all Nigeria service provider, what could be the root cause of this

    Do a simple reboot on the BlackBerry in this manner: With the BlackBerry device POWERED ON, remove the battery for a minute, and then reinsert the battery to reboot. A reboot in this manner is prescribed for most glitches and operating system errors, and you will lose no data on the device doing this.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Locked 3GS working with Indian Service provider while iphone 4 does not ?

    So my friend got a iPhone 3GS from the states and ofcourse it was locked with AT&T but upon reaching here when he inserted his Aitel Sim in it worked without any jailbreak or unlock. On the other hand i recently bought a iPhone 4 with 4.1 stock firmware and 2.10.4 baseband and it does not work with either of the official carriers let it be Airtel or Vodaphone even if we buy a microsim directly from the service provider(Yes they are available here on request).
    Why is it so. Also last i heard was that Apple added few more carriers with the 4.2.1 update. If that is to be correct then does a iPhone 4 works here in India with that update without the jailbreak or unlock.
    TIA
    Naughtie

    How is it that your friend got an iphone 3G S from U.S and that how does it work with Aitel Sim? All U.S purchased iphone are carrier locked to AT&T, and there is no official way to unlock them. They only way you can is to jailbreak and unlock it from there but otherwise a non-hacked u.s iphone will not work with other sim card. So it is likely that the phone your friend got is a hacked phone. You can also tell if your friend updates his phone to the latest firmware, that the phoen will go back to normal state and I bet you that the Aitel sim will not work.

  • Can't get commit method to work with Data service

    Hello
    I am trying to write changes to a database from a combo box.
    I am using the commit method as follows
    TblsituationService.commit();
    But I am getting the following error message
    1061: Call to a possibly undefined method commit through a reference with static type Class.
    I think it's something to do with the service but I don't know What.
    Thanks in advance
    Paraic

    the error is "Could not create resource factory, ClassNotFoundException"

Maybe you are looking for

  • FCP quits when exporting ref movie or self contained

    This one has be pulling my hair out. When I try to export an hour long project, FCP quits about half way in. Doesn't seem to matter if it is a ref movie or self contained. I get the unexpectedly quit window. I have no idea how to fix this. It is extr

  • Like Purchase Analysis - Selection Criteria

    Hi To All, In Administration -> Purchasing -A/P ->PurchasingReports ->PurcahseAnalysis Same like that, i want to create Selection Criteria for my user screens.... Whether its possible...? If S, how can i do that..?

  • Strange behavior with Cisco AP and Intel 3945 wireles card

    Hi, I have an interesting problem with an Intel 3945 A/G card, and my cisco APs. 1. Given: Cisco 1100 and 1200 AP running IOS 12.3.8-JEA Two laptop, one with Intel 2200 MPCI Card, the other with Intel 3945 MPCI Card Microsoft AD with IAS radius serve

  • ISync (and BT File Exchange) Mysteriously Stop Working...

    Hi there. I've been very happily syncing my Sony Ericsson Z520a with my Powerbook G4 for a while. Almost a year in fact. Now, suddenly, isync stopped being able to connect to my phone. I have checked everything I know how to check; bluetooth is enabl

  • 10.6.7 update error

    Cannot update my iMac from OS X 10.6.6 to 10.6.7. When I try to update I get an a message "Installation Failed". I want  to upgrade to 10.6.8, but to do so I need to first upgrade to 10.6.7