REG : Can we change namespace using any adapter module.

Hi All,
           I was working on the XMLAnonymizerBean adapter module. his module provides us the functinality of changing the prefix of namespace and selecting  sprecified modules in the output XML. Now i am stuck with a question ie is there any module that can change the namespace in the output xml. for example :
xmnls :  namespace1 to
xmnls : namespace 2.

Hi,
You can use a simple XSLT mapping in Receiver adapter . check this blog
http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=%28J2EE3417100%29ID0975923150DB01234155231841994144End?blog=/pub/wlg/2620
Provide the actual namespace in the bleow code
<?xml version='1.0' ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:p2="provideyournamespace">
     <xsl:template match="/">     
                   <xsl:copy-of select="*"/>
     </xsl:template>
</xsl:stylesheet>
Regards
Suraj

Similar Messages

  • HT204053 I use my sisters iTunes to sync only music onto my phone. I have my own apple ID and have it set up in my settings but when there's an update to be done, my sisters apple ID appears and I can't change it. Any ideas?

    I use my sisters iTunes to sync only music onto my phone. I have my own apple ID and have it set up in my settings but when there's an update to be done, my sisters apple ID appears and I can't change it. Any ideas?

    You may have inadvertently synced an app to your phone that was purchased with her ID.  That would trigger a prompt for her ID password when updating.  If that's the case, you would need to delete it from your phone.

  • Can't sign in using any 3rd party email client with my iCloud account on any Mac. Tried every settings, My iCloud only works with Mail.app

    Can't sign in using any 3rd party email client with my iCloud account on any Mac or any other Mac. My iCloud will only work with Mail.app. All the clients I tried work perfectly well as long as I sign in with somebody else's iCloud account. But mine won't work no matter the client (Postbox, Unibox, Airmail...) and no matter the computer.
    I can access my account on iCloud.com, but I can't use email clients without getting error messages prompting me to check my password or login.
    I was able to use those clients in the past but a couple of months ago I got logged out of Airmail and the issue started just like that!
    I tried every possible mail server settings including the following:
    IMAP information for the incoming mail server
    Server name: imap.mail.me.com
    SSL Required: Yes
    If you receive errors when using SSL, try using TLS instead.
    Port: 993
    Username: The name part of your iCloud email address (for example, emilyparker, not [email protected])
    Password: Your iCloud password
    SMTP information for the outgoing mail server
    Server name: smtp.mail.me.com
    SSL Required: Yes
    If you receive errors when using SSL, try using TLS instead.
    Port: 587
    SMTP Authentication Required: Yes
    Username: Your full iCloud email address (for example, [email protected], not emilyparker)
    Password: Your iCloud password

    Those are the correct settings, and they work with any email client that supports Imap.
    Try again.

  • I have iMac osx  version 10.8.5 and i forgot my account login password. i can't change it using my apple ID nor i remember my password.also my fire vault is not on and my keychain won't help. PS i can't also use the terminal idea it always not found.help

    have iMac osx  version 10.8.5 and i forgot my account login password. i can't change it using my apple ID nor i remember my password.also my fire vault is not on and my keychain won't help. PS i can't also use the terminal idea it always not found please help !!

    You need to restart the iMac and hold down the Command and R keys immediately.
    You will then have the utilities drop down and you choose Terminal
    When Terminal opens, type exactly:
    resetpassword
    and press Return.
    When the Reset Password window opens, select the user for which you want to change the password.
    Enter the new password twice, and then click Save.
    Accept the next dialog window,
    And then Apply
    When finished click the apple at the left side of the menu bar, and the Restart.

  • How can I change passwd using CLI

    How can I change userpassword using iPlanet Delegated Administrator v1.1 Command Line Utilities?
    (imadmin user modify ... -A userpassword:MyNewPasswd

    In SIMS 4.0
    1) You know uncrypted password / setup a new one:
    imadmin modify user ... -W user_passwd
    2) You know crypted string:
    imadmin modify user ... -A userpassword:{crypt}a1vDyDPBLgTU2
    For both, you need administrative privileges.
    R.

  • I purchased my iMac used.  When I try to update my apps the computer automatically fills in the previous owner's Apple ID and I can't change it.  Any ideas?

    I purchased my iMac used.  When I try to update apps in AppStore, the computer automatically fills in the previous owner's email address and it won't let me delete it to enter mine.  I have been using my own apple ID and password on this computer for other things without a problem.  Any ideas?

    Before buying a second-hand computer, you should have run Apple Diagnostics or the Apple Hardware Test, whichever is applicable.
    The first thing to do after buying the computer is to erase the internal drive and install a clean copy of OS X. You—not the original owner—must do that. Changes made by Apple over the years have made this seemingly straightforward task very complex.
    How you go about it depends on the model, and on whether you already own another Mac. If you're not sure of the model, enter the serial number on this page. Then find the model on this page to see what OS version was originally installed.
    It's unsafe, and may be unlawful, to use a computer with software installed by a previous owner.
    1. If you don't own another Mac
    a. If the machine shipped with OS X 10.4 or 10.5, you need a boxed and shrink-wrapped retail Snow Leopard (OS X 10.6) installation disc from the Apple Store or a reputable reseller—not from eBay or anything of the kind. If the machine is very old and has less than 1 GB of memory, you'll need to add more in order to install 10.6. Preferably, install as much memory as it can take, according to the technical specifications.
    b. If the machine shipped with OS X 10.6, you need the installation media that came with it: gray installation discs, or a USB flash drive for a MacBook Air. You should have received the media from the original owner, but if you didn't, order replacements from Apple. A retail disc, or the gray discs from another model, will not work.
    To start up from an optical disc or a flash drive, insert it, then restart the computer and hold down the C key at the startup chime. Release the key when you see the gray Apple logo on the screen.
    c. If the machine shipped with OS X 10.7 or later, you don't need media. It should start up in Internet Recovery mode when you hold down the key combination option-command-R at the startup chime. Release the keys when you see a spinning globe.
    d. Some 2010-2011 models shipped with OS X 10.6 and received a firmware update after 10.7 was released, enabling them to use Internet Recovery. If you have one of those models, you can't reinstall 10.6 even from the original media, and Internet Recovery will not work either without the original owner's Apple ID. In that case, contact Apple Support, or take the machine to an Apple Store or another authorized service provider to have the OS installed.
    2. If you do own another Mac
    If you already own another Mac that was upgraded in the App Store to the version of OS X that you want to install, and if the new Mac is compatible with it, then you can install it. Use Recovery Disk Assistant to prepare a USB device, then start up the new Mac from it by holding down the C key at the startup chime. Alternatively, if you have a Time Machine backup of OS X 10.7.3 or later on an external hard drive (not a Time Capsule or other network device), you can start from that by holding down the option key and selecting it from the row of icons that appears. Note that if your other Mac was never upgraded in the App Store, you can't use this method.
    3. Partition and install OS X
    a. If you see a lock screen when trying to start up from installation media or in Recovery mode, then a firmware password was set by the previous owner, or the machine was remotely locked via iCloud. You'll either have to contact the owner or take the machine to an Apple Store or another service provider to be unlocked. You may be asked for proof of ownership.
    b. Launch Disk Utility and select the icon of the internal drive—not any of the volume icons nested beneath it. In the  Partition tab, select the default options: a GUID partition table with one data volume in Mac OS Extended (Journaled) format. This operation will permanently remove all existing data on the drive.
    c. An unusual problem may arise if all the following conditions apply:
              OS X 10.7 or later was installed by the previous owner
              The startup volume was encrypted with FileVault
              You're booted in Recovery mode (that is, not from a 10.6 installation disc)
    In that case, you won't be able to unlock the volume or partition the drive without the FileVault password. Ask for guidance or see this discussion.
    d. After partitioning, quit Disk Utility and run the OS X Installer. If you're installing a version of OS X acquired from the App Store, you will need the Apple ID and password that you used. When the installation is done, the system will automatically restart into the Setup Assistant, which will prompt you to transfer the data from another Mac, its backups, or from a Windows computer. If you have any data to transfer, this is usually the best time to do it.
    e. Run Software Update and install all available system updates from Apple. To upgrade to a major version of OS X newer than 10.6, get it from the Mac App Store. Note that you can't keep an upgraded version that was installed by the original owner. He or she can't legally transfer it to you, and without the Apple ID you won't be able to update it in Software Update or reinstall, if that becomes necessary. The same goes for any App Store products that the previous owner installed—you have to repurchase them.
    4. Other issues
    a. If the original owner "accepted" the bundled iLife applications (iPhoto, iMovie, and Garage Band) in the App Store so that he or she could update them, then they're irrevocably linked to that Apple ID and you won't be able to download them without buying them. Reportedly, Mac App Store Customer Service has sometimes issued redemption codes for these apps to second owners who asked.
    b. If the previous owner didn't deauthorize the computer in the iTunes Store under his Apple ID, you wont be able to  authorize it immediately under your ID. In that case, you'll either have to wait up to 90 days or contact iTunes Support.
    c. When trying to create a new iCloud account, you might get a failure message: "Account limit reached." Apple imposes a lifetime limit of three iCloud account setups per device. Erasing the device does not reset the limit. You can still use an iCloud account that was created on another device, but you won't be able to create a new one. Contact iCloud Support for more information. The setup limit doesn't apply to Apple ID accounts used for other services, such as the iTunes and Mac App Stores, or iMessage. You can create as many of those accounts as you like.

  • TS1702 Changed my email (also Apple ID) and have a new iPad, now I can't update or use any of the apps that I purchased on my old iPad because it wants to use my old email (ID) how do I fix this. I have spent a lot of money of these apps!

    I changed my email address, which in turn, changed my Apple ID. I changed the settings of my iPad and things were fine for me, but my husband shares a few apps with me and isn't able to update or use any of those apps now. The change doesn't work for him. 
    Now, I got a new iPad mini and I'm having the same problem. I have purchased many apps which I can't use now. I have a lot of work documents saved to them too.
    Is there anyway that both husband and I can change the setting so we can access the apps we have already purchased?

    You have to be signed into the correct Apple ID in order to download those purchases again for free.
    Settings>iTunes & App Store. Tap the old ID and sign out, then sign in with the new/changed ID.

  • Can I change Encoding used in InputStreamReader

    Hi Java Gurus:
    Wanted to know if I can somehow change the encoding used by InputStreamReader, the value of which I get by InputStreamReader.getEncoding().
    I did change file.encoding to UTF8, but that does not change the encoding used by InputStreamReader.
    I am getting garbage data when reading a chinese character from a Swing GUI. If I convert the string into a byte array using utf8 encoding, the bytes look OK, but when I print the string, it is all garbage and gets stored in the database (thru JDBC) as garbage (?)
    Any pointer(s) would be a great help guys!
    Thanks,
    Micky G

    Hi Mickey,
    Wanted to know if I can somehow change the encoding used by InputStreamReader,
    the value of which I get by InputStreamReader.getEncoding().Easiest way is to specify the Charset or Charset name String in the constructor,e.g.:
    InputStreamReader isr = new InputStreamReader(iStream,  "UTF-16")
    I am getting garbage data....I don't quite follow what you're describing in this paragraph. Can you elaborate?
    Regards,
    Joe

  • How can I change the use for iCal

    I currently use iCal so that my iPad, iPhone and iMac are all synch'g.  So far it has worked seemlessly until now at least!
    My iTunes account is setup under my wife's name so iCal is actually listed through her.  This has never been a problem but I just realized that when I accept and invitation to a event on my calender it lists it as my wife's name not mine.   Can I change that without affecting all of my calenders?

    So far I have been able to change the name that was listed under iCloud under ical's user settings.  It didn't change the name that was listed on my event that i already responded to.  ANyone know if this would make the difference?

  • Can't open google using any browsers in mac

    Recently I can't open google and any google related websites like google translate using my macbook pro.
    I have tried different browsers, like firefox, safari and google chrome. None of them works.
    Also, I tried different network. I have tried to open google under my home network, my office network and other public networks. None of them works.
    And I have tried using Network Utility to tracerout. It can't stop and keep tracing. Shown as below.
    I have been struggling with this problem for couple of days.
    Can anyone help me?
    Thanks a lot!

    DNS Information - Check to see if an extra entry is present in the DNS Tab for your wireless connection (System Preferences/Network/Airport/Advanced/DNS).Delete all extra entries that you find.
    Place a check mark next to "Remember networks this computer has joined."
    Non-responsive DNS server or invalid DNS configuration can cause long delay before webpages load

  • Can H55-GD65 MB use any newer CPU than 1st generation?

    I am trying to find out what the H55-GD65 board can use for a processor? I see the list only has 1st generation i3, i5 or i7 chips and am wondering if this board can use anything newer? I also looked at the bios updates and they do not say whether they updated the list or not. It seems that you can only use a Clarkdale chip from the 1st generation chips, is this true?
    Thanks in advance for any help you can provide.
    Art

    Quote
    Can I use any of the 1155 pin CPU's is more of the question at this point?
    No, it is not possible. Only the ones and the BIOS versions to support them as listed in the link.

  • How can I change from useing an english keyboard to a French one

    how can I change from english to french

    Take your stylus and tap and hold on the analog clock and you will get a drop down list with two choices analog or digital. Choose digital.
    Post relates to: Centro (Sprint)

  • How can I change language used by Apple to send account reset to me?

    HHow can I change language on password reset post by apple

    The Google translation app should be able to handle it. I'm going to ask the hosts to move your post to the iPad Forum in case other people have ideas.
    https://itunes.apple.com/us/app/google-translate/id414706506?mt=8

  • Can we change "copy name" in Develop module?

    Is there a way to change the "copy name" of an image (a virtual copy) in the Develop module?
    Usually, I press ctrl-' to make a virtual copy to change the crop ratio (say to 5x7).  I would like to be able to change the "copy name" of that image to "5x7" or something else so I know the purpose of that virtual copy.  Can this be done in the Develop module when I press ctrl-'?  Right now, I am going back to Library and then opening the Metadata panel to edit the "copy name", which becomes a task with too many steps.
    Any suggestions?  Thanks.

    The only way I can think of is a modification to the TranslatedStrings.txt file with a new template name for virtual copies. This will be valid for ALL virtual copies you create.
    In order to give you instructions on how to do this, I'd need to know the O/S you're using and the language you're running LR in.
    Beat

  • Problem changing XML element in Adapter Module

    Hey!
    I am developing an adapter module to transform a coded password back to clear text. I have access to the XML element where the password is and I get to transform it, but I have 2 problems as also stated in the code:
    1) I cannot set the new value back to the node. I try with
    firstNode.getFirstChild().setNodeValue(decodedPwd);
    but this does not seem to work. How can I achieve this?
    2) Between the first issue and the code
    msg.setDocument(xmlpayload);
    I am not sure how to get my new values for the node back in the XMLPayload. How can I achieve this?
    Here is the code:
    msg = (Message) inputModuleData.getPrincipalData();
              XMLPayload xmlpayload = msg.getDocument();
              factory = DocumentBuilderFactory.newInstance();
              DocumentBuilder builder = factory.newDocumentBuilder();
              Document document = builder.parse((InputStream)xmlpayload.getInputStream());
              password = (Element)document.getElementsByTagName("ns1:passord").item(0);
              firstNode = password.getFirstChild();                    
              pwd = firstNode.getNodeValue();
              if(pwd != null){
                   decodedPwd = Decoder.decodeString(pwd);
    // THIS FAILS!
              firstNode.getFirstChild().setNodeValue(decodedPwd);
    //HOW TO SET NEW NODE VALUE TO XMLPAYLOAD HERE?
              msg.setDocument(xmlpayload);
              inputModuleData.setPrincipalData(msg);
                   return inputModuleData;          
    Help is much appreciated!
    Thanks!
    regards Ole

    Hey!
    The problem was solved. The code snipped I found was:
                   DOMSource DOMSource = new DOMSource(document);
                   ByteArrayOutputStream myBytes = new ByteArrayOutputStream();
                   Result dest = new StreamResult(myBytes);
                   TransformerFactory tf = TransformerFactory.newInstance();
                   Transformer serializer = tf.newTransformer();
                   serializer.transform(DOMSource, dest);
                   byte[] docContent = myBytes.toByteArray();
                   xmlpayload.setContent(docContent);
                   msg.getDocument().setContent(xmlpayload.getContent());               
    Ole
    Edited by: Ole Mugaas on Mar 27, 2008 8:43 PM

Maybe you are looking for

  • How can I get my old account back?

    my old skye is very nasasarre so please creat agin Post transferred to create its own new thread, Subject/title edited accordingly.

  • Could simply replacing a fan on a graphics card cause OS issues?

    OK I suppose it's a bonafide long shot that my replacing of an intermittently malfunctioning fan on a graphics card could cause OS issues, but I've had something immediately crop up after the replacement (crippling issues with Logic's 32-bit audio ui

  • Edit imported photos on ipad

    I have imported thru iTunes a number of photos I took with my Canon cameria to my iPad.  (it makes a great viewing display)  I would like to delete the ones I don't want and sync my iPad again so the I can place the photos I keep on a floppy.  But th

  • Copying Mail, Safari, Firefox Settings, etc. to new MacBook Air

    I'm getting my girlfriend a new 11" MacBook air for Christmas.  She now has an older white MacBook that has a dying display.  I want to set up the new Mac for her so everything is seamless. Most of this won't be a problem, since I know her administra

  • UCS management pack for SCOM

    I've installed the UCS management pack for Microsoft SCOM 2007 R2. It appears to be working, however I now keep seeing all computers that have the SCOM agent installed trying to run the cisco.ucs.computer.probeaction.vbs script, which fails and gener