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

Similar Messages

  • 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

  • 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...

  • Anonymizer Module Processor - how to use ?

    Hi,
    I have a requirement where the incoming XML contains namespace prefixes that do not match the namespace prefix set on the XI definition.
    Therefore the message mapping does not work !
    I have seen a few thread recommending using the Anonymizer Module Processor to override the namespace prefixes.
    However, I cannot seem to get this to work on an message inbound to XI - it always seems to retain the namespace prefixes of the incoming message.
    I have added the followingto the module section of the SOAP adapter inbound channel:
    Module name - localejbs/AF_Modules/XMLAnonymizerBean
    Module type - Local Enterprise Bean
    Module key - namespace
    Module configuration:
    Module key - namespace
    Parameter name - anonymizer.acceptNamespaces
    Parameter value - 'http://schemas.xmlsoap.org/soap/envelope/' ns0 'http://tempuri.org' ns0 'java:com.xerox.hc.registration.event' ns0
    The incoming XML looks like this:
    <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
    - <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    - <env:Body env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    - <m:getRegistrationEventQueryResponse xmlns:m="http://tempuri.org/">
    - <result xmlns:n1="java:com.xerox.hc.reg2.registration.event" soapenc:arrayType="n1:RegistrationEventJB[9]">
    - <RegistrationEventJB xsi:type="n1:RegistrationEventJB">
    - <cleanSerialNumber soapenc:arrayType="xsd:string[1]">
      <string xsi:type="xsd:string">KN0025428</string>
      </cleanSerialNumber>
    - <clientId soapenc:arrayType="xsd:string[1]">
      <string xsi:type="xsd:string">KN0025428</string>
      </clientId>
      <clientType xsi:type="xsd:string">Device</clientType>
      <eventDate xsi:type="xsd:dateTime">2007-01-23T12:33:58.318-05:00</eventDate>
      <eventType xsi:type="xsd:string">SerialNumberChange</eventType>
      </RegistrationEventJB>
    - <RegistrationEventJB xsi:type="n1:RegistrationEventJB">
    - <cleanSerialNumber soapenc:arrayType="xsd:string[1]">
      <string xsi:type="xsd:string">TFN702031</string>
      </cleanSerialNumber>
    - <clientId soapenc:arrayType="xsd:string[1]">
      <string xsi:type="xsd:string">TFN702031</string>
      </clientId>
      <clientType xsi:type="xsd:string">Device</clientType>
      <eventDate xsi:type="xsd:dateTime">2007-01-23T13:00:27.449-05:00</eventDate>
      <eventType xsi:type="xsd:string">SerialNumberChange</eventType>
      </RegistrationEventJB>
    - <RegistrationEventJB xsi:type="n1:RegistrationEventJB">
    - <cleanSerialNumber soapenc:arrayType="xsd:string[1]">
      <string xsi:type="xsd:string">PSG000002</string>
      </cleanSerialNumber>
    - <clientId soapenc:arrayType="xsd:string[1]">
      <string xsi:type="xsd:string">PSG000002</string>
      </clientId>
      <clientType xsi:type="xsd:string">Device</clientType>
      <eventDate xsi:type="xsd:dateTime">2007-01-23T17:55:13.067-05:00</eventDate>
      <eventType xsi:type="xsd:string">Deregistration</eventType>
      </RegistrationEventJB>
    - <RegistrationEventJB xsi:type="n1:RegistrationEventJB">
    - <cleanSerialNumber soapenc:arrayType="xsd:string[1]">
      <string xsi:type="xsd:string">RKR000002</string>
      </cleanSerialNumber>
    - <clientId soapenc:arrayType="xsd:string[1]">
      <string xsi:type="xsd:string">RKR000002</string>
      </clientId>
      <clientType xsi:type="xsd:string">Device</clientType>
      <eventDate xsi:type="xsd:dateTime">2007-01-23T18:53:42.629-05:00</eventDate>
      <eventType xsi:type="xsd:string">Deregistration</eventType>
      </RegistrationEventJB>
    - <RegistrationEventJB xsi:type="n1:RegistrationEventJB">
    - <cleanSerialNumber soapenc:arrayType="xsd:string[1]">
      <string xsi:type="xsd:string">RKR000002</string>
      </cleanSerialNumber>
    - <clientId soapenc:arrayType="xsd:string[1]">
      <string xsi:type="xsd:string">RKR000002</string>
      </clientId>
      <clientType xsi:type="xsd:string">Device</clientType>
      <eventDate xsi:type="xsd:dateTime">2007-01-23T18:54:40.235-05:00</eventDate>
      <eventType xsi:type="xsd:string">Registration</eventType>
      </RegistrationEventJB>
    - <RegistrationEventJB xsi:type="n1:RegistrationEventJB">
    - <cleanSerialNumber soapenc:arrayType="xsd:string[1]">
      <string xsi:type="xsd:string">KMM010309</string>
      </cleanSerialNumber>
    - <clientId soapenc:arrayType="xsd:string[1]">
      <string xsi:type="xsd:string">KMM-010309</string>
      </clientId>
      <clientType xsi:type="xsd:string">ProxyDevice</clientType>
      <eventDate xsi:type="xsd:dateTime">2007-01-23T19:00:56.574-05:00</eventDate>
      <eventType xsi:type="xsd:string">Registration</eventType>
      </RegistrationEventJB>
    - <RegistrationEventJB xsi:type="n1:RegistrationEventJB">
    - <cleanSerialNumber soapenc:arrayType="xsd:string[1]">
      <string xsi:type="xsd:string">DLC010061</string>
      </cleanSerialNumber>
    - <clientId soapenc:arrayType="xsd:string[1]">
      <string xsi:type="xsd:string">DLC0100615CA</string>
      </clientId>
      <clientType xsi:type="xsd:string">ProxyDevice</clientType>
      <eventDate xsi:type="xsd:dateTime">2007-01-24T15:29:59.268-05:00</eventDate>
      <eventType xsi:type="xsd:string">Deregistration</eventType>
      </RegistrationEventJB>
    - <RegistrationEventJB xsi:type="n1:RegistrationEventJB">
    - <cleanSerialNumber soapenc:arrayType="xsd:string[1]">
      <string xsi:type="xsd:string">DLC010061</string>
      </cleanSerialNumber>
    - <clientId soapenc:arrayType="xsd:string[1]">
      <string xsi:type="xsd:string">DLC0100615CA</string>
      </clientId>
      <clientType xsi:type="xsd:string">ProxyDevice</clientType>
      <eventDate xsi:type="xsd:dateTime">2007-01-24T15:40:37.123-05:00</eventDate>
      <eventType xsi:type="xsd:string">Registration</eventType>
      </RegistrationEventJB>
    - <RegistrationEventJB xsi:type="n1:RegistrationEventJB">
    - <cleanSerialNumber soapenc:arrayType="xsd:string[1]">
      <string xsi:type="xsd:string">TFN702031</string>
      </cleanSerialNumber>
    - <clientId soapenc:arrayType="xsd:string[1]">
      <string xsi:type="xsd:string">TFN702031</string>
      </clientId>
      <clientType xsi:type="xsd:string">ProxyDevice</clientType>
      <eventDate xsi:type="xsd:dateTime">2007-01-25T10:30:02.660-05:00</eventDate>
      <eventType xsi:type="xsd:string">Deregistration</eventType>
      </RegistrationEventJB>
      </result>
      </m:getRegistrationEventQueryResponse>
      </env:Body>
      </env:Envelope>
    All namespace prefixes need to be overridden to ns0 but with the configuration I have added this is not working.
    Any ideas what I am missing or have configured incorrectly ?
    Kind regards
    Colin.

    Hi Colin,
    There is no matter how the namespace prefixes are called. If you have ns0 or t is no difference.
    The problem why the mapping is not working is the difference between prefixed namespaces like this:
    <m:getRegistrationEventQueryResponse xmlns:m="http://tempuri.org/">
    and non-prefixed namespaces like this:
    <result xmlns:n1="java:com.xerox.hc.reg2.registration.event">
    With the IR you can only create message types with one prefixed namesspace. It is not possible to create a message structure as you need inside the IR.
    You have to create the WSDL externally and upload as external definition to the IR. Let BizTalk create the WSDL.
    If this is not possible, you should XSLT for mapping.
    Regards
    Stefan

  • Parameter name in module configuration of adapter module in comm channel

    Hi Experts,
    I have developed an adapter module to read a excel file , have used the module in the sender file adapter.
    What entrie should i put in parameter name and parameter value  in module configuration of adapter module in comm channel.
    Im too confused,,pls help

    Hi Ivan,
    The code is basically to read the all colums add em under xml tags and read from second row on wards the data
    please find below the module data code
    public ModuleData process(ModuleContext mc, ModuleData imd)throws ModuleException
                             Object obj = null;
                             Message msg = null;
                             MessageKey amk = null ;
                        amk = new MessageKey(msg.getMessageId(),msg.getMessageDirection());
                        Audit.addAuditLogEntry(amk, AuditLogStatus.SUCCESS,"Module called");
                        try {
                                  obj = imd.getPrincipalData();
                                  msg = (Message) obj;
                                  XMLPayload xp = msg.getDocument();
                                  if (xp != null)
                                        byte by[] = convert(xp.getContent());
                                             xp.setContent(by);
                                       imd.setPrincipalData(msg);
                              catch (Exception e)
                    return imd;
                   public byte[] convert(byte src[]) throws Exception
                        String xmldata = "";
                   try
                             ByteArrayInputStream byteArr = new ByteArrayInputStream(src);
                             Workbook w = Workbook.getWorkbook(byteArr);
                             xmldata ="<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n"+ "<ns0:""MT_ExcelFiles"" ""xmlns:ns0=\"""urn:xyz:abc"+"\"> \n";
                               int a = w.getSheet(0).getRows();
                               int b = w.getSheet(0).getColumns();
                        for(int j=1;j<a;j++)
                                   for(int i=0;i<b;i++)
                                                  xmldata = xmldata + "<"w.getSheet(0).getCell(i,0).getContents().toString()">"w.getSheet(0).getCell(i,j).getContents().toString()"</"w.getSheet(0).getCell(i,0).getContents().toString()">";
                        xmldata = xmldata"</ns0:""MT_ExcelFiles"+">";
                        w.close();
              catch (Exception e)
           return xmldata.getBytes();

  • Mail adapter and MessageTransformBean module configuration issue

    Hi All,
    I am trying to use module configuration in Receiver Mail adapter. Below is my configuration. (We are using SAP PI 7.11)
    Parameter/General tab:
    Message Protocol : XIPAYLOAD
    Use Mail package option is selected.
    Content Encoding = none
    Module tab:
    Processing Sequnce:
    AF_Modules/MessageTransformBean  : XSLT
    sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean : mail
    Module Configuration:
    XSLT    Transform.Class                        com.sap.aii.af.sdk.xi.adapter.XSLTConversion
    XSLT    Conversion.XSLTFileName     /tmp/GL_POST_RESPONSE_EMAIL.xsl
    XSL works outside of PI . However, when i test with a message, I am seeing following errors in Runtime workbench:
    Please let me know what could be wrong in the above configuration
    23.03.2011 15:24:39 Information MP: processing local module localejbs/AF_Modules/MessageTransformBean
    23.03.2011 15:24:39 Information Transform: using Transform.Class: com.sap.aii.af.sdk.xi.adapter.XSLTConversion
    23.03.2011 15:24:39 Error Transform: Transformer Conversion1.0.0610 Error initializing XSLT Mode:; caused by javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
    23.03.2011 15:24:39 Information Transform: transforming the payload ...
    23.03.2011 15:24:39 Error Transform: failed to execute the transformation: com.sap.aii.af.sdk.xi.adapter.trans.TransformException: Error converting Message; nested exception caused by: java.lang.NullPointerException: while trying to invoke the method javax.xml.transform.Templates.newTransformer() of an object loaded from local variable templates
    23.03.2011 15:24:39 Error MP: exception caught with cause com.sap.aii.af.sdk.xi.adapter.trans.TransformException: Error converting Message; nested exception caused by: java.lang.NullPointerException: while trying to invoke the method javax.xml.transform.Templates.newTransformer() of an object loaded from local variable 'templates'
    23.03.2011 15:24:39 Error Adapter Framework caught exception: Error converting Message
    23.03.2011 15:24:39 Error Delivering the message to the application using connection Mail_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.sdk.xi.adapter.trans.TransformException: Error converting Message; nested exception caused by: java.lang.NullPointerException: while trying to invoke the method javax.xml.transform.Templates.newTransformer() of an object loaded from local variable 'templates'.

    Hi All,
    Issue has been resolved. There was some minor issue in the XSL. The XSL Stylus studio was not reporting this as an error. However PI's XSL engine was reporting that error. This error message was not showing up in runtime workbench. However, when i looked at the default trace, there were few more errors. After fixing the XSL, I am able to received the email
    Thanks
    -Pradeep

  • PI SFTP RECEIVER ADAPTER MODULE CONFIGURATION

    Hi,
    I am new in SFTP adapter. I want to transfer file from proxy to SFTP. I want to output file is in csv format. But now it is in  xml format.
    Please help me!!!
    My module configuration is in attachment..

    Hi
    I have got the problem. You have to modify your target structure in the below format
    <row>
    <column-name1>ABC</column-name1>
    <column-name2>12345</column-name2>
    <column-name3>Text1</column-name3>
    </row>
    Create any parent node and inside that create the sub-eliment STATUS and USERID
    something like
    MT_Succefactor
       <record>
       <STATUS>
       <USERID>
        </record
    Then you will get the desired output. Use the below content conversion paramters

  • Receiver Module Configuration Issue

    Hi All,
    I have done the following Module Configuration in Receiver JMS Adapter, but facing issue in the Length of the Flat File received in JMS.
    it is having only 512 characters, i got clue that is because of   localejbs/SAP XI JMS Adapter/ConvertMessageToBinary.
    Binary can accept only 512 characters.
    I  need convert the message to TEXT. Please help me on this.
    Processing Sequence
    1                  localejbs/AF_Modules/MessageTransformBean            Local Enterprise Bean                          XML2Plain
    2                  localejbs/SAP XI JMS Adapter/ConvertMessageToBinary   Local Enterprise Bean                          convert_XI2Bin
    3                  localejbs/SAP XI JMS Adapter/SendBinarytoXIJMSService  Local Enterprise Bean     exit
    Module Configuration.
    XML2Plain     Transform.Class     com.sap.aii.messaging.adapter.Conversion
    XML2Plain     Transform.ContentType     text/plain;charset=utf-8
    XML2Plain     xml.addHeaderLine     0
    XML2Plain     xml.conversionType     SimpleXML2Plain
    XML2Plain     xml.endSeparator     'nl'
    XML2Plain     xml.fieldFixedLengths     10,15,10,10,15,13,13,13,15,2,30,1,10,10,10,10,8,10,10,10,8,11,11,3,3,1,1,15,10,15,1,30,15,15,10,8,15,10,10,15,15,4,8,1,2,8,35,11,10,10
    XML2Plain     xml.fixedLengthTooShortHandling     Cut
    exit     JMSMessageType     Text
    Regards,
    R.Ragu

    Hi Ragu,
    Can you please elaborate on this issue a bit more...?
    The Module Configuration looks fine to me.....
    Thanks
    Dhwani

  • Debugging JMS adapter with Module Configuration

    Hi.
    I have a problem debugging my JMS adapter with module configuration.
    All I get from the Message Monitor is a status "System Error", and no error category or error message.
    I know there's an error in my Module configuration design, since it works fine without.
    My configuration looks like this:
    PROCESSING SEQUENCE:
    1     localejbs/AF_Modules/MessageTransformBean     Local Enterprise Bean     XML2Plain
    2     localejbs/SAP XI JMS Adapter/ConvertMessageToBinary     Local Enterprise Bean     convert_XI2Bin
    3     localejbs/SAP XI JMS Adapter/SendBinarytoXIJMSService     Local Enterprise Bean     exit
    MODULE CONFIGURATION:
    XML2Plain     Transform.Class     com.sap.aii.messaging.adapter.Conversion
    XML2Plain     Transform.ContentType     text/plain;charset=utf-8
    XML2Plain     xml.conversionType     StructXML2Plain
    XML2Plain     xml.addHeaderLine     0
    XML2Plain     xml.recordsetStructure     STARTRECORD,DATARECORD,SERVICEYDELSERRECORD,SLUTRECORD
    XML2Plain     xml.STARTRECORD.fieldFixedLengths     2,8,6,7,10,7,3,3
    XML2Plain     xml.DATARECORD.fieldFixedLengths     2,8,6,4,35,17,7,7,7,5,5,5,18,18,18,18,18,18,18,18,18,9
    XML2Plain     xml.SERVICEYDELSERRECORD.fieldFixedLengths     2,8,6,4,3,20,18,18,18
    XML2Plain     xml.SLUTRECORD.fieldFixedLengths     2,8,6,7,10,7
    XML2Plain     xml.STARTRECORD.fixedLengthTooShortHandling     Cut
    XML2Plain     xml.DATARECORD.fixedLengthTooShortHandling     Cut
    XML2Plain     xml.SERVICEYDELSERRECORD.fixedLengthTooShortHandling     Cut
    XML2Plain     xml.SLUTRECORD.fixedLengthTooShortHandling     Cut
    The structure of the message looks like this:
    <STARTRECORD> (occurence = 1)
    <DATARECORD> (occurence = 1..unbounded)
    --- <SERVICEYDELSERRECORD> (occurence = 0..unbounded)
    <SLUTRECORD> (occurence = 1)
    I've crosschecked every field, and it length and all looks like it should!
    The worst part is the one not getting the reason why it fails. Any way I can get this information?
    I've tried to look in the Adapter Framework log, but I have no clue where to look for anything usefull.
    Help
    Regards Peter

    Hello,
    Below is the module configuration in my JMS sender channel:
    Check Message          Local Enterprise Bean          key
    ConvertJMSMessageToBinary      Local Enterprise Bean      convert_JMS2Bin
    ConvertBinaryToXMBMessage     Local Enterprise Bean      convert_Bin2XI
    CallSapAdapter                Local Enterprise Bean          call_AF_MS
    CheckMessage is a custom module which does some check on the incoming message.
    Now what I want to know is at which position should I include the DynamicConfiguration Bean? Should it be included at position 1 or at position 2 or someother position?
    ~Thanks.

  • Reg Sender AS2 module configuration for text file

    Hi Experts,
    I am working on an inbound scenario where Sender is AS2 and Receiver is SAP system in PI7.4. The Sender Trading Partner is Sending a text file which should be converted to xml. I have added the module parameter localjbs/PlainConverterModule .It is throwing the error as per the attached file.
    Could anyone please guide me on this issue. Also Please let me know whether any configuration needs to be set in EDI content Manager.
    Cheers,
    Neethu

    Hi Neethu,
    according to the b2b help the module is used to convert EDIFACT message standards into XML. I your case you have flat file comming from AS2. you can use message transform bean to convert flat file to XML in sender as2 adapter. Or you need to define ED XML converter. Please refer the below link
    SAP PI: Using the B2BADDON EDI<>XML Convertor Modules - Basics
    You configure the communication channels of any Process Integration adapter with the PLAIN-XML converter module to convert business documents encoded in EDIFACT message standards into XML and the other way round. It must be configured in the sender and receiver channels based on the business scenario. The PLAIN-XML converter module runs on the SAP NetWeaver Process Integration Adapter framework.
    You use this procedure to configure the parameters of the PLAIN-XML converter module.
    source - Configuring the PLAIN-XML Converter Module - SAP NetWeaver Process Integration, business-to-business add-on 1 - SAP Libr…
    regards,
    Harish

  • Seeburger module configuration

    We are using this module configuration for converting EDI D96A format to XML:
    1     localejbs/CallBicXIRaBean     Local Enterprise Bean     bic
    2     localejbs/CallSapAdapter     Local Enterprise Bean     0
    bic     destSourceMsg     MainDocument
    bic     destTargetMsg     MainDocument
    bic     logAttID     ConverterLog
    bic     mappingName     See_E2X_ORDERS_UN_D96A
    bic     saveSourceMsg     ORIGINAL_EDI
    can someone please tell me the module configuration for reverse mapping at receiver end,i.e.,XML to EDI D96A
    basically,I need mapping name for this.
    Thanks.
    Best Regards,
    Shweta

    HI,
    Configuration for AS2 or simple file adapter.
    Scheme=AS2ID
    Name = WAN network no of the partner who is sending the file
    Sender AS2 adapter configuration:
    Few changes in the module parameter tab.
    localejbs/CallBicXIRaBean bic
    CallSapAdapter 0
    Module configuration:
    bic= destSourceMsg = MainDocument
    bic= destTargetMsg = MainDocument
    bic= mappingName= See_E2X_EDIFACT_ORDERS_UN_D93A which does the conversion of EDI-XML.
    Receiver AS2 adapter configuration:
    When the adapter is used in a receiver channel, it obtains a message from the Integration Engine and sends it to a business partner. In this case, the following steps are required:
    1. Define the channel as a Receiver channel on the Parameters tab
    2. The last step ensures the module sequence is complete:
    Make sure the module ModuleProcessorExitBean does exist in the module sequence:
    Module Name=localejbs/ModuleProcessorExitBean
    Type=L
    Module Key=Exit
    • with the following module parameter:
    Module Key=Exit
    Parameter Name=JNDIName
    Parameter Value=deployedAdapters/SeeXIAS2/shareable/SeeXIAS2
    File receiver:
    localejbs/CallBicXIRaBean bic
    CallSapAdapter 0
    Module configuration:
    bic= destSourceMsg = MainDocument
    bic= destTargetMsg = MainDocument
    bic= mappingName= See_X2E_EDIFACT_ORDERS_UN_D93A
    ONly the mapping program name changes from E2X to X2E. IN ur case it will be See_X2E_ORDERS_UN_D96A
    thnx
    chirag

  • Opinion: best way to do module configuration in jsf?

    Hi all,
    I am building modules for a webapp as jar files which basically contain facelet templates, navigation rules, beans and other jsf goodies.
    One problem with this is how to do module configuration when the webapp is started. Since the module can't modify web.xml to add a startup listener, I need another way.
    So far, my best idea is to create a PhaseListener and use Lifecycle.removePhaseListener to deregister it as soon as it has run once. I'm just wondering... is there a better way?
    Cheers,
    Roger

    I see, so Thread.sleep is indeed the way to go?I'd use Timer, but there's no reason why Thread.sleep shouldn't work.
    Re the crash, there's no stacktrace at all. I usually
    run it, and then leave it... and after random time
    (hours), it just stops without any exception.
    Are you starting it from the command line with java whatever...? If so, and you're getting no stacktrace, then either it's ending cleanly because you told it to, or you're smothering an exception with something like catch (Exception exc) {
        // do nothing
    }

  • File Adapter-Module configuration

    Hi All,
    I have the following requiremnt.
    "Duplicate files should not process"
    Following are the File Access Parameters.
    Source Directory: ABC (ex: contains aa1,aa2,aa3,aa4 files)
    Filename: *
    File name mask: aa*
    My doubt is if they place aa1 file again in ftp , i should not process.
    For this I'm thinking to write module configuration.
    Can any one suggests , whether this is the correct approach? If it is could u explain how to write this module and where to write this module and how to import in xI, do i need to pass any parameter name in module configuration.
    Regards,
    venu.

    Hi Venu,
    You can go with Module in the Sender File Adapter.
    First you need to check the file name and you need to store this file name in the Database.( you can use Java Database).
    If there is an entry in the database for that file, then reject the whole file as per the business requirement. So that you can avoid , overhead of Mapping. Because if there is an error set the flag in the message and check this flag in your Receiver Determination, if it is an error send into error directory.
    Another way is outside the XI, i.e using shell scripts.
    Regards,
    Moorthy

  • Adapter module configuration

    The message that reaches the file receiver channel is
    <EDI_DC40>
                  structure1
    </EDI_DC40>
    <EK1NA1M>
                  structure 2
    </EK1NA1M>
                 So i wanna write a module configuration which will rename the first tag as <ek1na1m>. Plz help

    Hi Sumaya,
    you are creating the adapter module using the document i told or not...
    if you are using that document, then see in the process method you will write all your code......you will take the message as a string........then you can manipulate your string as you want - means you can rename your node..........then you can set this string as your XMLpayload.....
    Thanks,
    Rajeev Gupta

  • File Adpater Module Configuration

    I have a scenario where i need to send the file to webservices,the file is in xsd:base64 binary format,the file is getting splitting up in the moni inbound message payload,I think this can be rectified by using module conifguration in file adapter by using tranform beam & converting to base64 binary,Can any one please tell me how to use processing sequence & module configuration for base 64 binary.....
    Advance thanks for your help
    Sriram

    Hi,
    Check this blog
    /people/sap.user72/blog/2005/07/15/copy-a-file-with-same-filename-using-xi
    HowToGuide-
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3bdc14e1-0901-0010-b5a9-a01e29d75a6a
    Regards,
    Moorthy
    Message was edited by: Krishna Moorthy P

Maybe you are looking for

  • Firefox does not load embedded google calendar month view (2014)

    Recently (first complaint today), all of our embedded google calendars on our site stopped loading in Firefox browsers. Specifically, it is the month view. The calendar actually loads and the contents can be seen on agenda and week views. However, Mo

  • Need to calculate the number of records in an XML file

    I need to find out how many records I have in an XML file. The file resides on a unix server and before doing anything with, i need to insert the record count into a separate table. Is there any function or procedure that can achieve this?

  • Error in configuring apache plug in with weblogic 8.1.5

    I tried to configure Apache 2.2 plugin with weblogic 8.1 SP 5 in Linux ES 4.0 . I am getting the following error while loading weblogic_module in httpd.conf file in Apache server (restarting apache server after putting entries in httpd.conf).. The er

  • Step-by-Step procedure to create an InfoPackage Group & a Scenario!!

    Hello BW Experts, IF we have 10 InfoPackages and if we need to create an InfoPackage Group for 7 of them, How do we do it?? Plz provide a detailed Step-by-Step procedure for the same/ create an InfoPackage group!! Ur help is really appreciated!! Than

  • Airport keep disconnecting every few minutes

    Hi, I don't know why, but my airport keeps disconnecting every few minutes, although it reconnects after that. I'm sure there's no problem with my router since other PCs in my home are fine. It's totally fine when I use my windows in the macbook (via