How to differenciate from BestEffort, ExactlyOnce and ExactlyOnceInOrder?

I developed a sap jca adapter, now I want to get certification from sap for my jca adapter. how to differenciate from BestEffort, ExactlyOnce and ExactlyOnceInOrder? do I need test all these three Quality of Services?

Hi Spring,
<i>do I need test all these three Quality of Services?</i>
That depends on the need and purpose of your adapter.If you want some synchronous messaging you have to test for BE.
For EOIO there is special note given in
http://help.sap.com/saphelp_nw04s/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
Cheers,
Rashmi

Similar Messages

  • How to boot from install disc and do a clean install

    No one tells you that you can't restore a TM backup that was done on Mountain Lion 10.8.2 to a new hard drive with Snow Leopard. After many hours with Apple Care yesterday, they were foxed.
    I want to now do a clean install on my new hard drive (installed yesterday by an Apple Care serviceman) using my Snow Leopard install discs (10.6.3). How can I do this?
    After I have done a clean install, I will set up the iMac and upgrade to Snow Leopard 10.8, which will give me the App Store, where I can upgrade to Mountain Lion and then attempt the restore from Time Machine.
    I am just uncertain how to do a clean install.

    Would you find a way to tweet or post the following info so that other iMac users who need their SeaGate HD replaced don't go through hours of headache before they get this information?
    RE: iMac HD replacement.
    If your TM backup is on Mountain Lion and your startup discs are Snow Leopard (or earlier) do NOT restore your  backup after new HD is installed!
    First, update OS to Snow Leopard 10.8. This will install the App Store. Note: it will take about 20 hours.
    When you have the App Store in the dock, install Mountain Lion. Note: again, about 20 hours.
    After ML is installed, restart holding down the option key. Select restore from TM backup and select your data.
    I was told by Apple Care that ML makes changes to the HD, thus installing a backup to a previous OS will not function properly.
    You can create a bootable backup of ML to a flash drive or DVD when you buy it. Good idea as Apple is not making install discs now for new OS versions.

  • How to  read from excel file and write it using implicit jsp out object

    our code is as below:Please give us proper solution.
    we are reading from Excel file and writing in dynamicaly generated Excel file.it is writing but not as original excel sheet.we are using response.setContentType and response.setHeader for generating pop up for saveing the original file in to dynamically generated Excel file.
    <%@ page contentType="application/vnd.ms-excel" %>
    <%     
         //String dLoadFile = (String)request.getParameter("jspname1");
         String dLoadFile = "c:/purge_trns_nav.xls" ;
         File f = new File(dLoadFile);
         //set the content type(can be excel/word/powerpoint etc..)
         response.setContentType ("application/msexcel");
         //get the file name
         String name = f.getName().substring(f.getName().lastIndexOf("/") + 1,f.getName().length());
         //set the header and also the Name by which user will be prompted to save
         response.setHeader ("Content-Disposition", "attachment;     filename="+name);
         //OPen an input stream to the file and post the file contents thru the
         //servlet output stream to the client m/c
              FileInputStream in = new FileInputStream(f);
              //ServletOutputStream outs = response.getOutputStream();
              int bit = 10;
              int i = 0;
              try {
                        while (bit >= 0) {
                        bit = in.read();
                        out.write(bit) ;
    } catch (IOException ioe) { ioe.printStackTrace(System.out); }
              out.flush();
    out.close();
    in.close();     
    %>

    If you want to copy files as fast as possible, without processing them (as the DOS "copy" or the Unix "cp" command), you can try the java.nio.channels package.
    import java.nio.*;
    import java.nio.channels.*;
    import java.io.*;
    import java.util.*;
    import java.text.*;
    class Kopy {
         * @param args [0] = source filename
         *        args [1] = destination filename
        public static void main(String[] args) throws Exception {
            if (args.length != 2) {
                System.err.println ("Syntax: java -cp . Kopy source destination");
                System.exit(1);
            File in = new File(args[0]);
            long fileLength = in.length();
            long t = System.currentTimeMillis();
            FileInputStream fis = new FileInputStream (in);
            FileOutputStream fos = new FileOutputStream (args[1]);
            FileChannel fci = fis.getChannel();
            FileChannel fco = fos.getChannel();
            fco.transferFrom(fci, 0, fileLength);
            fis.close();
            fos.close();
            t = System.currentTimeMillis() - t;
            NumberFormat nf = new DecimalFormat("#,##0.00");
            System.out.print (nf.format(fileLength/1024.0) + "kB copied");
            if (t > 0) {
                System.out.println (" in " + t + "ms: " + nf.format(fileLength / 1.024 / t) + " kB/s");
    }

  • How to read from input file and pass to script

     How can I get rid of the hard coded PATH statement and feed script based upon text file input.
       Input is contained in a file..
    'C:\cntprocess\   called sistemfolder.txt that has 2 fields folder
    then shortname.
    example:
     C:\cntprocess\REW1___1~Rew1
     C:\cntprocess\REW2___1~Rew2
     I want the first part in each record passed to script for processing
    C:\cntprocess\REW1___1
    C:\cntprocess\REW2___1
    Pass those values to this Script: I want values from above passed to the $Path
    $path='C:\Sistemi\'
    get-childitem -path $path *.spx | % {
    " Starting File Process....." >> $path\sistem.log
    $PDate = get-date
    $date = get-date -uformat "_%d_%m_%Y_%H%M%S.bak"
    #"Set backup date to $date" >> $path\sistem.log
    $newname=($_.fullname -replace ".spx",$date)
    $file = [System.IO.Path]::GetFileNameWithoutExtension($_.fullname)
    "File backup name is $newname" >> $path\sistem.log
    Rename-Item $_.fullname $newname
    "Renamed file to $newname" >> $path\sistem.log
    $lines = get-content $newname
    foreach ($line in $lines)
    $line + " " + [System.IO.Path]::GetFileNameWithoutExtension($_.fullname) | Out-File "$path\sistem.csv" -append
    Write-Host $_.fullname
    "Files Processed on $PDate are $newname " >> $path\sistem.log
    Thanks.

    OK, I was mistaken a bit on what I originally told you. After you run the command of
    $myFile = Import-Csv -Delimiter '~' -Path $path -Header Path, ShortName
    $myFile is actually an array of PSCustomObjects, so you cannot access it like $myFile.Path, you will actually have to loop through the $myFile first, so try changing your script to be the following and see if that helps any
    param
    [string]$path
    $myFiles = Import-Csv -Delimiter '~' -Path $path -Header Path, ShortName
    # Then you can call it like so
    $myFiles.Path #Returns just the path
    $myFiles.ShortName # Returns the shortname
    $path='C:\AreaSistemi1\'
    foreach ($myFile in $myFiles)
    get-childitem -path $myFile.Path *.spx | % {
    " Starting File Process....." >> $myFile.Pathsistem.log
    $PDate = get-date
    $date = get-date -uformat "_%d_%m_%Y_%H%M%S.bak"
    #"Set backup date to $date" >> $path\sistem.log
    $newname=($_.fullname -replace ".spx",$date)
    $file = [System.IO.Path]::GetFileNameWithoutExtension($_.fullname)
    "File backup name is $newname" >> $myFile.Pathsistem.log
    Rename-Item $_.fullname $newname
    "Renamed file to $newname" >> $myFile.Pathsistem.log
    $lines = get-content $newname
    foreach ($line in $lines)
    $line + " " + $myFile.ShortName | Out-File "$path\sistem.csv" -append
    Write-Host $_.fullname
    "Files Processed on $PDate are $newname " >> $path\sistem.log
    Also looking at your script, you said your text file contained the format of <filePath>~<shortname> but I see you doing a $myFile.Pathisstem.log, where does the Pathisstem.log come from?
    If you find that my post has answered your question, please mark it as the answer. If you find my post to be helpful in anyway, please click vote as helpful.
    Don't Retire Technet

  • How to Read from two file and write to another file --Please help !!

    Hi all,
    Please suggest me where i'm goin goin wrng.
    I have 2 flat files. one of them is the main file(Ann.dat) has a about 150,000 lines (each line has unique ID from 00001 to 45000) of data and the the other(Miss.dat) has a just a list of IDs that are no longer in use & have to be deleted from the first file(NewAnn.dat). (Note that Ann.dat is a tab delimitted file and Miss.dat is just a list of all invalid IDs)
    Below is my code. It doesn't do what I'm supposed to. Please suggest me or help me with a code to do it. What I'm trying to do is read each of the lines from the 2 files compare the ID in ann.dat with all the IDs in Miss.dat & if it doesn't match with the ID in Miss.dat write the whole line to NewAnn.dat. And do the rest with all the lines in Ann.dat.
    It could be a real dumb question. since i'm not a software professional, I consider myself to be newbie to programming. I desperately need your help.
    import java.io.*;
    import java.util.*;
    public class anntemp{
         public static void main(String[] args)
              String keyAnn ="";
              String keyMis="";
              String recAnn =null;
              String recMis =null;
              try{               
              FileReader fr=new FileReader("C:\\Tom\\Ann.dat");
              BufferedReader br=new BufferedReader(fr);
              int couter=0;
              while ((recAnn = br.readLine())!=null)
                   couter++;
                   keyAnn = recAnn.substring(0, recAnn.indexOf("\t"));
              FileReader fr1=new FileReader("C:\\Tom\\Miss.dat");
              BufferedReader br1=new BufferedReader(fr1);
              while((recMis = br1.readLine())!=null){
              keyMis = recMis.substring(0, recMis.indexOf("\t"));
                   if(keyAnn.equals(keyMis)){
         FileWriter fw=new FileWriter("C:\\Tom\\NewAnn.dat",true);
         BufferedWriter bw=new BufferedWriter(fw);
         PrintWriter pw=new PrintWriter(bw);
         StringBuffer writeValue = new StringBuffer();
         writeValue.append(recAnn);
                                                 pw.println(writeValue.toString());
         pw.flush();
              }catch (Exception expe){
                   System.out.println("In Exception ");
                   expe.printStackTrace();
    Thank you all in advance,
    br

    I think you need to close the files when you are done in the inner loop. Plus I think you'll be overwritting the file in the inner loop if more than one match. It might be easier to read the unused id file into a map at the start, and then loop up the id's from the master file in the map. You can put the unused id's in as the keys, and a Boolean.TRUE as the value (value won't matter). Then just check if the map contains the key for the id read from the master file. That should cut down on disk activity. This assumes the unused id file is smallish.

  • How to read from one file and write into another file?

    Hi,
    I am trying to read a File and write into another file.This is the code that i am using.But what happens is last line is only getting written..How to resolve this.the code is as follows,
    public String get() {
         FileReader fr;
         try {
              fr = new FileReader(f);
              String str;
              BufferedReader br = new BufferedReader(fr);
              try {
                   while((str= br.readLine())!=null){
                   generate=str;     
              } catch (IOException e1) {
                   e1.printStackTrace();
              } }catch (FileNotFoundException e) {
                   e.printStackTrace();
         return generate;
    where generate is a string declared globally.
    how to go about it?
    Thanks for your reply in advance

    If you want to copy files as fast as possible, without processing them (as the DOS "copy" or the Unix "cp" command), you can try the java.nio.channels package.
    import java.nio.*;
    import java.nio.channels.*;
    import java.io.*;
    import java.util.*;
    import java.text.*;
    class Kopy {
         * @param args [0] = source filename
         *        args [1] = destination filename
        public static void main(String[] args) throws Exception {
            if (args.length != 2) {
                System.err.println ("Syntax: java -cp . Kopy source destination");
                System.exit(1);
            File in = new File(args[0]);
            long fileLength = in.length();
            long t = System.currentTimeMillis();
            FileInputStream fis = new FileInputStream (in);
            FileOutputStream fos = new FileOutputStream (args[1]);
            FileChannel fci = fis.getChannel();
            FileChannel fco = fos.getChannel();
            fco.transferFrom(fci, 0, fileLength);
            fis.close();
            fos.close();
            t = System.currentTimeMillis() - t;
            NumberFormat nf = new DecimalFormat("#,##0.00");
            System.out.print (nf.format(fileLength/1024.0) + "kB copied");
            if (t > 0) {
                System.out.println (" in " + t + "ms: " + nf.format(fileLength / 1.024 / t) + " kB/s");
    }

  • How to invoke from UNIX script and pass back return code?

    Though I am an experienced developer, I am new to java. I created a class containing a single method. I have performed my testing by running the class class.method from the command line in a UNIX (Solaris) environment. Now, I would like to have the class.method invoked from a UNIX shell script, and to return a success/failure indicator from the method, to the UNIX script. I modified the method to make it return char, rather than being defined as void. Within the class and method, I declared and initialized a char variable. I added a finally clause which contains a single return statement, returning the char return code variable. Within my UNIX script, I invoke the class/method as follows:
    return_code = java myClass
    This does not seem to be invoking the method however. Can someone please tell me what I am doing wrong? Or is more information needed in order for someone to help me out.
    Please let me know.
    Thanks.
    Brad

    stdunbar,
    Using your suggestion of System.exit(retVal); seems to allow the java method to be performed successfully (Thank You). But I am still having a problem with the value being recognized by the shell script.
    In my script, I'm doing the following:
    java MyClass inputparameter > return_code
    export return_code
    echo $return_code
    But return_code does not seem to contain a value. Just before the System.exit(retVal); I added System.out.println("return code = " + retVal ); and I can see that retVal. When I run the java method outside of the UNIX shell script, I can see that retVal does indeed contain a value. So I think my problem might actually be the code in the UNIX script.
    Thanks again.
    Brad

  • How to obtain from tables Date and Time in MHP

    Hello,
    I'm working in a MHP project and I need to access information about the current time and hour. I have been using Calendar class but it doesn't work in my ADB. So I think that I should access to the SI tables using an asinchronus listener. Can somebody help sending some code snnipets.
    Thanks very much

    Hello,
    yes I have tried it and it works in a my ADB but not in the real test enviorment. I have been using this expression:
    Calendar cal = Calendar.getInstance();
              System.out.println("La fecha es:\n Dia: "+cal.get(cal.DAY_OF_MONTH)+" Mes: "+(cal.get(cal.MONTH)+1)+" A�o: "+cal.get(cal.YEAR));
              System.out.println("La hora es: "+cal.get(cal.HOUR_OF_DAY)+" minutos: "+cal.get(cal.MINUTE));
    As you know this way shall be quite easier than accessing to the Tables but maybe I must access directly to the tables
    Thanks very much.

  • How to Select from Oracle 8i database and insert into Sql Server 2005 datab

    Hi how to Select from Oracle 8i and insert into Sql Server 2005.
    Source db as Oracle 8i
    Target db as Sql Server 2005.
    I need to select one table data from Oracle 8i & insert into Sql Server 2005
    Thanks

    Thanks Khan..
    Is there is any query (OPENQUERY) available for that?
    Regards..

  • How to install sap licensce? and orcle licensce ?

    hi friends
    i have to install sap licensce in sap ecc 6.0 and solman.
    how to get it from the marketplace  we buyed sap licensce .
    how to login from which client and which user ?
    how to install the orcle licensce to my data base ?
    please suggest me asap
    thanks in advance
    regards
    raja

    Hi Raja,
    Use t code SLICENCE in your ecc6 and solman.
    Determine the hardware key.
    Go to sap market place. click on 'Keys & Requests' tab. Here select 'Request permanent license key' tab. Enter the required information. This way you'll get the license key.
    Now go back to the SLICENSE in sap. select 'EDIT' - 'Install license key'' (F6).
    Log in to client 000 with DDIC for installing the license.
    As per my knowledge you dont need to install oracle key because, oracle comes in a bundle package with SAP.
    Hope this helps.
    Regards,
    Pranay

  • Content aware fill - how to sample from small area?

    Is there a way how to sample from small area and then apply content aware fill to the much more bigger area? For example - there is an object on a table. The object fills 90% of the image and the table 10% image. Now, I just want to delete the object. But that doesnt work with content aware fill, because the area around it is much smaller. Is there a solution for this?

    I am not sure that CAF is the right tool if you want to fill a large area sampling from a small area.  You might get away with doing it in stages
    One trick is copy just those areas you want to sample from, to a new layer, and use CAF on that layer, but without seeing your image, it is difficult to say what the best aproach is going to be.  

  • Select from 2 tables and insert same data into 2 other tables(BPEL Process)

    Hi All,
    Please suggest me how to select from 2 tables and insert the same data into 2 tables. I am successful in selecting data from 2 tables, but i am not able to insert the same data into 2 other tables. There is foreign key constraint between 2 tables.
    Thanks in Advance,
    MAH

    I have created DB Adapter for selecting from 2 tables and also DB adapter for insert and i have created parent child relationship between 2 tables.
    I am getting this error
    <Faulthttp://schemas.xmlsoap.org/soap/envelope/>
    <faultcode>env:Server</faultcode>
    <faultstring>com.oracle.bpel.client.delivery.ReceiveTimeOutException: Waiting for response has timed out. The conversation id is 6f3fe20c1b031057:-6cc7dfb5:11b8bf5fbe1:-7fa4. Please check the process instance for detail.</faultstring>
    </Fault>

  • How to deal with QoS such as BestEffort, ExactlyOnce, ExactlyOnceInOrder

    when developing the sap XI adapter, How to deal with the Qos of BestEffort, ExactlyOnce, ExactlyOnceInOrder?

    Take a look at the following link.
    http://help.sap.com/saphelp_nw04s/helpdata/en/8d/6ad6409ff68631e10000000a1550b0/content.htm
    regards
    Shravan

  • How can I read email from my aol account from my iphone and keep it as uread on my computer at home.  It automatically goes to read mail on my computer.  On my computer if I want to keep an email to answer later I can mark it "Keep as New".

    How can I read my email from my aol account from my iphone and keep it as "unread" on my computer at home?  At home I can read an email and if I want to get back to it at a later date I can mark it as "keep as new".  I tend to forget it if it goes to "read" mail.   Right now, when I read an email from my phone it goes automatically to "read" mail.

    On the iPad, using the mail app, there is no way to do what you are asking without tapping the flag icon and marking the item as unread. Have you tried the OWA app for the iPad? It may have that functionality, but I haven't tested it as you need an Office 365 subscription with Exchange support to use the app.

  • Steps to put itunes (50 gb) on external drive and delete from imac.  How would I update my ipods and ipad from the external drive if I do this

    I am planning to put itunes library on external hard drive. My Imac is running out of room and itunes is 50+ gb of music.
    What steps do I take to do this.  Also, if I do so, how do I update my ipods and my ipad 2.  I do back up my files with time machine.  This would be a completely separate new external hard drive.  Thanks in advance for any help.

    Two ways:
    1. After transferring to the external drive create an alias to the iTunes Music folder on the external drive.  Copy the alias into your Home folder.  Rename the alias to "iTunes Music."  Delete the alias from the external drive.
    2. In the iTunes preferences click on the Advanced icon in the toolbar.  You should see a field labeled, "iTunes Media Folder Location."  Click on the Change button and select the /iTunes Music/ folder on the external drive.

Maybe you are looking for

  • Iphone 4s battery draining extremly fast

    iphone 4s battery draining extremly fast, how annoying is that, Battery will be drain out within 12 hrs and I just usually watch 30 mins video (not using 3G/wifi) and 10mins on Phone . I always turn off my Siri, Auto Detect Time Zone, 50% Brightness,

  • Restricting user to input a maximum number of characters in a JTable cloumn

    Hi all, I'me developing a program which should restrict the user with a maximum number of characters input in a JTable column. It should show a msg and restrict the user from typing in, if the number of characters exceed the limit and on clicking can

  • PO data should not allow to change

    Dear Forums, Can any body so kind to find a way in solve the following business requirement: In my client business scenario the PR only subjected to release. PO against the PR not go for any release. My client require the user should not allow to cha

  • Just a simple check with special characters

    Hi guys and gals, i created a boolean method that will check the value of string for any special characters like (/,'%&^# ), what i did is to used indexOf() method. it will return false if the string doesn't have any special character. But, i'm havin

  • Keychain not working

    Hello, and thanks. I recently got around to changing my admin password, and now every time I use Safari or Mail, I am constantly asked for a password -- and every time I enter my Mail password and check remember in Keychain, it is ignored and I have