XI class that can be impleented for writing a java code

Hi ,
I have tried to write a simple java map in Netweaver Developer Studio that will create a soap header and a few tags - there is a certain XI class you have to implement . Can some one help me out with what this class is?
Thanks in Advance,
Hemanthika

hi
chk these
/people/venkataramanan.parameswaran/blog/2006/12/12/java-mapping-to-handle-flat-files-in-sap-xi
/people/stefan.grube/blog/2006/10/23/testing-and-debugging-java-mapping-in-developer-studio
rgds
Chemmanz

Similar Messages

  • Can anyone recommend a programmer that can fix iWeb for Internet Explorer?

    Can anyone recommend a programmer that can fix iWeb for Internet Explorer? I had one experienced source from GetaFreelancer.com who did a 17 page fix for $25. He would have done commented code for $40 so I could do the fixes myself afterward but he is not available right now. Guru.com yielded no comparable sources. Elance has a $50 minimum. All the other bids were in the hundreds of dollars without the commented code.

    The image on the right of your index page needs pulling down a bit, it looks messy covering the top banner.
    Secondly, you've changed quite a lot on your page so this makes life harder for everyone. For example, now at the bottom of the page in fireFox I see 'IP' on the line below the rest of the details, but because you changed things I now don't know whether that's because of my screen resolution or your coding. Is it still on one line for you?
    The problem with your columns may partly be based on the fact that you have a variety of span classes effectively achieving the same thing, and there are lots of unnecessary bits of code. How much of this is iWeb and how much is you I don't know. You've got an li class, a paragraph class, a written-out span class and some kind of specified bullet class all for one sentence. You only need one, maximum two of those things. Even if it's not conflicting and that's not the reason why it looks messed up, you'd do better to strip the code of all the unnecessary rubbish.
    To do this with help I recommend someone who is familiar with iWeb and has access to it in front of them. A professional programmer won't be able to help you, because they can't really tell which bits are generated by iWeb and which parts you can actually change.
    I recommend starting with a blank page and creating your columns and text without any styling other than bullets. Check it in both IE and FF. Then slowly begin to add your styling back in until you see if there's a problem. Finally, put the text on a (new) page which has your full website styling and see if there's a conflict between your page layout code and your page text code.

  • System Image Restore Fails "No disk that can be used for recovering the system disk can be found"

    Greetings    
                                        - Our critical server image backup Fails on one
    server -
    Two 2008 R2 servers. Both do a nightly "Windows Server Backup" of Bare Metal Recovery, System State, C:, System Reserved partition, to another storage hard drive on the same machine as the source. Active Directory is on the C: The much larger D: data
    partition on each source hard drive is not included.
    Test recovery by disconnecting 500G System drive, booting from 2008R2 Install DVD, recovering to a new 500G SATA hard drive.
    Server A good.
    Server B fails. It finds the backed-up image, & then we can select the date we want. As soon as the image restore is beginning and the timeline appears, it bombs with "The system image restore failed. No disk that can be used for recovering the system
    disk can be found." There is a wordy Details message but none of it seems relevant (we are not using USB etc).
    At some point after this, in one (or two?) of the scenarios below, (I forget exactly where) we also got :
    "The system image restore failed. (0x80042403)"
    The destination drive is Not "Excluded".
    Used   diskpart clean   to remove volumes from destination drive. Recovery still errored.
    Tried a second restore-to drive, same make/model Seagate ST3500418AS, fails.
    Tried the earliest dated B image rather than the most recent, fail.
    The Server B backups show as "Success" each night.
    Copied image from B to the same storage drive on A where the A backup image is kept, and used the A hardware to attempt restore. Now only the latest backup date is available (as would occur normally if we had originally saved the backup to a network location).
    Restore still fails.         It looks like its to do with the image rather than with the hardware.
    Tried unticking "automatically check and update disk error info", still fail.
    Server A  SRP 100MB  C: 50.6GB on Seagate ST3500418AS 465.76GB  Microsoft driver 6.1.7600.16385   write cache off
    Server B  SRP 100MB  C: 102GB  on Seagate ST3500418AS 465.76GB  Microsoft driver 6.1.7600.16385   write cache off
    Restore-to hard drive is also Seagate ST3500418AS.
    http://social.answers.microsoft.com/Forums/en-US/w7repair/thread/e855ee43-186d-4200-a032-23d214d3d524      Some people report success after diskpart clean, but not us.
    http://social.technet.microsoft.com/Forums/en-US/windowsbackup/thread/31595afd-396f-4084-b5fc-f80b6f40dbeb
    "If your destination disk has a lower capacity than the source disk, you need to go into the disk manager and shrink each partition on the source disk before restoring."  Doesnt apply here.
    http://benchmarkreviews.com/index.php?option=com_content&task=view&id=439&Itemid=38&limit=1&limitstart=4
    for 0x80042403 says "The solution is really quite simple: the destination drive is of a lower capacity than the image's source drive." I cant see that here.
    Thank you so much.

    Hello,
    1. While recovering the OS to the new Hard disk, please don't keep the original boot disk attached to the System. There is a Disk signature for each hard disk. The signature will collide if the original boot disk signature is assigned to the new disk.
    You may attach the older disk after recovering the OS. If you want to recover data to the older disk then they should be attached as they were during backup.
    2. Make sure that the new boot disk is attached as the First Boot disk in hardware (IDE/SATA port 0/master) and is the first disk in boot order priority.
    3. In Windows Recovery Env (WinRE) check the Boot disk using: Cmd prompt -> Diskpart.exe -> Select Disk = System. This will show the disk where OS restore will be attempted. If the disk is different than the intended 2 TB disk then swap the disks in
    correct order in the hardware.
    4. Please make sure that the OS is always recovered to the System disk. (Due to an issue: BMR might recover the OS to some other disk if System disk is small in size. Here the OS won't boot. If you belive this is the case, then you should attach the
    bigger sized disk as System disk and/or exclude other disks from recovery). Disk exclusion is provided in System Image Restore/Complete PC Restore UI/cmdline. 
    5. Make sure that Number and Size of disks during restore match the backup config. Apart from boot volumes, some other volumes are also considered critical if there are services/roles installed on them. These disks will be marked critical for recovery and
    should be present with minimum size requirement.
    6. Some other requirements are discussed in following newsgroup threads:
    http://social.technet.microsoft.com/Forums/en-US/windowsbackup/thread/871a0216-fbaf-4a0c-83aa-1e02ae90dbe4
    http://social.technet.microsoft.com/Forums/en-US/windowsbackup/thread/9a082b90-bd7c-46f8-9eb3-9581f9d5efdd
    http://social.technet.microsoft.com/Forums/en-US/windowsbackup/thread/11d8c552-a841-49ac-ab2e-445e6f95e704
    Regards,
    Vikas Ranjan [MSFT]
    ------- This information is provided as-is without any warranties, implicit or explicit.-------

  • When I sync my iphone 4S using iTunes it only syncs 8.5GB of music, not the entore library as specified.  Is there a capcity default limit of the amount of storage that can be used for music and if so how do I change it?

    When I sync my iphone 4S using iTunes it only syncs 8.5GB of music, not the entore library as specified.  Is there a capcity default limit of the amount of storage that can be used for music and if so how do I change it?

    The only limit is that of the device. No restrictions on how much of it you can use for music. Is part of your music library unchecked?
    tt2

  • Want to create an add-in/webpart that can enable comments for each day in TimeSheet

    Hi,
    Want to create an add-in/webpart that can enable comments for each day in timesheet.
    I need help how can I achieve that programmatically.
    Regards,
    Mehar

    Hi,
    I already developed this kind of customization. The system offered the possibility to clic on a cell (Project Center, or My Task, or Timesheet), to input a value to store in a custom field, or in a database.
    After clicking, a Popup with different textbox, etc...is displayed:  it is possible to put values, comments, or whatever.
    The benefits is that with this method, you don't have to redevelop the complete timesheet grid, which would be really complex.
    Instead of that, you develop a part of javascript code, which displays a popup containing asp.net code. From the aspx page, you can make what you want: modifying the value of an task/assignment customfield for exemple.
    To start, you can search for the Project Server 2010 SDK, Customize Project Center: it would be a good start point.
    In case of big difficulty, ask again here, and we could get in touch to give more explanations.
    Hope it helps,
    Sylvain

  • Maximum setting that can be done for pivot view in instanceconfig.xml.

    Hi All,
    Can anyone let me know if there is any maximum setting that can be done for pivot view in instanceconfig.xml.
    Regards,
    Apoorv

    Hi,
    Our instanceconfig has the following settings..
    <PivotView>
    <MaxCells> 4000000 </MaxCells>
    <MaxVisibleColumns> 5000 </MaxVisibleColumns>
    <MaxVisiblePages> 2500 </MaxVisiblePages>
    <MaxVisibleRows> 75000 </MaxVisibleRows>
    <MaxVisibleSections> 3000 </MaxVisibleSections>
    <ResultRowLimit>20000</ResultRowLimit>
    </PivotView>
    <CubeMaxRecords> 1000000 </CubeMaxRecords>
    <CubeMaxPopulatedCells> 1000000 </CubeMaxPopulatedCells>
    But is there somekind of documentation or Oracle recommendation on maximum setting for pivot view....
    Need it, as it seems even the existing settings are not quite fruitful in fulfilling user requirements.

  • Hi Just been into the apple store and the assistant told me about Pages / Keynote and Numbers for mac that can be downloaded for free. When I've searched on the app store there is only a paid version! can anyone confirm that there is a free version?

    Hi Just been into the apple store and the assistant told me about Pages / Keynote and Numbers for mac that can be downloaded for free. When I've searched on the app store there is only a paid version! can anyone confirm that there is a free version?

    See Apple Up-To-Date Program
    http://www.freeforum101.com/iworktipsntrick/viewtopic.php?t=429&mforum=iworktips ntrick
    Make sure your Mac is set to English before you go to the App Store.
    Be warned however thast Pages 5, with a few exceptions is actually a downgrade with over 90+ features removed:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&mforum=iworktipsn trick
    Peter

  • How do I create DRM Licenses that can be used for Offline Playback?

    [ Background ]
    Typically, a license is acquired from the DRM license server when the client video player encounters a video that is DRM-protected.   However, some use cases call for the ability for end-users to be able to play DRM content when a network connection is not available to the device.
    For example - the user wants to download a video from their home, acquire a license to play the content, and then get onto a train/airplane where a network connection isn't available.  On the train/airplane/etc..., the end user expects to be able to watch their video that they downloaded at home.
    [ DRM Policy Requirements ]
    For this use case to be possible, the DRM license must be acquired when the network connection is available.  In addition, the DRM license must be allowed to persist on the device disk.  For this to be possible, one value must be present in the DRM policy:
    1. Offline License Caching must be set to 1 or higher.  This policy parameter indicates how many minutes a license is allowed to be persisted to disk once it's been acquired by the license server.
    [ Workflow ]
    Now that the content has been packaged with a DRM policy that allows for offline caching (persistance) of a license, the video player simply has to acquire the license before the network connection is lost.  This can be accomplished via the typical API calls that the Video Player Application Developer would use to do a normal DRM license acquisition (DRMManager.loadVoucher()).
    For example, by using the DRMManager ActionScript3 API: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/drm/DRMManage r.html
    For other platforms supported by Adobe Access DRM (iOS, Android, etc...), please refer to the appropriate documentation around playback of DRM content on how to pre-fetch the DRM license.
    [ Workflow - iOS ]
    Enabling offline playback using the Primetime Media Player SDK (PSDK) for iOS requires a bit of self-extraction & instantiation of the DRM Metadata from the m3u8.  The reason for this is that as of PSDK v1.2, the PSDK APIs do not expose an mechanism for extracting the DRM metadata.
    You must manually (outside of the PSDK) get access to the DRM Metadata, instantiate a DRMContentData, and then use the DRMManager class to obtain a license for your content.  Afterwards, you may download your HLS content and stream it to your video player application locally.  Since the DRM license was pre-acquired before playback of the downloaded HLS content, your video player application does not require a network connection to acquire a DRM license.  Below is a code sample of obtaining the DRM Metadata from the m3u8 manifest and then using it with the DRMManager singleton.
    /*          Main entry points, playlistURL is url to a top level m3u8. */
    void PlayContent(NSURL* playlistURL)
              DRMManager* drmManager = [DRMManager sharedManager];
              if ([drmManager isSupportedPlaylist:playlistURL])
      // First we need a handler for any errors that may occur
                        DRMOperationError errorHandler = ^(NSUInteger major, NSUInteger minor, NSError* nsErr)
      /*          report error. */
      /*          Synchronous call to DRM manager to extract DRM metadata out of the playlist. */
                        [_drmManager getUpdatedPlaylist:playlistURL
                                                                                      error:errorHandler
                                                                                    updated:^(NSURL *newPlaylist, DRMMetadata *newMetadata)
                                   (void) newPlaylist; /*          updated URL is not used for this code sample. */
                                   if (newMetadata)
                                                      Assumes we are going to try to satisfy requirements to acquire license on the first policy in the metadata.
                                                      If there are multiple policies in the metadata, only 1 of them need to be satisfied for the license request to
                                                      go through.                                          
                                             DRMPolicy* drmPolicy = NULL;
                                             for (id object in newMetadata.policies) {
                                                       DRMPolicy* drmPolicy = (DRMPolicy*)object;
                                                       break;
                                             if (drmPolicy == NULL)
                                                       /*          report error, this metadata is malformed. DRM metadata must contain at least 1 policy*/
                                             if (drmPolicy.authenticationMethod != ANONYMOUS)
    However, please note that the above only describes the DRM license handling for offline playback.  The actual playback of video using the Primetime client SDK is not officially supported.  You will have to use your own mechanism of saving and playback back HLS content locally within the application.
    Theoretically, it is possible to save the HLS stream to the app, and then embed an HTTP server to the app to stream the HLS content back into the application.  However, the Primetime client SDK doesn't not expose a way to do this directly, since it's not yet supported.
    cheers,
    /Eric.

    no, the headers, here's a picture of the headers on this page. When I use SEO for Firefox, it sees them on every other page but never on my iweb sites.
    Quickpost this image to Myspace, Digg, Facebook, and others!

  • Method that can be used for multiple views

    Hello,
    I've got three tables: Person, Company, Adress. Each Person/Company can have mulitple adresses. So Adress has a foreign key to Person and Company. In ADF BC I've created two views for Adress: PersonAdressView, that has PersonView as Master and CompanyAdressView that has CompanyView as Master. Now I want a copy functionality, that validates and copies a given Adress row. I want this functionality for PersonAdressView and for CompanyAdressView. Is there a possiblity to write generic code that can do this?
    The logic that works on CompanyAdressView/CompanyAdressViewRowImpl and on PersonAdressView/PersonAdressViewRowImpl is the same. But the java datatypes are in so many lines different that it is almost impossible to use common code. Is it possible to resolve this problem with common base classes? If it is, I have no idea how to create them.
    regards
    Jörg

    Hi,
    create a custom version of ViewObject (extending ViewObjectImpl) and base the two ViewObjects on your custom VO (extend).
    Frank

  • What class that can implement file transfer in j2sdk

    hi
    i am doing this project that can transfer file through LAN(much like Yahoo Messenger)
    is there a class in j2sdk that can implement this? how to do it?
    thanks>>>>

    Annie is right that if you use only j2sdk then you want to use java.net. If you want to do it an easier way you can use ftp and download open source code. There are a couple of free packages you can find at http://www.javaworld.com/javaworld/jw-04-2003/jw-0404-ftp-p2.html
    If you want to use only the j2sdk then these 2 classes will give you an example of how to transfer data on the net. You need to add a lot more code to make these useful but it gives the general idea of how to open a socket and tranfser a bit of data.
    Client Side
    import java.io.InputStreamReader;
    import java.io.PrintWriter;
    import java.net.ServerSocket;
    import java.net.Socket;
    public class ClientClass {
         private final static String HOST = "10.133.5.230";
         private final static int PORT = 543;
         public void sendFile() {
              try {
                   System.out.println("Entered sendFile");
                   Socket socket = new Socket( HOST, PORT);
                   InputStreamReader input = new InputStreamReader(socket
                             .getInputStream());
                   PrintWriter output = new PrintWriter(socket.getOutputStream(), true);
                   output.println("This is a test");
                   output.println("This is a test 2");
                   output.println("Last line");
                   output.println("ENDEND");
                   socket.close();
              } catch (Exception ex) {
                   ex.printStackTrace();
         public static void main(String[] args) {
              ClientClass client = new ClientClass();
              client.sendFile();
    }Server Side
    import java.io.BufferedReader;
    import java.io.InputStreamReader;
    import java.io.PrintWriter;
    import java.net.ServerSocket;
    import java.net.Socket;
    public class ServerClass {
         private final static String HOST = "10.133.5.230";
         private final static int PORT = 543;
         public void getFile() {
              char[] inbuf = new char[2048];
              try {
                   System.out.println("Entered getFile");
                   // open server
                   ServerSocket server = new ServerSocket(PORT);
                   // wait for client.
                   Socket client = server.accept();
                   InputStreamReader inputStream = new InputStreamReader(client
                             .getInputStream());
                   BufferedReader input = new BufferedReader(inputStream);
                   PrintWriter output = new PrintWriter(client.getOutputStream());
                   while (true) {
                        String inData = input.readLine();
                        if ((inData != null) && (inData.length() > 0)) {
                             System.out.println("got '" + inData + "'");
                             if (inData.indexOf("ENDEND") > -1) {
                                  client.close();
                                  server.close();
                                  System.exit(0);
              } catch (Exception ex) {
                   ex.printStackTrace();
         public static void main(String[] args) {
              ServerClass server = new ServerClass();
              server.getFile();
    }Start the server side first and then run the client code in a separate JVM.
    You will also need to add the ability to handle binary and some sort of protocol to transfer the file names and handle the exceptions much better. Doing it like this would be much more fun and challenging, with ftp it would be alot faster.

  • Interface/class which can be used for obtaining exchange rates of currency

    Is there any interface or class in the java package which can be used for obtaining current exchange rates of currencies ?

    Yes. The people at Sun change the static fields every day to reflect the current prices on the world currency markets at GMT 12:00. Then every day all the java programmers around the world reinstall a new JDK that contains the updated class. The class is called:
    EuroDollarDollarEuroDollarYenYenDollarYenEuroEuroYenRubleDollarDollarRuble
    To access the Euro-Dollar exchange rate, you write:
    EuroDollarDollarEuroDollarYenYenDollarYenEuroEuroYenRubleDollarDollarRuble.EURODOLLAR

  • What is the maximum size of a .swf flash file that can be created for DMM

    Please help,
    I am running DMM 5.2.1 and was wondering what is the maximum size of a .swf file that can be created and play SMOOTHLY on the screens (screen dimension 1366 x 768px).
    Kind regards.

    Hi Nicholas,
    You can refer to the content creation best practices documented at the following link:
    http://www.cisco.com/en/US/docs/video/digital_media_systems/5_x/5_2/dmd/best/practices/guidelines.html#wp1168116
    As you can read there:
    - if the SWF file size is greater than 500KB, you may start to see high memory consumption on the DMP.
    - regarding resolutions, the SWF can be up to 1920 x 1080 when animations within the SWF are small and are restricted to a 640x480 region.
    Regards,
    Marco

  • Are there mac keyboard stickers that can be used for worn-out keyboards?

    Are there Mac keyboard lette stickers that can be used on worn-out keyboards?

    http://www.thekeyboardcompany.com/keyboard-stickers/replacement-keyboard-sticker s/?gclid=CPrkpciwtL4CFSsV7AodpBcA8w
    http://www.amazon.com/REPLACEMENT-KEYBOARD-STICKERS-BACKGROUND-NOTEBOOK/dp/B003D T15D6

  • HELP?! a class that implements .....  : java.util.Vector

    My instructions say this:
    In the constructor, create the collection object (Since java.util.List is an interface, you will need to instantiate a class that implements this interface: java.util.Vector or java.util.LinkedList or java.util.ArrayList).
    I know, this IS a homework assignment - I am not sure how to go about this. I DO have code so far up to this point, can anyone help?
    import dLibrary.*;
    import java.awt.Color;
    * @author Rob
    * @version 8/18/03
    public class PhrasesII extends A3ButtonHandler
            private A3ButtonWindow win;
            private ATextField stringAcceptor;
            private ALabel listOstrings;
            private ALabel inputString;
            private ALabel status;
            private java.awt.List display;
            private java.util.List collection;
    public PhrasesII()
            win = new A3ButtonWindow(this);
            stringAcceptor= new ATextField (50,420,200,25);
            stringAcceptor.place(win);
            listOstrings = new ALabel(100, 10, 100, 380);
            listOstrings.setFontSize(10);
            listOstrings.setText("List of Strings:");
            listOstrings.place(win);
            inputString = new ALabel(50,400,200,25);
            inputString.setFontSize(10);
            inputString.setText("Input String:");
            inputString.place(win);
            display = new java.awt.List();
            display.setLocation(200, 100);
            display.setSize(200, 250);
            display.setBackground(Color.lightGray);
            win.add(display, 0);
            win.setLeftText("Save");
            win.setMidText("Display");
            win.setRightText("Discard");
            win.repaint();
      public void leftAction()
        public void midAction()
        public void rightAction()

    I am getting a " can't resolve symbol" when I do thisYou have to either import java.util.ArrayList or specify it fully, e.g., "new java.util.ArrayList()".
    Is that the line that is causing you problems? The error message should give the line number.
    my instructions also say I have to use "interface
    java.util.List when declaring your reference" so I am
    confused about using "= new ArrayList();"What they're saying is that you want code like this:
    private java.util.List frogs;    // this is the reference declaration
    //... later on...
    frogs = new java.util.ArrayList();  // this isn't a declarationWhat this means is that when you declare a field or variable, you should declare its type to be an interface.
    But when you actually instantiate a value for that variable, then you should use a concrete class that implements that interface. (You have to; interfaces can't be instantiated.)
    This is good programming style for reasons I don't have the space to explain here.

  • Report that can take the system: (users, utilization, T-CODE)

    I need a report that can take the system:
    How many times a user logged into the system in the last month
    Most used transactions
    Changes passwords.
    Etc., all you have to do with a user-level tuning.
    thanks,
    VLopes

    Hi
    If you Activate the audit log you can keep track all information,
    have a look at   -successful and unsuccessful dialog and RFC logon attempts
                             --successful and unsuccessful transaction and report stats ...
                             how many times a user logged -in and all .yah you need to count
                             the number of times a user logged based on the report.
    Once you activate....every day transaction details are recorded for every user
    who tries to log in.keep an eye on the below parameters
    In RZ10
    rsau/enable :set to 1 to activate audit logging
    rsau/local/file   :to specify name and location of audit log file
    rsau/max_diskspace/local :To specify maximum space for audit file say if
                                                max.size is reached auditing stops
    Hope that helps.
    regards
    Manjula .U

Maybe you are looking for