Adapter module not working

Hi to all,
I have written a custom adapter module that I use in a sender channel. I have deployed the EJB with NWDS. However, the module seems to be ignored from the adapter. Why? Can anyone suggest me?
Thanks!

Have you put the module at first place in the module chain?
Are you working with SOAP adapter? The sender SOAP adapter does not support customer modules.
Add some lines to your code to write anything to the audit log to make sure, that the module is called correctly.
Regards
Stefan

Similar Messages

  • Adapter Module not working in Sender Communication Channel working in recie

    Hi
    I have written one adapter module. IF i give that Adapter Module in Sender Communication channel its not working. If i give that in Reciever Communication Channel its working. If i mention in both the channels then its working in sender communication channel also.But in only sender communication channel its not working in only reciever communication channel its working Can any one tell me why its happening
    Thanks & Regards
    Ravi Shankar B
    Message was edited by:
            RaviShankar B
    Message was edited by:
            RaviShankar B
    Message was edited by:
            RaviShankar B

    hi
    if its problem with my code why its working if i give the adapter module in both the communication channels?If i give in only sender communication channel the module is not invoking. its not showing any auditlogs.Can any one please help me
    OUTBOUND is for sender
    INBOUND is for reciever right.?
    the following code i have written
    public ModuleData process(
              ModuleContext moduleContext,
              ModuleData inputModuleData)
              throws ModuleException {
              String SIGNATURE =
                   "process(ModuleContext moduleContext, ModuleData inputModuleData)";
              Object obj = null;
              Message msg = null;
              String filename = null;
              AuditMessageKey amk = null;
              try {
                   obj = inputModuleData.getPrincipalData();
                   msg = (Message) obj;
                   System.out.println("&&&&&&&&&&&&&&&&&" + msg);
                   if (msg.getMessageDirection().equals(MessageDirection.OUTBOUND)){
                        amk = new AuditMessageKey(msg.getMessageId(),AuditDirection.OUTBOUND);
                        Audit.addAuditLogEntry(amk,AuditLogStatus.SUCCESS,">>>>>>>>>>>>>>> etHostName: Module called"+ i++);
                   }else{
                        File filename1 = new File("
    10.7.1.43
    XI
    source","text.txt");
                        filename1.createNewFile();
                        amk = new AuditMessageKey(msg.getMessageId(),AuditDirection.INBOUND);
                        Audit.addAuditLogEntry(amk,AuditLogStatus.SUCCESS,">>>>>>>>>>>>>>> etHostName: Module called"+ i++);
                   System.out.println("**************" + amk + "***********");
              } catch (Exception e) {
                   Audit.addAuditLogEntry(amk,AuditLogStatus.SUCCESS,">>>>>>>>>>>>>>> GetHostName: Error Module called");
                   e.printStackTrace(System.err);
                   ModuleException me = new ModuleException(e);
                   throw me;
              // Read the channel ID, channel and the module configuration
              try {
                   Hashtable mp = (Hashtable)inputModuleData.getSupplementalData("module.parameters");
                   if(mp != null){
                        filename = (String)mp.get("FileName");
                        Audit.addAuditLogEntry(amk,AuditLogStatus.SUCCESS,"Host >>>  Element Name is set to {0}"+filename );
                   }else{               
                        Audit.addAuditLogEntry(amk,AuditLogStatus.WARNING,"HostElementName parameter is not set. Default used: HostName.");
                        filename = "FileName";
              } catch (Exception e) {
                   e.printStackTrace(System.err);
                   Audit.addAuditLogEntry(amk,AuditLogStatus.ERROR,"Cannot read the module context and configuration data");
                   ModuleException me = new ModuleException(e);
                   throw me;
              try {
                   XMLPayload xmlpayload = msg.getDocument();
                   DocumentBuilderFactory factory;
                   factory = DocumentBuilderFactory.newInstance();
                   DocumentBuilder builder = factory.newDocumentBuilder();
                   Document document =
                        builder.parse((InputStream) xmlpayload.getInputStream());
                   Element rootNode = document.getDocumentElement();
                   if (rootNode != null) {
                        Element childElement = document.createElement("filename");
                        childElement.appendChild(document.createTextNode(filename));
                        rootNode.appendChild(childElement);
                   // Transforming the DOM object to Stream object.
                   TransformerFactory tfactory = TransformerFactory.newInstance();
                   Transformer transformer = tfactory.newTransformer();
                   Source src = new DOMSource(document);
                   ByteArrayOutputStream myBytes = new ByteArrayOutputStream();
                   Result dest = new StreamResult(myBytes);
                   transformer.transform(src, dest);
                   byte[] docContent = myBytes.toByteArray();
                   if (docContent != null) {
                        xmlpayload.setContent(docContent);
                        inputModuleData.setPrincipalData(msg);
              } catch (Exception e) {
                   e.printStackTrace(System.err);
                   Audit.addAuditLogEntry(amk,AuditLogStatus.ERROR,"Cannot read the module context and configuration data");
                   ModuleException me = new ModuleException(e);
                   throw me;
              return inputModuleData;
    Best Regards
    Ravi Shankar B
    Message was edited by:
            RaviShankar B
    Message was edited by:
            RaviShankar B

  • Sender Adapter Module Not Working

    Hi,
    I have changed an existing Sender Adapter Module code and deployed using SDM.
    It was working fine but after some days it is not working as designed. Say for an example, the number of pipes(|) in each record is one less than usual number of pipes. It does not say any error in module but in my java mapping raising GENERIC Exception.
    I had the same problem in Dev and now I am facing the same in QA.
    When I checked the standalone code it is working fine. Any reason for this anomalous behavior?
    Regards,
    Manikandan R

    Hi,
    Could you give us more details about : your coding, input sample when error is raised ?
    That'd help a lot
    Chris

  • Ac power adapter is not working

    i bought this item apox. 9/10 months ago from Tesco so i dont know if i have any cover?
    HP Photosmart Plus All-in-One Printer - B209a
    ac power adapter is not working and i ready own hp printers and dont want to have to splash out on another.
    please help... 
    This question was solved.
    View Solution.

    Hi,
    You should still be under warranty, but if not you should be able to buy one from HP Parts Surfer.
    I hope this helps
    JonW
    I work for HP

  • Apple av adapter does not work after updating ios 5,01

    apple av adapter does not work after ios 5,01. no video on vga monitor. sound goes out on iphone 4 also.

    Thank you for your interest. Last night i tried again. It worked. there is still problem, so i could find out it that monitor is going to power saving mode then voice goes out and no view on monitor. I changed the power saving settings. And worked well. Thnx again.

  • Function Module not working for old Role

    Dears
    Function Module not working for old Role
    Function Module: /VIRSA/BAPI_AE_USERS_FOR_ROLES
    Before EHP4 upgrade this functional module working fine, but after updated users are not visible.
    We have chekced if the users are assigned directly users are visible but indirect (Position Based) assignment users are not apprearing.
    Pl check the fucntion module with given roles below and identify the root cause,
    EP_TRVL_ALL_CAB     - Old Role
    EP_TRN_TRVL_DRGC_V2 - New Role
    Regards
    Krishna Mohan CH
    9704500717

    Krishna,
    I do not think this BAPI is meant to be called by anyone but the application using it, and its functionality may therefore change without notice.
    What are you trying to achieve? Maybe there's a better way to do that...
    Frank.

  • AC adapter light not working

    When charging my Macbook Pro sometimes the indicator LED light doesn't come on at all.  Everytime I checked when the LED isn't working the computer still charges, but I am not sure if when I leave it sometimes if it is charging correctly since the LED doesn't work periodically.  I am also wondering if this is an issue with the adapter, rather then the actual computer port.  If it is the computer port I don't feel comfortable with sending it out for repairs if its just a small issue.  I guess what I am trying to see is if anyone else has experienced this issue.  I would much rather go to the apple store and recieve a new adapter, and if the issue persists I can send it in for repairs.  Please if anyone has experience with the same trouble I have had let me know.  Thank you in advance.
    -Andrew

    May be the adapter is not working properly.
    Take the MBP and MagSafe/Power Adapter to the Apple store  for evaluation.
    For:
    The MagSafe power adaptor LED doesn't appear to indicate the correct activity.
    Reset SMC.  http://support.apple.com/kb/HT3964
    Choose the appropriate method.
    Best.

  • Laptop adapter in not working

    laptop 420  se.mo-5CG10706HG
    this laptop charger is not working

    Hi
    Please call HP Technical support check your warranty incase your sure the Adapter is not working get it replaced.
    Let us know how it goes!
    "I work for HP."
    ****Click the (purple thumbs up icon in the lower right corner of a post) to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    Regards
    Manjunath

  • Windows 8 Wireless Adapter do not work?

    Well, i just installed windows 8 but my wireless adapter do not work ;(! I have a hp 802.11b/g wireless network adapter!  I got an HP Pavilion a6023.sc stationary PC! Please help asap!
    //Kevin
    This question was solved.
    View Solution.

    Hi:
    This is the only thing that I can think of that will work...see if manually installing the Vista 64 bit driver works on W8.
    Run this driver.  If it installs automatically, great.  If not...
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=pv-65991-1&cc=us&dlc=en&lc=en&...
    Go to the device manager and click on the network controller needing drivers.
    Click on the driver tab.  Click on Update Driver.  Select the Browse my computer for driver software option and browse to the driver folder that was created when you ran the file.
    That folder will be located in C:\SWSetup\sp34931.  Make sure the Include Subfolders box is checked and see if the driver installs that way.

  • How do i know whether my adapter module is working or not?

    Hi
    I have written one Adapter Module and i have given that module in Communcation Channel.
    1.How do i know whether my module is working or not.
    2.How do i atleast my adpater module is calling or not?
    Please help me its very urgent
    Best Regards
    Ravi Shankar B

    Hi Ravi Shankar,
    Since u had written the module, u must have deployed the module on the adapter engine. Now follow this procedure:
    1. Set the breakpoint on the "process" method of ur java code.
    2. Put ur code into Debugging mode.
    3. Place the file again and try running ur scenario
    If the executuin stops at the method "process", then this means that ur module is getting called and there is some error in ur code.
    If the execution is not stopped there, then that means ur module is not visible to XI adapter engine. So either it is not properly deployed or there is some problem while developing it.
    Regards,
    Prateek

  • MSI GAMING 9 AC WI-FI MODULE NOT WORKING

    Hi,
    I have recently built my new system with the MSI gaming 9 ac motherboard and have now noticed as I have had to switch to a wireless connection that the wireless module isn't working. I have tried seeing if the module is installed right and it seems that it is as the screw hole aligns and feels secure. The driver CD for the wireless did not work so I had to install the drivers off the MSI website but still anything I have tried has come to no avail. Please help me!
    technical specifications:
    intel core i7 4770k
    MSI gaming 9 ac
    windows 8.1 64-bit

    I assume you're talking about X99 Gaming 9, just make sure your mobo is AC(Intel LAN) or ACK(Killer LAN).
    The link is for AC one, check if you're using this version 17.01.0000.1697:
    http://www.msi.com/support/mb/X99S-GAMING-9-AC.html#down-driver&Win8.1 64
    And check if Device Manager has any yellow exclamation mark, or try re-plug the AC adapter.

  • Memory modules not working on HP Touchsmart 600-1050sc desktop - update BIOS ?

    Hi
    I just bought 2 x 4GB DDR3 PC3 12800 memory modules from Cruical (see http://eu.crucial.com/eur/en/touchsmart-600-1050sc/CT5311446)
    The modules does not work on my HP Touchsmart 600-1050 sc desktop. Acc to HP specs it should support 2 x 4GB (max 8 GB in total).
    But the computer does not start (I have installed the modules correct). The manufacturer advises me to update my BIOS.
    I wanna ask you guys, before I try suhc a thing, is there any chance this could help?
    Thanks

    Hi,
    Its specs:
    Memory upgrade information
    Dual channel memory architecture
    Two DDR3 SO-DIMMs (200-pin) sockets
    SO-DIMM type-PC3-10600 (DDR3-1333)
    Non-ECC memory only, unbuffered
    Supports 2 GB DDR3 SO-DIMMs
    Maximum memory only if using 2GB DDR3 DIMM modules.
    Supports up to 8 GB on 64-bit PCs
    Supports up to 4 GB* on 32-bit PCs
    Please try PC-10600 RAM
    Regards,
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • How to connect my ipad to TV is vga adapter is not working

    Hi i am trying to connect my ipad via vga to my beovision 9. All is correctly installed but its not working. My Beovision service centre advises to purchase an hdmi adapter but this apparently not available. Any suggestions What to do next ??

    HI and welcome....
    This thread may offer some ideas for you.
    http://discussions.apple.com/thread.jspa?messageID=11579515&#11579515
    Carolyn

  • 2014 X1 Carbon Adaptive Keyboard not working

    Hi There,
    I just tried my new x1 carbon 2014 a week ago, I was trying my adaptive keys and it worked accordingly the first time I tried the notebook.
    After I did some installation with windows 8.1 update and lenovo update, I noticed that the adaptive keys is totally blank.
    1. I did the adaptive keys setting but still not working at all.
    2. I did the factory reset / reinstallion but still not working at all.
    Can anyone help me regarding this matter? is it because the factory defect?
    thx alot

    did you get into the bios menu? if yes, and your touch strip still doesn't work then you have a hardware problem.
    Regards,
    Jin Li
    May this year, be the year of 'DO'!
    I am a volunteer, and not a paid staff of Lenovo or Microsoft

  • My power adapter is not working at all

    Hello
    Recently, my power adapter has stopped working. I'm down to 33% battery power and no way to recharge! If I unplug the adapter and plug it directly into a wall outlet (grounded), it still does not work. No light on the adapter plug at all.
    What's up here? How do I fix this? Please help!
    ------------S

    If it won't switch on, and assuming that the battery isn't empty (and it can take up to 15 minutes of charging before it will respond), then have you tried a reset ? Press and hold both the sleep and home buttons for about 10 to 15 seconds, after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

Maybe you are looking for