How to test the sample adapter code on PI 7.1?

Hi,
I would like to test the sample adapter on PI 7.1.
I followed these explanations:
/people/gowtham.kuchipudi2/blog/2006/01/04/testing-sample-adapter
How-to deploy Sample Adapter in PI 7.1
but I still can't get things working.
The com.sap.aii.adapter.sample.ra.jar file I retrieved from the server doesn't contain any ra.xml file so I took the SampleRA.xml I found in the sample_ra.jar file fetched from a PI 7.0 server.
I used this XML file content to fill the adapter metadata in the integration repository.
The sample adapter is deployed and its JNDI name is
deployedAdapters/com.sap.aii.adapter.sample.ra/shareable/com.sap.aii.adapter.sample.ra
I don't know where to put this information in the metadata.
As a result my sender and receiver communication channels are said to be running in the runtime work bench but there is no message thrown when I put the expected file in the source directory.
The sender communication channel stays blind.
Could someone help me?
Thanks in advance for any help.
Olivier

Hi,
Thanks for your answer but there is no sample_ra.rar file on my PI 7.1 server.
Instead I have a com.sap.aii.adapter.sample.ra.jar file that is located at
D:\usr\sap\P71\DVEBMGS01\j2ee\cluster\apps\sap.com\com.sap.aii.adapter.sample.ra\connector\bin\com.sap.aii.adapter.sample.ra.rar
and
D:\usr\sap\P71\DVEBMGS01\j2ee\cluster\apps\sap.com\com.sap.aii.adapter.sample.ra\connector\connectors\com.sap.aii.adapter.sample.ra.rar
It is the same file and its content is:
testing: META-INF\                OK
testing: META-INF\MANIFEST.MF     OK
testing: com\                     OK
testing: com\sap\                 OK
testing: com\sap\aii\             OK
testing: com\sap\aii\af\          OK
testing: com\sap\aii\af\sample\   OK
testing: com\sap\aii\af\sample\adapter\   OK
testing: com\sap\aii\af\sample\adapter\ra\   OK
testing: com\sap\aii\af\sample\adapter\ra\CCIConnection.class   OK
testing: com\sap\aii\af\sample\adapter\ra\CCIConnectionFactory.class   OK
testing: com\sap\aii\af\sample\adapter\ra\CCIConnectionMetaData.class   OK
testing: com\sap\aii\af\sample\adapter\ra\CCIConnectionRequestInfo.class   OK
testing: com\sap\aii\af\sample\adapter\ra\CCIInteraction.class   OK
testing: com\sap\aii\af\sample\adapter\ra\CCIResourceAdapterMetaData.class   OK
testing: com\sap\aii\af\sample\adapter\ra\SPIConnectionManager.class   OK
testing: com\sap\aii\af\sample\adapter\ra\SPIManagedConnection.class   OK
testing: com\sap\aii\af\sample\adapter\ra\SPIManagedConnectionFactory$XIManagedConnectionFactoryController.class   OK
testing: com\sap\aii\af\sample\adapter\ra\SPIManagedConnectionFactory.class   OK
testing: com\sap\aii\af\sample\adapter\ra\SPIManagedConnectionMetaData.class   OK
testing: com\sap\aii\af\sample\adapter\ra\XIAdapterCategories.class   OK
testing: com\sap\aii\af\sample\adapter\ra\XIConfiguration.class   OK
testing: com\sap\aii\af\sample\adapter\ra\XIConnectionEventListenerManager.class   OK
testing: com\sap\aii\af\sample\adapter\ra\XIConnectionSpecImpl.class   OK
testing: com\sap\aii\af\sample\adapter\ra\XIInteractionSpecImpl.class   OK
testing: com\sap\aii\af\sample\adapter\ra\XILocalizationUtilities.class   OK
testing: com\sap\aii\af\sample\adapter\ra\XIMessageFactoryImpl.class   OK
testing: com\sap\aii\af\sample\adapter\ra\XIMessageRecordImpl.class   OK
testing: com\sap\aii\af\sample\adapter\ra\XISecurityUtilities$1.class   OK
testing: com\sap\aii\af\sample\adapter\ra\XISecurityUtilities.class   OK
testing: com\sap\aii\af\sample\adapter\ra\XITrace.class   OK
testing: com\sap\aii\af\sample\adapter\ra\package-version.properties   OK
testing: com\sap\aii\af\sample\adapter\ra\rb_JCAAdapter_ChannelMonitor.properties   OK
testing: com\sap\aii\af\sample\adapter\ra\rb_JCAAdapter_ChannelMonitor_de.properties   OK
testing: com\sap\aii\af\sample\adapter\ra\rb_JCAAdapter_ChannelMonitor_en.properties   OK
testing: com\sap\aii\af\sample\adapter\ra\rb_JCAAdapter_ChannelMonitor_fr.properties   OK
testing: com\sap\aii\af\sample\adapter\ra\rb_JCAAdapter_ChannelMonitor_ja.properties   OK
There is no ra.xml file
Regards
Olivier

Similar Messages

  • Sample adapter code

    Hi,
    Can any one on XI 3.0 SP17 or higher send me the sample adapter code present in sda file?
    it would be of great help.
    thanks
    regards
    fariha

    i am finding the code for Synchronous messages which is present in XIAdapterCategories.java
    I am on XI 3.0 SP15
    I think this code is present in SP19.
    Can anyone could please send this code on SP19 it would be of great help?
    thanks
    regards
    fariha

  • How to test the modified script (Global Dunning)

    Hi all,
    I have a requirement in SAP Script.
    I had modified Global Dunning Letter F150_DUNN_01 and the print program is SAPF150D2.
    Transaction code is F150.
    How to test the script and what is the access path for checking print preview of the modified form.
    Do i need to configure anything before testing.
    Rewards to all.
    Thanks & Regards,
    Aarthi.

    Hi
    Your functional consultant will help you to trigger the output of this dunning output
    or search in SPRO tcode
    o in the related tcode F150
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • How to test the data

    Hi,,
    The below test data is for SD report which do the monthly batch transfer from Annexure to F-form
    Can you please help me how to test the data? and prepare the unit test case.
    1. Intra-plant movement of inventory between two plants with the same region Code -  In India there are two plants in the state of Maharashtra.
    Plant 8600 (Vendor 10999346) -> Plant 8601 - MM# 1003623 / 1013515 / 5214135 / 8788143
    NB PO# 6500002231 / ZU PO 4600000500
    2. Intra-plant movement of inventory from Plant 8650 - Goa to one Depot Plant
    Plant 8613 (Vendor 10999359) -> Plant 8618 - MM# 1003623 / 1013515 / 5214135 / 8788143
    NB PO# 6500002232 / ZU PO 4600000501
    3. Intra-plant movement of inventory between two Parts plants.
    Plant 8650 (Vendor 10999344) -> Plant 8601 - MM# 4908281 / 4908323 / 4908968 / 4922001
    NB PO# 6500002233 / ZU PO 4600000502

    Please  go thorugh this  ...
    eCATT stands for extended Computer Aided Test Tool (eCATT) which is built is testing tool to test SAP system. By using testing tool we can test the entire business process, and we can also use this tool with a third party testing tool (I am not covering this topic). Execution of every test script ends with a log, which explains the results of the test script. 
    By using eCATT we can do following operations,
    ·        Test transactions, reports, and scenarios
    ·        Call BAPIs and function modules
    ·        Test remote systems
    ·        Check authorizations (user profiles)
    ·        Test updates (database, applications, GUI)
    ·        Test the effect of changes to customizing settings
    ·        Check system messages
    For more information go to: eCATT::Extended Computer Aided Test Tool (sdn.com)
    Here I am discussing fundamentals about eCATT in detail. You can find very good documentation in sdn.com.
    To develop a test script in eCATT we need to follow the following steps,
    1. Creating Test Scripts.
    2. Creating Test Data Containers[16] .
    3. Understanding System Data Containers[17] .
    4. Executing Test Configurations.
    There is a very good web blog on eCATT in sdn.com which explains eCATT with necessary screen shots. To read document click here Blog on eCATT in sdn.com
    For  details  and the screenshots     please  see the  link
    http://www.erpgenie.com/sap/ecatt/
    Reward  points if it is  usefull ...
    Girish

  • How to test the performed  SAP SCRIPT

    Hi friends can any one help for
    how to test the performed  SAP SCRIPT. What are the necessary codes or anything else for performing it

    Praveen,
    Can you be much clear with your query? What do you mean by performing? Do you mean how to execute it ?
    Regards,
    Vinod.

  • How to test the adapters

    hi
    anybody can tell me how to test the adaptors?
    regards,
    krushi

    Adapter Monitoring:
    Steps:
    1. Go to RWB.
    2. In the Component Monitoring Select Adapter Engine
    3. Select the Adapter Monitoring Tab.
    Using this window u cam monitor
    >> Installed and Started Adapters
    >> Adapters with Error and
    >> All the Adapters
    Uses:
    >>The name of the server on which the selected Adapter Engine was deployed. This can be a server cluster consisting of several nodes.
    >>The namespace in which the adapters shipped by SAP are located. If you have created additional namespaces for your own developments or for third-party adapters, these are also displayed.
    >>A list of all the adapters available for the selected Adapter Engine. Adapters that are not installed and started, or not registered with the Adapter Framework are GRAYED out. You can select all the other adapters to display additional information. i.e U can see all the Adapters.
    If all the adapters are working then it will be displayed in GREEN.
    If not then it will be displayed in RED.
    If U are not using the adapters in ur scenarios then it will be GRAYED out.
    Remember to set the thread to solved when you have received a solution
    Use a Good Subject Line, One Question Per Posting - Award Points

  • How to test the RFC to Flat File scenario

    Hi,
    How to test the RFC to Flat File scenario
    regards,
    kiran

    Hi,
    After running the RFC it's going Dump.
    this is the error message i got.
    "Error analysis                                                                     
    An error occurred when executing a Remote Function Call.                     
    "CPI-C error CM_RESOURCE_FAILURE_NO_RETRY"                                                
    Status of connection.... "CODE=CM_RESOURCE_FAILURE_NO_RETRY -1 -1 SAPCODE=666
    CONV="                                                                      
    Internal error code.... "RFC_IO5"                                                           
    There is an error in the communication system. To clarify                    
    and resolve the error, contact your system administrator.                     "

  • HOw to test the jms connection?

    HI all,
    how to test the jms connection in xi?
    regards
    kish

    HI,
    We can see the JMS sender or reciver side .. in RWB .. see  communicaiton channel mononitoring,., also..
    We can access it through browser.. it depends upon the proocol type .. like sonic or webspeare MQ..or ...
    see below links
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/886a3c3a860657e10000000a114084/frameset.htm
    /people/alessandro.guarneri/blog/2006/01/04/jms-sender-adapter-handling-too-short-lines
    /people/william.li/blog/2006/11/13/how-to-use-saps-webas-j2ees-jms-queue-in-exchange-infrastructure
    content conversion https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bfc7d12f891
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/97171dd3-0401-0010-5195-b43f556e6ce9
    Chilla

  • How to test the simple .java file in cactus

    dear friends,
    i have use the junit first time .And i am working in weblogic8.1 so i have use cactus .But i face the problem to use it.
    1. how to test the simple .java file in cactus.
    2.how to run the cactus in weblogic 8.1.

    Hi,
    It is because the converter works on byte code and it only supports a subset of the Java language (see the JC specifications). It is kind of like compiling you code on Java 6 and trying to run it on Java 5. The JCDK outlines the required compiler version.
    Cheers,
    Shane

  • How to Use the JAVA SCRIPT code in .htm page of the component

    Hi .
    In my requirement i have to use Java Script Function in .htm code ..how to use the java script code and functions in .htm???
    thank you
    B.Mani

    Check this document  [Arun's Blog|http://wiki.sdn.sap.com/wiki/display/CRM/CRMWebClientUI-TalkingwithJava+Script]
    Regards
    Kavindra

  • How to test the payload in XI

    Hi all,
    could please explain how to test the payload in xi and with steps.
    Thanks in advance,
    Radhika

    Hi Radhika,
    You can test in three ways.
    1.)  In message mapping directly give the relevant data and then execute.  Here you can test whether the mapping is correct or not.
    2.)  In Integrstion Directory after completing and activating  the Configuration,  in tool you can find the Test Configuration tab. There you can give the sender and receiver details along with payload. Here you can test whether the Configuration is correct or not.
    3.)  In RWB in COmponent monitoring.  Select the Integration Engine Monitoring. Here give the sender and receiver details, Interface name, name space, Quality of service.
    Now give user name and pass word.
    Paste the payload from massage mapping and then press test tab.  Here yoyu can directly send the message from XI server to the receiver system.
    Ok,
    Jeevan

  • How to test the rule if multiline container is passing to the task?

    Hi Experts,
                      I am working on leave workflow. I have to get the approvers based on no of days of leave and leave type. I am getting these details in ITEMS_TAB internal table. I am passing this table to a rule. Now my problem is when I tried to simulate the rule I am not getting any input screen to enter the data.
    ITEMS_TAB is an internal table type of   "PTREQ_ITEMS_WF_TAB_FLAT".
    In the rule I have created a container by selecting the radiobutton "ABAP Dict. Data Type" and entered the above reference parameter is it right way?
    Is it possible to test the rule independently if I use multiline container as import parameter in my rule?  If so can anybody please tell me how to test the rule?
    Thank You.
    Srija.

    Hi Pavan,
                     Thank you.
                     To copy the values I am not getting any input screen to input the values. I observed one thing that the type that I am referring in the Rule is a deep structure. Is this is the reason that I am not getting the input screen to enter the values?
    I tested by creating aother rule by taking a field for that rule I am getting the input screen to simulate the Rule.
    Can you please suggest if the rule will not work then what I have to do? without the rule how can I get the agents?
    Thank you.
    Srija

  • How to install the Sample Apps in Hyperion Financial Management 11.1.2.2?

    Hi,
    Could please anybody tell me how to install the Sample Applications in Hyperion Financial Management 11.1.2.2?
    The following is written in the Administration guide:
    If you did not install the sample files, you can obtain them by reinstalling Financial Management
    and selecting the Sample Applications component.
    I cannot find the “Sample Applications component” among components during installation process.
    There are only “Financial Management ADM driver”, “Financial Management Web Application” and “Financial Management: services”.
    Hope this helps,
    Thank you,
    Vadim

    After you install the sample application, all of the application extracts can be found under the below location.
    Oracle_Home\Middleware\EPMSystem11R1\products\FinancialManagement\Sample Apps and Starter Kits\Sample Apps

  • How to test the PMS/apprisal template

    Hi experts,
    We have completed the configuration of Apprisal templete.
    With OOHAP_BASIC,PHAP_CATALOG_PA we have completed the process along with status and substatus,staus flow.
    I struckup at this juncture.
    How to test the entire process after the configuration.
    Please advice.
    Regards,
    Sairam.

    Hi Sairam,
    To test the PMS process, please follow the below steps :
    1. Go to PHAP_CREATE_PA and select your template. Enter the details for appraisee, appraiser, reviewer ( if applicable ) and also the start date and end date. Save the document.
    2. Go to PHAP_ADMIN_PA and select the template/appraisee id in the appraisee column in the selection screen and execute. Select your appraisal document and then select from Menu- Appraisal Document->Change Status and select your initial status and sub status.
    Now you can login to Portal/R3 with the user and start testing. The substatus will move automatically based on your workflow. Once you complete a particular status say 'In Planning' you need to manually change the status again from PHAP_ADMIN_PA to 'In Review'.
    Get back to me in case of any queries.
    Regards,
    Sachin

  • How to test the connection between DSD backend and DSD connector

    Dear all,
    I am configuring the MDSD scenario .. and i want to insure that my customization is correct
    How to test the connection between DSD Backend and DSD connector ??

    Hi Viren,
    The problem is:
    We have a new BW system. The basis people asked me to check the connection between this BW system and the R/3. There is only one client for now(100). I have logged into 100 and tried executing RSA1 to check the connection, but it gave a message box saying "You can only work in Client 000". Then I have treid logging into 000(just to make sure) and tried executing RSA1. Even here I got a message saying "The SAP BW system must not be operated in client 000". Now, I am not sure of what is wrong in clien 100. I am not sure if I have to do some settings before I access RSA1 or any other BW transaction. Could you please help me in this.
    Also, I just checked the RFC destinations in BW. There is a destination created for our R/3 and I have noticed that they have given a remote UserID and password for remote login. I tried to check the Remote UserID in SU01 but there is no userID with that name. Could this be a problem?
    Thanks,
    RPK.

Maybe you are looking for