Questions on the @ServiceClient annotation and Asynchronous webservices

1. Is their a way to invoke a webservice in an asynchronous manner without using the @ServiceClient annotation? I’ve tried a few things to get access to the async versions of the web methods and each time I get an exception stating “java.rmi.RemoteException: Asynchronous methods can only be invoked from stubs with the ServiceClient annotation”.
2. Is their anyway to generate a dynamically sized array of service port variables with the @ServiceClient annotation? All the examples that I have seen only have a single port variable annotated with @ServiceClient. I’ve tried creating a class that uses the @ServiceClient annotation, and while it does compile it fails when I try to invoke the services methods. I also found in some documentation a restriction that the @ServiceClient annotation can only be used in the core java (jws) webservice class.
3. Is their a way to use a single service port variable with the @SeriviceClient annotation to invoke multiple calls to an asynchronous web method if that web method is part of a conversation? When I tried this I found that even though the asynchrounous calls were going out with any problems they were being processed serially on the target services side (I assume due to the conversation).
The problem I am trying to solve is I need to invoke a stateful webservice in an asynchronous manner multiple times from the same starting service.

Hi
That is how I understand that document:
Locking: Forms, by default, locks a row as soon as the user starts modifying the data. That is pessimistic locking. Apex, on other hand (and optionally forms also) do not lock the record, but before applying any changes checks if the data has changed since the user queried it (what for some reason is called optimistic "locking")
DB connections: I am not sure why they used the terms synchronous/asynchronous, but the difference is that Forms, by default, keeps an permanent DB connection while the user is using the application, while Apex gets a connection from a connection pool every time a page is requested/submitted.
Architecture: Forms (in its web version at least) has 3 tiers: the browser, the appserver where the forms service runs and the database. As Apex runs inside the database, there are only 2 tiers: the browser and the database (though you still may need an http server in between which serves static content, I don't think it is considered part of the application in this context). If you are talking about client/server forms, then there are only 2 tiers.
I hope this helps!
Luis

Similar Messages

  • How do I restore the "Flatten annotations and form fields" Preflight profile?

    The "Flatten annotations and form fields" Preflight profile (sub: PDF fixups) was accidentally deleted from my computer. I don't know how to reinstall/recreate it. I use it all the time... please help.

    In which case, just recreate it yourself:
    Preflight > Pptions menu > New Preflight Profile
    Give it the name you want
    Custom Fixups section on the left, add two entries from the list
    "Flatten all annotations into page contents"
    "Flatten all form fields into page contents"
    Save it in the PDF Fixups category and lock it

  • NI 6008 - Questions on the C APIs and how to use them

    Hi
    I am trying to use the NI 6008 to drive a Digital Programmable Attenuator and had a few questions. I am newbie with this device, so most of my questions are relating to figuring out the basics with this device.
    1) I am hoping to be able to write a simple C program to have the NI USB 6008 drive this Digital Programmable Attenuator. Is this possible? I could find the NI-DAQmx C Reference Help file, but I cant seem to find how to build and load a program onto the NI USB 6008?
    2) I would like to be able to turn ON a particular attenuation setting on the Digital Prog. Atten. at a specific instant and after a few milliseconds turn it OFF. And repeat this endlessly. I was looking for a Timer API to let me control the Digital Prog. Atten. at set timer interrupts but I am not sure if there is a way to do this. I see the APIs: DAQmxCfgImplicitTiming and DAQmxCfgSampClkTiming. But I am not 100% sure if these are the right APIs to use for this purpose. Also which APIs can I use to set the Digital lines in the DAQ to highs and lows?
    Like I said earlier, I am a newbie with this device and I am not really sure if I am going in the right direction. Any help would be greatly appreciated.
    Thanks
    Anand

    You do not load a program onto the device. Your program runs on your pc and you build your program that calls the DAQmx functions.
    There is no clock for for the digital I/O. As the spec says, it is strictly software timed which means you explicitly write a true or false, one state at a time. This is subject to jitter from Windows and I would not expect rates above 100 Hz.

  • I submitted a question on the help site and it hasn't shown up in my Dashboard

    I was signed in , asked a question on the help site a couple days ago and the question still hasn't shown up in my Dashboard. Please tell me how to get it there and more importantly, how to avoid this in the future.

    Try:
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer
    Are you saying that it is not listed here:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Is the computer signed into the same iTunes account that purchased the song?
    Is it listd in your Purchases History? iTunes>Store>View Accountc>login>Purchase History?

  • I have a question regarding the iPod Touch and iPhone batteries.

    Hello,
    I started asking myself questions lately about my iPod Touch 5th generation battery. A few months ago, when a friend of mine asked me to plug her iPhone 5S in the wall (the battery depleted), I noticed that her phone was at 1% of battery power. Then I compared my iPod Touch battery with her phone's battery, and discovered that my iPod Touch stops working when the battery is close to 10% battery power. This is concerning to me because I feel like I only have about 85-90% of battery power available when I use my iPod Touch, while my friend has over 99% of battery available. It's a huge gap, I can't use this 10% that I wish i had. I'm wondering why iPods can't stop functioning when the battery is close to 1% instead of 10%? Can you imagine not being able to use 10% of your battery! And it was like this since iOS 6.1.3. My iPod Touch would shut down automatically when the battery would be depleted, but in reality, it still had 10, maybe 15% left. Why is that?
    Thank you.

    Hey Lil'fighter, First, stop comparing an iPod with an iPhone. They may look a like on the outside, share the same iOS, and some of the components, but that is as far as it goes! The biggest reason your friends iPhone out last the iPod is a bigger battery, greater capacity. Secondly, the phone is configured a bit differently and uses power a little more effectively. Third, it is impossible to completely drain the battery in either device. A safety circuit prevents you from doing that. With Li-ion batteries if you completely drain one, it will de-ionize and become useless; never charge again. I suspect the threshold is set higher for an iPod then on an iPhone. But if you feel your iPod is not performing as it should, and a reset or restore does not improve function, then by all means take it to Apple and have it evaluated. Hope this helps. Cheers.

  • I just have questions about the AirPort Express and how it works.

    My household Wi-Fi is not the strongest in  my room and I found out about the AirPort Express and I read the overvie, but I still have some questions on how it works, how its setup and other questions as well.

    The AirPort Express will not wirelessly extend the signal from another router unless that router is also an Apple product.
    Not sure what other questions you might have, but we'll try to answer if you want to ask.

  • Recently I posted my first question on the discussion forum and received an answer. How can I reply to the answer? Where do I have to click to be able to post my response?I posted a question and received an answer. How can I reply to the answer

    This may seem stupid: Recently I posted my first question to the discussion forum. I received an answer. Where can I reply to the answer?

    It looks like this:
    You will only see it if you Sign In  with your appleID
    Captfred

  • Question about the gray screen and wheel that keeps on spinning !

    After an update (I now have Mavericks 10.9.3) Safari froze. I tryed starting it again, nothing.
    I restarted my computer (imac early 2008) and got a gray screen,an apple logo and a spinning pin wheel!
    I could get into Disk Utility to 'verify and repair', everything was apparently OK.
    I saw a letter from a few years ago (where it was from, i can'nt remember) it suggested restarting with cammand+v
    to show where the fault was, it then scolled down a lot of witten material and stoppe at :-    'Bootcachecontrol : unable
    to open/var/db/Boot cache. Playlist :2 no such file or dirictory.     I have no idea what it means !
    Can anybody help me ? I miss my Mac !
    Best Wishes from Jonathan Sandberg.

    Take each of these steps that you haven't already tried. Stop when the problem is resolved.
    Step 1
    The first step in dealing with a startup failure is to secure the data. If you want to preserve the contents of the startup drive, and you don't already have at least one current backup, you must try to back up now, before you do anything else. It may or may not be possible. If you don't care about the data that has changed since the last backup, you can skip this step.   
    There are several ways to back up a Mac that is unable to start. You need an external hard drive to hold the backup data.
         a. Start up from the Recovery partition, or from a local Time Machine backup volume (option key at startup.) When the OS X Utilities screen appears, launch Disk Utility and follow the instructions in this support article, under “Instructions for backing up to an external hard disk via Disk Utility.” The article refers to starting up from a DVD, but the procedure in Recovery mode is the same. You don't need a DVD if you're running OS X 10.7 or later.
    b. If Step 1a fails because of disk errors, and no other Mac is available, then you may be able to salvage some of your files by copying them in the Finder. If you already have an external drive with OS X installed, start up from it. Otherwise, if you have Internet access, follow the instructions on this page to prepare the external drive and install OS X on it. You'll use the Recovery installer, rather than downloading it from the App Store.
    c. If you have access to a working Mac, and both it and the non-working Mac have FireWire or Thunderbolt ports, start the non-working Mac in target disk mode. Use the working Mac to copy the data to another drive. This technique won't work with USB, Ethernet, Wi-Fi, or Bluetooth.
    d. If the internal drive of the non-working Mac is user-replaceable, remove it and mount it in an external enclosure or drive dock. Use another Mac to copy the data.
    Step 2
    If the startup process stops at a blank gray screen with no Apple logo or spinning "daisy wheel," then the startup volume may be full. If you had previously seen warnings of low disk space, this is almost certainly the case. You might be able to start up in safe mode even though you can't start up normally. Otherwise, start up from an external drive, or else use the technique in Step 1b, 1c, or 1d to mount the internal drive and delete some files. According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation.
    Step 3
    Sometimes a startup failure can be resolved by resetting the NVRAM.
    Step 4
    If you use a wireless keyboard, trackpad, or mouse, replace or recharge the batteries. The battery level shown in the Bluetooth menu item may not be accurate.
    Step 5
    If there's a built-in optical drive, a disc may be stuck in it. Follow these instructions to eject it.
    Step 6
    Press and hold the power button until the power shuts off. Disconnect all wired peripherals except those needed to start up, and remove all aftermarket expansion cards. Use a different keyboard and/or mouse, if those devices are wired. If you can start up now, one of the devices you disconnected, or a combination of them, is causing the problem. Finding out which one is a process of elimination.
    Step 7
    If you've started from an external storage device, make sure that the internal startup volume is selected in the Startup Disk pane of System Preferences.
    Start up in safe mode. Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Post for further instructions.
    Safe mode is much slower to start and run than normal, and some things won’t work at all, including wireless networking on certain Macs.
    The login screen appears even if you usually log in automatically. You must know the login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    When you start up in safe mode, it's normal to see a dark gray progress bar on a light gray background. If the progress bar gets stuck for more than a few minutes, or if the system shuts down automatically while the progress bar is displayed, the startup volume is corrupt and the drive is probably malfunctioning. In that case, go to Step 11. If you ever have another problem with the drive, replace it immediately.
    If you can start and log in in safe mode, empty the Trash, and then open the Finder Info window on the startup volume ("Macintosh HD," unless you gave it a different name.) Check that you have at least 9 GB of available space, as shown in the window. If you don't, copy as many files as necessary to another volume (not another folder on the same volume) and delete the originals. Deletion isn't complete until you empty the Trash again. Do this until the available space is more than 9 GB. Then restart as usual (i.e., not in safe mode.)
    If the startup process hangs again, the problem is likely caused by a third-party system modification that you installed. Post for further instructions.
    Step 8
    Launch Disk Utility in Recovery mode (see Step 1.) Select the startup volume, then run Repair Disk. If any problems are found, repeat until clear. If Disk Utility reports that the volume can't be repaired, the drive has malfunctioned and should be replaced. You might choose to tolerate one such malfunction in the life of the drive. In that case, erase the volume and restore from a backup. If the same thing ever happens again, replace the drive immediately.
    This is one of the rare situations in which you should also run Repair Permissions, ignoring the false warnings it may produce. Look for the line "Permissions repair complete" at the end of the output. Then restart as usual.
    Step 9
    If the startup device is an aftermarket SSD, it may need a firmware update and/or a forced "garbage collection." Instructions for doing this with a Crucial-branded SSD were posted here. Some of those instructions may apply to other brands of SSD, but you should check with the vendor's tech support.   
    Step 10
    Reinstall the OS. If the Mac was upgraded from an older version of OS X, you’ll need the Apple ID and password you used to upgrade.
    Step 11
    Do as in Step 9, but this time erase the startup volume in Disk Utility before installing. The system should automatically restart into the Setup Assistant. Follow the prompts to transfer the data from a Time Machine or other backup.
    Step 12
    This step applies only to models that have a logic-board ("PRAM") battery: all Mac Pro's and some others (not current models.) Both desktop and portable Macs used to have such a battery. The logic-board battery, if there is one, is separate from the main battery of a portable. A dead logic-board battery can cause a startup failure. Typically the failure will be preceded by loss of the settings for the startup disk and system clock. See the user manual for replacement instructions. You may have to take the machine to a service provider to have the battery replaced.
    Step 13
    If you get this far, you're probably dealing with a hardware fault. Make a "Genius" appointment at an Apple Store, or go to another authorized service provider.

  • A simple question about the Integration process and the PI system

    Hi all
    Out PI system gets more and more slowly .
    in the Monitor I can se that there are many ufinished IP about 100.
    in the Outbound colon there is a Watch icon with the message
    QMessage being sent                     
    and in the graphic of the IP thers is a Send Message Asynchronously  with text in process.
    my question is can those unfineshed IP be guilty in slowing down the system by taking resources, they have been there for quit a long time .
    Thanks

    Hi again
    I have checked sm12 , no locks
    theres is no mapping involved in this step , the IP is trying to send a file to  server.
    I just want to know if  100 unfinished IP slow down the system .
    It does not matter if the file has been sent or not
    is there any way to check those IP if they are taking resources.
    Thanks.

  • I have some questions on the PowerON Reuse and Recycling system

    My iPhone 5 is in very good codition, and I went through the questions on Apple's website, resulting in a $355.00 evaluation, which I think is quite fair. However, the payment comes in the form of an Apple Gift Card. I'd really like to put that money towards the iPhone 5S, but it seems the only way possible to do that is send off my phone and be without it for however long it takes to get the Gift Card. Is there any way I can use this service and not have to go days without my phone?
    I don't get an upgrade until January, so I don't plan on getting the new iPhone the day of its release. I'm not sure if that matters.
    Thanks for the help!

    As users ,what do you want us to say ,
    Suggest you go in and discuss with the Apple guys at a Retail store

  • Question about the ECC6 migration and the retrieving of partner's address

    Hi experts,
    I have already post a thread about the use of the table BUT021_FS instead of BUT020 for retrieving partner's standard address.
    I do modifications to my specific programs.
    But what about the standard?like BUA_BUT020_SELECT_WITH_PARTNER for example
    If I read the standard code, I see that it is still using the indicator XDFADR to specify if this address is standard or not.
    I am new at ABAP and I want to know your analyse about it.
    So, my question is : Is the result of this FM (partner address) correct? what I mean to say if I will use this address to determine if it is a standard or not.
    Best regards.

    Hi,
    I understood what you mean but I don't use this FM explicitly.
    I am analyzing a CRM 7 dump and I see in the traces of st22 the use of this FM.
    The dump appears when I create new Organization and Contact in CRM WebUI. May be it's a validation of fields of address.But I think, I must put this other thread in CRM, but I you had some experience with it, it would be very helpful.
    Thank you for your help,
    Best regards.

  • Question About the S partition and Backing Up Content

    Forgive me if this sounds stupid (and yes i did read online about this S partition business with thinkpads) but I am not sure if i had accidentally deleted the S partition or it is hidden and I am not able to see it. When I go to my computers, the only drives I see are C and W(W is my ultrabayIII added 500gb harddrive). I do not see a S partition. The Q partition I deleted. But when i go to the computer management location, I see: "SYSTEM_DRV with no Drive Path Letter (strange...), a Windows7_OS(C  and my SecondHDD(W.....and no S partition.....does that mean that my S partition is the SYSTEM_DRV or did I unknowingly deleted it.
    And another question:
    Since I no longer got the Q partition, what does that mean I lost?? Does this mean that I am not able to restore my thinkpad to the original factory default with the factory-installed programs and drivers?? (even the faulty NVIDIA driver that gives bsods? lol?) Though I did see something that came with windows 7 called Create Repair Disk.....does this mean that it acts like a windows 7 CD which allows me to boot from CD and fix or reinstall windows 7???
    sorry for this post being lenghy XD but thanks in advance for the responses.

    yiplong wrote:
    I know we can clearn LR history on a particular image by clicking "clear all" in the history panel.  Is there a way to do this for all images w/o having to go through all of them?  I don't want LR to keep track of every little thing I did on every little image; if the development is significant, I would use virtual copy or snapshot.  I think having all the history info is waste of space and may slow down LR.
    Each history step could be a very small amount of space in the catalogue database. I'm not sure what you mean by "slow down LR." Slow down how? What activities or gestures will be impacted?
    I am hearing you want to reset all settings to some large selection of your images , excepting some or all virtual copies or those with snapshots. It might be better to work with temporary catalogues, merging those into a master catalogue in a selective manner.
    yiplong wrote:
    When backing up LR3, the program only backs up Lightroom 3 Catalog.lrcat, but my LR3 folder is over 2gb.  Is this 20mb Ircat file the only thing we need to worry about?  What are some of the other things in the folder that is taking up so much space?
    Perhaps the preview cache? You can also check to see if your raw cache is in there, too.  I assume your managed photos are in a different directory tree (or trees.)

  • A little question about the WWDC 2006 and Macbook

    I was considering to buy my first Macbook, no, my first mac EVER these days, but after i heard of the WWDC 2006 i'm afraid to miss some new upgrades made on the Macbook when i buy it next week.
    But someone told me too, that even if there are Upgrades, i probably have to wait them to come to Europe for about 2 month - and thats much to long to wait for me cause i need it for work in the next four weeks !
    Hope you can say me whats to do
    Greetings
    Agent Darkbooty

    Thank you very much for your help
    But i've got still a question ..
    ..would you buy the macbook next week or would you wait untill the end of the conference ?
    Seems like there will only be software updates for the macbook

  • Question about the logic board and video

    Hi, i own a macbook pro 17 in. @ 2.4 ghz, and have the nvida 8600 gt card. I'm pretty sure that the card has failed since no video has shown up during start up 2 weeks ago (i asked a friend of mine, and he had the same problem with a macbook pro 15 in., he was pretty positive on a card failure). I brought it to the local genius bar, and they fixed some firmware or whatnot, and it worked fine for a week. A week later, the same problem of no video showed up during start up.
    My question is if this is a video card issue, is it possible that the logic board could have been damaged from the faulty video card? The tech. told me that it might be the board, and im afraid of paying the hefty repair fee, although i personally feel that the card is all to blame.

    Here is the article on the NVIDIA 8600 chip:
    http://support.apple.com/kb/TS2377
    Note that Apple will do the repair free of charge if the chip fails within the first two years of ownership. The repair will be to replace the logic board, as Apple does not work on boards at the component level. Your machine should be new enough to qualify for the free repair.
    Good luck!

  • Question about the Canon 8400F and scanning large photo albums

    Hi,
    Besides scanning negatives, slides, and individual photos, I will be visiting one of my relatives who is the "keeper" of some big family photo albums. If I recall correctly, the albums are pretty large and there are quite a few pictures on each page. I think (?) the pictures are permanently on the pages. Will this be a problems scanning the pictures in?
    I think the albums are about the width of a full size keyboard and about twice the heigth.
    Any help here would be appreciated. I do hope the pages can be individually removed one at a time from the album, but I do think that the pictures are permanently attached to the pages.
    Thank you very much
    Also, how good is the instruction booklet that comes with the scanner?
    Thanks again

    Will this be a problems scanning the pictures in?<<<</div>
    Your only problem will be in positioning the album on the scanner. The included CanoScan software allows you to scan in multiple photos and the software automatically separates them.
    Also, how good is the instruction booklet that comes with the scanner?<<<</div>
    Who reads instructions? We're Mac owners!

Maybe you are looking for

  • Calling a web service from Oracle 10g forms

    Hi Everybody I want to send SMS from my 10g forms.... I searched for the topic and I got the following link "http://www.oracle.com/technology/products/forms/htdocs/10gr2/howto/webservicefromforms/ws_10_1_3_from_forms.html" Now I have downloaded "wscl

  • Cannot import Excel dates

    I am using Oracle SQL Developer v1.2.1 and I'm trying to import an Excel file that contains date values formatted as 21-Sep-2007 11:29:45. During the import process, Data Preview shows that the date columns have values such as 39282.8. I have tried s

  • RPE-01008: Recovery of this request is in progress.

    Hi, When loading a rather big flat file (350MB) using SQLLDR, we receive following error message in the processflow or mapping output: RECOVERY RPE-01008: Recovery of this request is in progress. After this error, the PF restarts loading the flat fil

  • Current Installed Flash Player (11.7.00.224) for Windows XP

    Sir/Madam, I have the current version installed as mentioned above into my OS and still I cannot view vidoes (YouTube).  I have read and tried all of your Adobe Player options, but to no avial.  Plesae advise.  Thanks

  • OPC Tunneller

    Any issues with Matrikon OPC Tunneller and Labview DSC? Here is the answer I got from Matrikon, just want to hear if there is any experience here. Hi Bob Tunneller has no known issues with LabView OPC client. Tunneller tends to need very little confi