IHeaderHelperBean isn't working - any ideas how to make it work?

Hi,
IHeaderHelperBean is one of the 3 or 4 predefined Spring Beans for Composites in SOA Suite. However, it isn't working for me as expected. I'm following the Oracle Tutorial by Ramkumar Menon "Predefined Spring Beans" available here: https://blogs.oracle.com/rammenon/entry/spring_framework_samples
My code looks like this:
@Autowired
private IInstanceHelperBean instanceHelper;
String fileName = instanceHelper.getComponentName() + "_" + instanceHelper.getComponentInstanceId() + ".txt";
headerHelper.setHeaderProperty("jca.file.FileName", fileName);
fileAdapter.write(message.getBytes());
returnMsg = "Successfully wrote " + headerHelper.getHeaderProperty("jca.file.FileName");
What I'm expecting is:
- The filename of the generated file should be "SpringHeaderAccess_spring.txt"
- The file should contain the message.getBytes() content
- The return message should be "Successfully wrote SpringHeaderAccess_spring.txt"
Instead I get:
- The filename is SpringHeaderAccess_spring (".txt" missing)
- The file is empty
- The return message is "Successfully wrote null"
If I comment out the following line:
// headerHelper.setHeaderProperty("jca.file.FileName", fileName);Then I get:
- The filename is "ToBeOverridenInTheComposite.txt" (this is what I had defined in my FileWriterService_file.jca xml file) - OK
- The file is not empty, it contains the text I sent via WS in my EM Test - OK
- The return message is "Successfully wrote (null)" - not OK.
Does anyone know why I am not getting the expected behavior, or where to get help for this?

Your phone is unsupportable. If it weren't for the physical damage and the fact that you opened it up and attempted repair yourself, you also downgraded iOS, meaning no one here or at Apple can help you at all.
At least you're only out $20, plus the cost of the battery you bought.

Similar Messages

  • Have just upgraded Itunes to new version, and Iphoto to new version. All went well. but this morning unable to open either of them. keep getting " Itunes quit unexpectedly, reopen" I keep on reopen, but to no avail. Any idea how to make it work?

    After upgrading to IOS5, and new version of Itunes and new version of Iphoto11, I now have a problem opening itunes and iphoto11.
    I get" Itunes quit unexpectedly, reopen" same message for Iphoto.  Tried and tried and tried to reopen, but keep getting the same message over again.
    Any idea how to fix it?

    Did you ever resolve the iCloud problem.I am in the same position and its driving me mad!!! If you have a link to an solution I would appreciate it.

  • My iPhone only works on iOS 3.1.3. Any ideas how to make it work on iOS 4.2.1?

    Hi guys
    I just bought an iPhone 3G very cheap, for 20$. Its battery puffed up and pushed up the screen a little bit, and also it broke about 3 screws on the right side, so the vibrator is not working in it. By the way, i bought a new battery, and everything was fine.( The screen has no errors, the phone functionality is 100%, the buttons are fine.) i noticed, that the phone restarts, or just switches off in 5 minutes. I restored it, (iOS4.2.1) setting as new iPhone and it continued to restart. So I tried install an iOS 3.1.3 on it, and now it's working, but I'm wondering why is this happening, and how can I install iOS 4.2.1 on it without these restarts.
    Thanks for help

    Your phone is unsupportable. If it weren't for the physical damage and the fact that you opened it up and attempted repair yourself, you also downgraded iOS, meaning no one here or at Apple can help you at all.
    At least you're only out $20, plus the cost of the battery you bought.

  • MP4 Video playback problem - any idea how to make it work?

    Mp4 video files are working when opened from local filesystem but now working when opened from the web
    Here is example:
    var video:Video = new Video();
    addChild(video);
    var nc:NetConnection = new NetConnection();
    nc.connect(null);
    var customClient:Object = new Object();
    customClient.onMetaData = ns_onMetaData;
    var ns:NetStream = new NetStream(nc);
    ns.client = customClient;
    ns.play("http://www.voyda.eu/projects/not_working2.mp4"); // here is actual a file so you can test it
    ns.play(url);
    video.attachNetStream(ns);
    Using above code will result in not playing the video file. Interesting think is that the same video file is played well when opening from local filesystem. Just download the file, change ns.play param to "not_working2.mp4"
    ns.play("not_working2.mp4");
    and see if it's working.

    My first guess would be that you're running into a security/sandboxing issue.  Can you send me your Flash Builder project file?
    Thanks,
    Chris ([email protected])

  • I keep getting the following message on my phone "Sorry!  The application Email (processcom.andriod.email) has stopped unexpectedly.  Please try again"  and there is a force shutdown button, which I push but keep getting the message.  Any ideas how to mak

    I keep getting the following message on my phone "Sorry!  The application Email (processcom.andriod.email) has stopped unexpectedly.  Please try again"  and there is a force shutdown button, which I push but keep getting the message.  Any ideas how to make it go away so I can get my emails?

    Have you installed any applications recently?  A task killer maybe?  You can try rebooting the phone and see if that helps.

  • When I turn on my Macbook pro retina display i get a black screen and i noticed that the machine gets very hot, any clue how to make it work?

    When I turn on my Macbook pro retina display, a black screen show up while I hear the normal start up sound.  I noticed that the machine gets very hot, any clue how to make it work?

    If the Mac is too hot to touch, take it in for service.
    Apple - Find Locations

  • I am in my e-mail and a keyboard came up but only the left hand-side of the keyboard and I can't get rid of it, any idea how to make it go away?

    I am in my e-mail and a keyboard came up but only the left hand-side of the keyboard and I can't get rid of it, any idea how to make it go away?

    Have you turned the phone off? If so, and it hasn't fixed the issue, try a reset:
    Press and hold the Sleep/On/Off button and the Home button at the same time for approximately 10-15 seconds. Ignore the slide to turn off indicator, and wait for the Apple logo to reappear. Release buttons. No content will he changed with this process.
    Stedman

  • Since updated iPhone 5 to iOS 6.1.3 3G not working, any ideas how to resolve?

    SInce I updated my iPhone 5 to iOS 6.1.3 3G has not been working, tried all sorts to rectify, any ideas how I can get it back up and running?

    Double tap the screen with THREE fingers, that should get it back to normal again.
    Then go into Settings > General > Accessibility > Zoom > OFF.
    Not too sure about the keyboard and random button presses though.  Back it up and restore from iTunes, see if that fixes it.

  • My bluetooth won't come on automatically when I get in my car unless I press "Not Connected" when the Bluetooth is on. Any ideas how to make it come on automatically?

    My Bluetooth won't work automatically when I turn on my car radio unless I press "Not Connected" on my phone bluetooth even though it is on. Any ideas how I can make this an automatic function when the radio and bluetooth are on?

    Hi Lakama1,
    Thank you for using the Apple Support Community. Due to the nature of your issue or question you may find more information by using another one of Apple's support resources - https://getsupport.apple.com/GetproductgroupList.action
    Regards,
    - Brenden

  • I cant access a website with my AX but if i swap it out with a linksys i can access it. Any ideas how to make the AX work?

    As I stated I can t access a specific website. Here is some of the specifics.
    1 The website is a redirect from USAJOBS.
    2 The websites are goverment sites.
    3 The AX is 2nd gen
    4 Configured as DHCP
    5 The other router is a Linksys
    6 The Linksys router is configured as DHCP also.
    7 When the redirect happens it just hangs. Nothing is returned.
    8 The Linksys is my sons ans will be returning to college in August.
    Does anyone have any ideas?
    Thanks

    "Hard reset" the AirPort Express (see below):
    While you do that, it's a good idea to reset your cable or DSL modem as well. Make it a rule to reset your modem whenever you connect something different to it. Failure to do that could conceivably explain the problem you are experiencing.
    To "hard reset" an AirPort Base Station: make sure it's powered up, then gently press and hold its tiny reset button. Don't apply any more force than required to feel a tactile click.  Keep it depressed for five to ten seconds, long enough for its LED to flash amber rapidly. Release the reset button. Then, the LED will glow amber steadily for about a minute. Then, it will flash amber, slowly, about once every second or two, waiting for you to configure it with AirPort Utility.
    Following the "hard reset", reconfigure your Express.
    Resetting an AirPort Base Station or Time Capsule FAQ

  • After I upgrade lion to Mavericks, App Store stopped working, any idea how to fix this?

    After I upgraded OS lion to Mavericks, in app store I had some new updates, then after a system update, which require restart, then App Store, stopped working, any one can tell me what should I do to fix this problem?

    Guys just contact apple support team . They will guide you well and your problem will most probably be resolved. I contacted them and following their instructions my mac is working totally fine again. If at all the problem persist the re-install mavericks by following steps
    1). Switch of mac
    2). Hold option/alt key and then switch it on.
    3). Then choose your language and continue.
    4). Now Re-Install OS X .
    5). It will start downloading and installing.
    6). Leave it idle for the required amount of time.
    7). It will restart automatically and your problem will be definitely resolved.
    Note:
    a. If there is any problem of connection follow the same steps and the downloading will start where it stopped.

  • I have lost iPhoto , was advised if I updated to the newest operating system Maverick that iPhoto would reload but it hasn't worked, any ideas how I can retrieve it without laying?

    any idea iron suggestions please?

    This screenshot shows which previous versions of iPhoto are compatible with Mavericks.  It also indicates which versions qualify for a free upgrade to iPhoto 9.5.1 and which require a purchase:
    Note 1:  every day more users are reporting problems with iPhoto 8.1.2 so I've included it in the non compatible category.
    Note 2:  If your previous version of iPhoto was iPhoto 7 (08) or earlier you'll need to download and run the iPhoto Library Upgrader 1.1 application on the library before opening it with iPhoto 9.5.1.
    If you don't have a backup of your hard drive from before you upgraded to Mavericks where you can restore the previous version of iPhoto (if it's compatible with Mavericks) you'll need to either use the disks that came with the Mac (if there were any) or an iLife 11 disk or purchse from the App Store.
    OT

  • Strange clicking/tapping sound in the background of my music in my iTunes player.  Any idea how to make it stop?

    There is a strange clicking sound in the background of my music in my iTunes player.  It sounds a bit like a horse galloping faintly in the background trying to keep up with the music!  Any idea of how to make it stop?  It doesn't matter what I'm listening to, doesn't happen in between songs, and has never happened in the 4 years I've owned this iMac.
    Thanks for your help!

    AND yea i afraid to sync my iphone and lose everything ;( i had everything perfect sync ing perfect ical,contacts,mail,apps and now sence new library I dont wana lose everything.....my hole life runs on my fone i need help bad

  • HT3529 I've never been able to use iMessage or FaceTime and its really making me mad...any idea how to get it working?

    I've had my iPod for over six months and I haven't been able to access FaceTime or iMessage...not to mention my camera stopped working for no reason!

    For the camera problem try the following:
    - A reset. Nothing is lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup
    - Restore to factory settings/new iPod.
    If you still have the problem that indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order
    For FT and Messages:
    The Complete Guide to FaceTime: Set-up, Use, and Troubleshooting Problems
    How to get started with iMessage | How To – CNET
    iOS 5: iMessage not working – how to fix - Apple Toolbox
    Also:
    - Go to Settings>General>Time&Date and make sure it is set to Automatic
    - Go to Settings>wifi>the connected network and change the DNS to Google's 8.8.8.8
    - Settings>General>Reset>Reset Network Settings. You will have to reenter all network passwords.

  • Win XP on a hard partition, any experience how to make it work?

    I have my HD partitioned in to several sections. One is destined for XP to be installed on. Does anybody have any experience with this? Does it work?
    I have run a test and I cannot get the Internet connection to work for example. Have not gotten any further, but was wondering if anybody has done this and what the correct procedure is and what to look out for etc.
    In other words how to run XP on a hard partition and have it work 100%.
    Thanks

    If the Mac is too hot to touch, take it in for service.
    Apple - Find Locations

Maybe you are looking for

  • 3GS battery life and current location problems

    I have a 3GS. Until I took a holiday in Mexico it worked fine. On return, the battery life is one half or less as before. I thought I may have picked up a virus or something connecting to the local WiFi (data roaming turned off). I restored a backup

  • How do I transfer from Microsoft word document to my Ipad?

    How do I transfer a document in Microsoft Word on my computer to my Ipad?

  • Tungsten E2 won't recognize SD card

    Recently purchased E2 won't recognize SanDisk 2GB SD card. Any suggestions? I have tried 3 separate ones.  Post relates to: Tungsten E2

  • Shutdown Under Mtn. Lion Taking 5 Times Longer - Sys Log Included

    I realize that there are a couple of other threads dealing with this issue, but they have veered off into directions that don't apply to my systems.  I'm posting a copy of my system log below--which looks pretty odd given what I'm experiencing. Backg

  • Vmmservice crash 2012 Sp1 Ru2

    VMMSERVICE crashes when attempting to delete a missing VM ... pretty sure this was not the case before RU2 ...  What a mess !  When using RDS in 2012 VM's get created and deleted  when creating or removing VM pools... this leaves a HUGE mess in SCVMM