How to use XML Anonymizer Module for receiver mail Adapter?

Hi All,
         I would like to know how to use XML Anonymizer Module for receiver mail adapter so as to change the namespace to http://sap.com/xi/XI/Mail/30 from my original namespace? Thank you all in advance?

Hi,
This may help u:
Replacing one namespace with another using XML Anonymizer Module
Thanks
Amit

Similar Messages

  • Replacing one namespace with another using XML Anonymizer Module

    I've following XML message
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Result xmlns:ns0="urn:source_namespace">
       <ns0:Function/>
       <ns0:r/>
    </ns0:Result>
    but I need to have a little bit different namespace (which do not exist in above message)
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Result xmlns:ns0="urn:target_namespace">
       <ns0:Function/>
       <ns0:r/>
    </ns0:Result>
    Any idea how to archieve this using  XML Anonymizer Module?

    Hi,
    You don't need a UDF to do this. Follow this...
    1. Edit the Message Type Result XML Namespace as urn:target_namespace from urn:source_namespace.
    2. Save this and activate it.
    3. In the Message Mapping go to edit and reload this new Message Type, save the changes and activate it.
    This blog How to remove namespaces in Mapping - XI By Sameer Shadab shows you hove to remove the namespace in you case you use the same to change the namespace
    Thanks
    SaNv...

  • When we use XML,XSD,WSDL files to create SOA webservices in jdeveloper ,what will happen means internally,how will useful xml ,xsd,wsdl for composite ?

    When we use XML,XSD,WSDL files to create SOA webservices in jdeveloper ,what will happen means internally,how will useful xml ,xsd,wsdl for composite ?
    How xml will send message to XSD then how wsdl interaction then to composite ?

    XSD (XML Schema Definition), is an abstract representation of a XML characteristics.
    The WSDL (Web Services Description Language), describes the functionality offered by your web service.
    You can say what operations your services offers, and describe the messages used for this operations in your XSD.

  • How to use BAPI function module for maintaing product type to material

    Hi,
    Can you pls suggest me how to use BAPI Fuction module CCAP_REV_LEVEL_MAINTAIN
    for maintaining the product type for the material using change number.
    Pts will be rewarded.
    Best Regards,
    Padhy

    Hi,
    Can you pls suggest me how to use BAPI Fuction module CCAP_REV_LEVEL_MAINTAIN
    for maintaining the product type for the material using change number.
    Pts will be rewarded.
    Best Regards,
    Padhy

  • Adapter Module for receiver IDOC adapter?

    Hi,
    I have a scenario where i need to do some custom logging in the receiver adapters. For all receiver file adapters, i have written an adapter module which fulfills this custom requirement but how will i do this in the receiver IDOC adapter as its on the ABAP stack? I cannot write a java adapter module for this.
    Is there anyway by which i can write a ABAP adapter mosule and deploy it in the IDOC adapter? Or any other way to achive it. the scenario is such that i need to do the logging before the idoc is posted into R/3 system by the idoc adapter.
    Please advice.
    Regards,
    Yash

    Hi Chirag,
    Yes i have seen that the module tab is disabled for idoc adapter. I have a fin interface where i need to split a incoming file into an idoc and a file. For this purpose i need to log how many records are received by each adapter and the sum of the line items for audit perspose.
    any othr way to do it apart from doing it in message mapping. The req is to do in the adapter engine.

  • How to enable viewing of payload for receiver RFC adapter in RWB

    HI All,
    We can see the payload of all adapters in RWB by clicking on the message link under component >> adapter monitoirng. However when i click on message link for receiver RFC adapter, it does not show any payload. How can I enable this payload?
    Regards

    Hey
    Sync messages are Cached rather than persisted in RWB to save memory.
    You need to change the following parameter in Visual admin to see sync messages in RWB
    Service SAP XI AF Messaging:
    messaging.syncMessageRemover.removeBody = false
    its set to True by default hence it does not stores the messages.
    You may have to restart the Java stack after the changes (but first try without restarting the Java stack).
    Thanks
    Aamir
    Pl:You will see the sync messages in Message Monitoring in RWB (not sure if it will show up in Communication channel monitoring as well)

  • SAP PI: Using Variable Header  Binding in Receiver Mail Adapter

    Hello,
    I try to use Variable Header Bindings in the Receiver Mail Adapter. Therefore I wrote the following User-Defined-Function in a mapping:
    Java Function Start -
    DynamicConfiguration conf = (DynamicConfiguration) container
        .getTransformationParameters()
        .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key1 = DynamicConfigurationKey.create(
        "http://sap.com/xi/XI/System/Mail",
        "XHeaderName1");
    DynamicConfigurationKey key2 = DynamicConfigurationKey.create(
        "http://sap.com/xi/XI/System/Mail",
        "XHeaderName2");
    DynamicConfigurationKey key3 = DynamicConfigurationKey.create(
        "http://sap.com/xi/XI/System/Mail",
        "XHeaderName3");
    conf.put(key1, new String("Test1"));
    conf.put(key2, new String("Test2"));
    conf.put(key3, new String("Test3"));
    Java Function End -
    As expected I see the Attributes and Parameters in the Dynamic Configuration in the SAP XI Monitor:
    Dynamic Configuration Informattion Start -
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Mapping der Request-Message
      -->
    - <SAP:DynamicConfiguration xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Record namespace="http://sap.com/xi/XI/System/Mail" name="XHeaderName3">Test3</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/Mail" name="XHeaderName2">Test2</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/Mail" name="XHeaderName1">Test1</SAP:Record>
      </SAP:DynamicConfiguration>
    Dynamic Configuration Informattion End -
    Now I configure my Receiver eMail Communication Channel and set the Variable Header Fields as follows:
       Adapter Specific Attributes: Checked
       Variable Transport Binding: Checked
       Variable Header (XHeaderName1): TSender
       Variable Header (XHeaderName2): TReceiver
       Variable Header (XHeaderName3): TOther
    With this configuration I would have expected three new Header fields in the Header of the eMail, the reicever gets. But they are not there.
    When I set standard attributes like THeaderTO, THeaderSubject a.s.o this works fine and the values are also set accordingly. Where it the mistake here?
    The PI version we are working with is PI 7.0 SP10.
    Your help will be highly appreciated.
    Thank you,
    Steffen

    Hi Luciana,
    Honestly, I cant really remember how or if it was resolved and I was just helping out on the issue, but another consultant continued with it, so unfortunately I cant be any help on this.
    Good luck!
    Cheers,
    Brad

  • Does anyone know how to use the bcc functionality for apple mail while accessing it on the cloud from my PC?

    I am currently away from my MAC and want to send an email through apple mail with the bcc functionality.  I am using the cloud to get to my mail, however, I can't figure out how to use the BCC functionality, please help.  Thanks!

    Open your mail,
    lower left corner click on settings,
    go to composing and check BCC, save and your done

  • Not renaming attachment xml file name in receiver mail adapter

    Hi,
    I receive SOAP from GRC and need send to Partner an email.
    I have  SOAP to MAIL scenario where an xml file is picked up and transformed and zipped into the target format in XI which has to be sent as an attachement in an email on the receiver side.
    I am getting the mail with the attachement. But I would like to rename the attachment as the name "NFE.XML" and the ZIP File as the name "nfe.zip"
    I am using MAIL adapter with Modules above.
    Number  Module Name                                                                          Module Type                       Module Key
    1             AF_Modules/PayloadSwapBean                                           Local Enterprise Bean        Transform
    2             AF_Modules/MessageTransformBean                                  Local Enterprise Bean        ContentType
    3             AF_Modules/PayloadZipBean                                                Local Enterprise Bean        zip
    4             sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean    Local Enterprise Bean        mail
    Module Configuration :
    Module Key                           Parameter Name                Parameter Value
    Transform                             swap.keyName                 payload-name
    Transform                             swap.keyValue                 NFE
    ContentType                         Transform.ContentType    application/xml; name="NFe.xml"
    zip                                         zip.filenameKey                ContentType
    zip                                         zip.mode                           zip
    I  am using transport protocol  "XIPAYLOAD" and set  "KEEP ATTACHMENTS"
    I have with result example above :
    Name from ZIP              :  PayloadName.zipu200E(4KB)u200E
    Name from attachment :  PayloadName
    Regards,
    Ricardo

    Hi Shobhit,
    The module tab of your mail adapter will look like this.
    Processing Sequence
    Module Name                                                            Type                                      Module Key
    localejbs/AF_Modules/MessageTransformBean   rename LocalEnterpriseBean     
    sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean  mail     Local EnterpriseBean     
    Module Configuration
       Module Key               Parameter Name             Parameter Value
          rename      Transform.ContentDescription                      File
          rename  Transform.ContentDescription  attachement;filename="yourfilename.ext"                                                          
          rename            Transform.ContentType                 application/text;name="yourfilename.ext"
    Thanks
    Amitanshu

  • How to use thunderbird on ipad for 2nd mail account without deleting mail from server

    want to monitor wifes ebay messages as it is my account too. her ebay account on different server than Gmail. want to be able to delete monitored messages from my Ipad 2 but not the server, which consequently deletes her mail before she gets it.

    ''jerdog [[#question-1041140|said]]''
    <blockquote>
    want to monitor wifes ebay messages as it is my account too. her ebay account on different server than Gmail. want to be able to delete monitored messages from my Ipad 2 but not the server, which consequently deletes her mail before she gets it.
    </blockquote>
    Thanks for the hint..

  • XML Anonymizer Module configuration

    I want to implement XML Anonymizer Module in my scenario. I am referring note 880173 for this
    Basically I want to change the file encoding from utf-8 to US-ASCII by using XML Anonymizer Module.
    When I configure the module as shown below.........I am getting the following error in communicaiton
    channel monitoring.
    Error: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at AF_MODULES, the whole lookup name is localejbs/AF_MODULES/XMLAnonymizerBean.
    Processing Sequence
    1-AF_MODULES/XMLAnonymizerBean-LocalEnterpriseBean---1
    2-CallSapAdapter-LocalEnterpriseBean---2
    Module Configuration
    1-anonmizer.encoding-US-ASCII
    Somebody could you plz hlep me how to configure the module ??
    Thanks
    kumar

    hi,
    For using this module you can refer to these two links instead of notes its really helpful:
    /people/stefan.grube/blog/2007/02/02/remove-namespace-prefix-or-change-xml-encoding-with-the-xmlanonymizerbean
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/bf37423cf7ab04e10000000a1550b0/frameset.htm
    localejbs/AF_MODULES/XMLAnonymizerBean.
    no need to write local ejbs here ,directly write AF_MODULES/XMLAnonymizerBean as module name.
    For : 1AF_MODULES/XMLAnonymizerBean-LocalEnterpriseBean-1,2-CallSapAdapter-LocalEnterpriseBean-2
    Give  module key 0 to -CallSapAdapter---LocalEnterpriseBean and
    1 to AF_MODULES/XMLAnonymizerBean---LocalEnterpriseBean
    hope it helps.reward for useful ans.
    regards,
    ujjwal kumar

  • Receiver mail adapter problem

    I am doing File -XI-Mail scenario.I am able to pickup the file but don't receive any mail.In RWB in communication channel monitoring I can see the error log for receiver mail adapter.The error is
    "failed to send mail: java.net.SocketException: Network is unreachable: connect"
    The configuration parameters I am using are:
    Transport Protocol:SMTP
    Message Protocol:XIALL
    URL:smtp://Outlook server host
    Userid:xxxxx
    PWD:xxxxxx
    I am at client network and the my outlook server is in my company network which we connect using VPN from client.Is this could be the reason for this error?
    Please let me know if someone has come across such error.
    Thanks,
    Rekha

    hi,
    >>>"failed to send mail: java.net.SocketException: Network is unreachable: connect"
    probably there's no communication between your XI server and mail server machine and XI server cannot access the mail server
    you need to report it to your network admin so it will allow the connection
    or he will set up a mail server on the XI server machine
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Receiver Mail Adapter - Mail body as attachment

    Hello friends,
    I have scenario = File -> XI  -> Mail
    The scenario is working but the problem is body of the email is coming as attachment in the mail client.(outlook express)
    Is there any way to avoid the body coming as attachment.
    Regards
    Ramesh P

    Hi Ramesh,
    You can use the MessageTransformBean in the receiver mail adapter for this.
    Refer this for the parameters which you can use
    http://help.sap.com/saphelp_nw04/helpdata/en/57/0b2c4142aef623e10000000a155106/content.htm
    Regards,
    Chandra

  • How do I import a module for script use?

    I have a script that uses the AD module for some operations. Here is the code:
    #04/24/2014
    #UsAer Logger
    #Author: Alexander Bazzi
    #Property of AerSale, Inc
    Import-Module ActiveDirectory
    $username=$env:username
    $computerName=$env:computername
    $userProperties = Get-ADUser $username
    $departmentOU = ($userProperties.DistinguishedName -split ',OU=')[1]
    $officeOU=($userProperties.DistinguishedName -split ',OU=')[2]
    $pathOutUser = "C:\Scripts\UsAer_Logger\Output\$officeOU\$departmentOU.txt"
    if(Test-Path $pathOutUser)
    $computerName >> $pathOutUser
    else {
    New-Item $pathOutUser
    $computerName >> $pathOutUser
    When I try to run it on PowerShell ISE, I get the following exception: 
    Import-Module : The following error occurred while loading the extended type da
    ta file: 
    Microsoft.PowerShell, C:\Windows\system32\WindowsPowerShell\v1.0\Modules\Active
    Directory\ActiveDirectory.Types.ps1xml : File skipped because it was already pr
    esent from "Microsoft.PowerShell".
    Microsoft.PowerShell, C:\Windows\system32\WindowsPowerShell\v1.0\Modules\Active
    Directory\ActiveDirectory.Types.ps1xml : File skipped because it was already pr
    esent from "Microsoft.PowerShell".
    Microsoft.PowerShell, C:\Windows\system32\WindowsPowerShell\v1.0\Modules\Active
    Directory\ActiveDirectory.Types.ps1xml : File skipped because it was already pr
    esent from "Microsoft.PowerShell".
    Microsoft.PowerShell, C:\Windows\system32\WindowsPowerShell\v1.0\Modules\Active
    Directory\ActiveDirectory.Types.ps1xml : File skipped because it was already pr
    esent from "Microsoft.PowerShell".
    Microsoft.PowerShell, C:\Windows\system32\WindowsPowerShell\v1.0\Modules\Active
    Directory\ActiveDirectory.Types.ps1xml : File skipped because it was already pr
    esent from "Microsoft.PowerShell".
    I tried running it without the Import-Module cmdlt, but it didn't recognize the Get-ADUser command. If you could shed some light on this, I'd really appreciate it!
    Many thanks in advance.
    Best,
    Alex

    You have two different copies of Active Directory module installed.
    Get-Module -list Act*
    See if there is a second version.  It is also possible that you are loading something in your profile that is loading those components.  Try start PowerShell with the -NoProfile switch then import AD.  If that works then inspect your profiles
    - all of them.,
    ¯\_(ツ)_/¯

  • How to keep same sender file name for receiver mail attachement

    Hi,
      i am working with File to Mail scanario. There i want to pick a flat file from native file system and then send it as email attachment. Now i am able to send the file but the flat is getting converted as an xml file. is there any method to keep the same sender file name and type for receiver mail attachment. i am not using any mail package. i am using XI payload and keep attachments.
    Thanks in advance.
    -Siva

    Hi,
    Yes,With out using the mail package u can send the Mail Attachments to the receiver side,
    In that case no need of Integration Repository objects.
    Chck this links.
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    /people/community.user/blog/2006/09/07/email-reporting
    /people/community.user/blog/2006/09/08/email-report-as-attachment-excelword
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    /people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
    If u dont get ur requirement then let me know ur Mail id i will send u a Doc.
    Regards,
    Phani
    Reward points if Helpful

Maybe you are looking for

  • Error while restoring back up

    Hi Team , Facing below error, while restoring in SQL.please help The media family on device 'C:\Test\fwsmall-12-3_supraekeybackup_virtusa.bak' was created using Microsoft Tape Format version 1.240. SQL Server supports version 1.0. Msg 3013, Level 16,

  • HT1551 Apple TV and Netflix

    When trying to watch Netflix episodes I keep getting this message:  "An error occured loading this content. Try again later."  My updates are up to date.

  • BW authorizations at report level

    hi, i have a requirement to restict user's access to certain cost centers on a report. i have created a new authorization object and switched on the reporting authorization on the cube for this object. i have created an authorization variable and thi

  • Installing RAC/ASM for OCP preparation

    Hello Fellow Forumites, I just passed OCA in 11g. Now I want to study for OCP. My approach has always been to take a self study, before registering for an instructor led class. To achieve this, I am currently using Sybex (Sybex OCP Oracle Database 11

  • I bought an album and a song on that album won't play.

      When I click play on the sock a notification comes up saying that my computer is not authorized to play this song.  I then put in my email and password to authorize it and it says my computer is authorized.  I click again on the song and it says I'