Config Test Failing in Mapping test

HI,
When I am executing config test in ID for an interface it is failing in Interface determination and mapping test. It does not giving any log.
Now the mapping for this is multimapping and used enhances Interface determination.
I tries with Payload XML both with and without the additional message message1 wrapper that gets generated for multimapping but am getting the same error.
Any idea if the config test is supposed to behave that way only for multimapping.
Thanks and Regards,
Himadri

Hi Prateek,
I am afraid this is not the answer.
Let me add the additional info.., the interface is working fine.....
However the config test fails... So there can not be any mistake with the interface,.
Also I have cross checked before posting.. this is not a cache problem...
THanks for the links though
Thanks,
HImadri
null
null

Similar Messages

  • Error when testing from Message mapping test tab

    Hi Experts,
    I am wondering that when i test the message in the MM test tab its giving error and target message is not generating. I am not testing end to end then why it is triggering communication channel?
    I can see that the 'RFC_Alert_Service_RFC_Receive' communication channel is in Red color RWB--> communication channel monitoring. I even even refreshed the cache and also activated the RFC channel but no use.
    Below are the error details:
    Error when testing message from test tab of mapping -->
    java.lang.RuntimeException: Exception during processing the payload.Problem when calling an adapter by using communication channel RFC_Alert_Service_RFC_Receiver (Party: , Service: RFC_Alert_Service, XI AF API call failed. Module exception: 'error while processing the request to rfc-client: com.sap.aii.af.rfc.afcommunication.RfcAFWException: RfcAdapter: receiver channel has static errors: can not instantiate RfcPool caused by: com.sap.aii.af.rfc.RfcAdapterException: error initializing
    Error in Communication channel monitoring -->
    Receiver channel 'RFC_Alert_Service_RFC_Receiver' for party '', service 'RFC_Alert_Service'
    Error can not instantiate RfcPool caused by:
    com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: Password logon no longer possible - too many failed attempts.
    Please help me how can i resolve this issue to successfully test the message in mapping-test tab.
    Regards,
    Suresh.

    > Error in Communication channel monitoring -->
    > Receiver channel 'RFC_Alert_Service_RFC_Receiver' for party '', service 'RFC_Alert_Service'
    > Error can not instantiate RfcPool caused by:
    > com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: Password logon no longer possible - too many failed attempts.
    Unlock the user you are using in the RFC channel and provide the correct password in the channel configuration. Once the channel error is resolved you would be able to test the Mapping sucessfully...
    >>why it is triggering communication channel?
    You would be using RFC lookup in the mapping....
    ~SaNv...
    Edited by: Santhosh Kumar V on Jul 8, 2009 5:48 PM

  • Unable to test in message mapping test tab

    hi all,
    below is my message mapping test tab structure
    and my xml file looks like below
    I am unable to test this data in test tab of message mapping and my source structure becomes red

    Hi Hareesh,
    I tried what you said but not working

  • Interface test fails during mapping - Resource not found

    Just upgraded from 7.1 SP8 to EHP1 SP3. Testing of the existing interfaces has been successful. I have created a very simple HTTP -> RFC Sync interface to complete the testing. When testing it in the integration builder I get the following message.
    +Unable to find resource 5e0ce8a0-b99a-11de-9eb4-c576ac120353 in the following software component versions: urn:xxxxx.com:PI71com/sap/xi/tf/_MM_ONE_.class-1+
    I've checked cache status overview in the ID and ESB and the updates were successful. I've checked the cache (SXI_CACHE) and the objects are there - correct object ID's. I;ve also performed a full cache refresh and that works. I then recreated the objects under a new SWCV and Namespace and get the same problem. It looks like the mapping object cannot be found.  Checks of SDN and SAP help have mentioned a cache problem but we've ruled that out.
    Any help you can offer would be appreciated.

    I've just noticed something unusual about the entry in SXI_CACHE. Under mapping the type of mapping appears as 'JAVA_JDK'. When you click on the drop down box next to the entry the possible types of mappings are...
    R3_ABAP
    JAVA
    Xi_TRAFO
    XSLT
    RS_XSLT
    I'm not sure if this is an issue or not. I've checked SDN and SAP SUPPORT and I can't find anything.

  • DV7-1220ed BIOS disk test fails in full test (hangs). Is this the disk or the controller?

    Hi,
    my DV7-1220ed started failing with BSOD after I used CCcleaner software.
    I decided to reinstall the PC, but still there seems to be a problem with the disk.
    Sometimes it stalls, and then I can see the disk light on almost constantly and you can hear it spin in a repeating pattern.
    BIOS disk test is OK in Quick test, but hangs in Full test at 0%. Can't stop it with ESC key, have to poff/pon.
    Any idea if this is the disk or the controller?
    Can I move the disk to the free slot to see if this is a controller problem?
    Any help would be appreciated.
    I also used the 'mstd' utility to send info.
    Thanks,
    Jaap

    Hi,
    If you have created your set of Recovery DVDs, these will automatically format the HDD as part of the installation process as well as re-creating all the partitions that were originally on your notebook.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Test XML file and Message Mapping test tab not compatible

    Hi all,
    I need help in testing in message mapping test tab.
    I have a xml data taken from SXMB_MONI which looks lik below
    &?xml version='1.0' encoding='UTF-8'?>
    -&ns0:MT_Order xmlns:ns0="http://test.com/xi/test">
    -<Header>
          <fld1>
          <fld2>      
        -<Line>
            <line1>
    and in message mapping multimapping is used,so it looks like
    ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
          <ns1:KVNR_Senden_MT xmlns:ns1="urn:lsv.de/SENDER">
             <Inhalt>
                <KE/>
                <VF/>
                <BBNRAB/>
                <BBNREP/>
    how can test this xml in message mapping test tab?please don't consider the structure .I don't have them.So,i have pasted some dummy structure

    Try like this,
    ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
    <ns0:Message1>
    <&ns1:MT_Order xmlns:ns0="http://test.com/xi/test">
    <Header>
          <fld1>
          <fld2>      
        -<Line>
            <line1>

  • Thinkpad T410 SSD Smart Test Fail

    About 2 weeks ago started getting this Windows error message
    The following hard disks are reporting failure:
    Disk Name: SAMSUNG MMCRE28G8MXP-0VB
    Volume C:\
    Ran Lenovo Solution Center Hardware scan and everything passed except the SSD, here are the results.
    Result code: WHD00F001-WI3X4K
    SMART status test - Failed
    Targeted read test - Passed
    Random seek test - Passed
    Funnel seek test - Passed
    Drive Info
    Firmware: VBM1EL1Q
    Size: 119.24GB
    Partition: MBR
    Any ideas?  I can't find anything anywhere on this error.  

    Welcome to the forum!
    Sounds like a failing SSD, but there have been reported one too many false positives of this nature...
    Download and run HD tune to check the condition of the drive.
    http://www.hdtune.com/
    Good luck.
    Cheers,
    George
    In daily use: R60F, R500F, T61, T410
    Collecting dust: T60
    Enjoying retirement: A31p, T42p,
    Non-ThinkPads: Panasonic CF-31 & CF-52, HP 8760W
    Starting Thursday, 08/14/2014 I'll be away from the forums until further notice. Please do NOT send private messages since I won't be able to read them. Thank you.

  • Lenovo Motherboar​d Test 4.1.1.6928 IRQ test fails in Thinpad Yoga (20CD)

    The recently released motherboard test fails the IRQ-test on my 20CD Thinpad Yoga with
    Result Code:WMB010010-RK7YMG
    Anybody else seeng this? Is it the test or my TP that are faulty?

    I edited your post to correct the model number (20CD).
    I ran the same test on my 20CD system here, and I don't see the problem.
    What OS are you running?

  • Sometimes tests fail abruptly with timeout in CUITE

    Hi,
    we have a tests suite of codedui tests, and sometimes we noticed that tests fails with timeout :
    Test 'XXXX' exceeded execution timeout period.
    The problem with this is that when we get this failure, it seems that the tests doe not execute MyTestCleanup(), so  the following tests fail.
    the header of our functions looks like the following :
           [TestMethod, Timeout(5  60  1000)]
            [Description("Description")]
            [Owner("pm")]
            [TestCategory("C1"), TestCategory("Regression"), TestCategory("C2"), Priority(2)]
            public void VerifyFunctionality1()
    is there any wahy to make the tests execute the MytestCleanup() when they timeout ?? please note we use vstest.console.exe and visual studio 2012.
    Regards

    Hi kaki2000,
    >>is there any wahy to make the tests execute the MytestCleanup() when they timeout ?? please note we use vstest.console.exe and visual studio 2012.
    The real issue is that where you design the MytestCleanup(), do you use the cleanup method like ClassCleanup Attribute or the TestCleanup Attribute?
    If so, I think it would have a limitation for it, for example,
    the TestCleanup: Identifies a method that contains code that must be used after the test has run and to free resources obtained by all the tests in the test class.
    I think you could get useful information here "How Cleanup Methods Affect Test Run Time-Outs
    https://msdn.microsoft.com/en-us/library/ms243175.aspx?f=255&MSPPError=-2147217396 
    The test run might have a time-out value assigned. The amount of time that is used by the cleanup methods is added to the total amount of time that is used by the test run. In other words, the cleanup time counts toward the time limit that you have
    imposed on the test run as a whole, and therefore could cause the test run to time out.
    Best Regards,
    Jack 
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • TCK 1.1 File tests fail against CDC-HI-1.1.1-rr-b6

    Dear All,
    Am doing xscale build of CDC-HI-1.1.1-rr-b6 and am running TCK 1.1 against it on a montavista 3.1 platform . Out of 9102 , about 320 tests fail. All the optional packages have been built with the hotspot implementation. The File section of the java_io tests all fail with the harness version 3.2_02 fcs b05 giving the error that
    Directory CDC-TCK-1.1/CDC-TCK_11/tests/api/java_io/File not found. Possible configuration Error
    and all File related tests fail. Other tests that fail are FileDescriptor, FileInputStream, FileNotfoundException,File OutputStream, Filereader,FileWriter,OutputStreamWriter, Serialization components .
    I can for sure see that the File directory exists in java_io dir and the file->serial tests also pass. Any pointers if am missing any enviornment vars or testing with wrong TCK version ?
    regards
    Manav

    Dear All,
    Even i am facing the same problem.
    Getting "Possible configuration Error" for java_io tests.
    Help required!!!
    Thanks in Advance.
    Thanks and Regards,
    Deepraj

  • CDC-TCK1.1 File tests fails against CDC-HI-1.1.1-rr-b36

    Dear All,
    Am doing xscale build of CDC-HI-1.1.1-rr-b6 and am running TCK 1.1 against it . Out of 9102 , about 320 tests fail. All the optional packages have been built with the hotspot implementation. The File section of the java_io tests all fail with the harness version 3.2_02 fcs b05 giving the error that
    Directory CDC-TCK-1.1/CDC-TCK_11/tests/api/java_io/File not found. Possible configuration Error
    and all File related tests fail. Other tests that fail are FileDescriptor, FileInputStream, FileNotfoundException,File OutputStream, Filereader,FileWriter,OutputStreamWriter, Serialization components .
    I can for sure see that the File directory exists in java_io dir and the file->serial tests also pass. Any pointers if am missing any enviornment vars or testing with wrong TCK version ?
    regards
    Manav

    Dear All,
    Even i am facing the same problem.
    Getting "Possible configuration Error" for java_io tests.
    Help required!!!
    Thanks in Advance.
    Thanks and Regards,
    Deepraj

  • Mapping tested successfully in Simulator but fails in SXI_MONITOR

    Hi gyus,
    The Outbound message structure is the following:
    MT_CAP_BANKS
    actions     1..1    xsd:string
    RECORD   0..unbounded  Segment
       Field1
       Field2
       etc
    The target Inbound message structure is the structure of the JDBC receicer adapter, since the scenario is Proxy to JDBC.
    MT_DB_BANKS
    STATEMENT       1..unbounded
    DBSTATEMENT   1..1
       action
       etc
    I want to have one STATEMENT per RECORD segment. But the RECORD segment may also be missing in case that we want to do massive delete of all the entris in a table. So I may have only the action field in some test cases.
    Therefore, I am mapping RECORD>mapWithDefault>STATEMENT.
    Mapping is tested successfully in simulator for all cases, either many RECORD segment or no RECORD segment. Interface mapping tested successfully. However, when we are doing real tests, mapping works fine with many RECORD segments, but fails with no RECORD segments (Cannot produce target element /ns0:MT_DB_BANKS/STATEMENT. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd).
    Any ideas ?
    I also tried to chang the mapping with IF RECORD EXISTS THEN STATEMENT='' ELSE RECORD-->STATEMENT but problem still remains!!

    Hi,
    I'm not really sure why you are encountering this error. Have you tried any context modifications before mapping to field STATEMENT?
    Could you try this mapping?
    constant:null -----------------------------------------> \
    RECORD --> mapWithDefault:null --> equalsS:null --> ifThenElse --> STATEMENT
    constant:hasValue -------------------------------------> /
    The code should perform just like the one with the mapWithDefault without the ifThenElse, but it's worth to try.
    Hope this helps,

  • Unit test fails after upgrading to Kodo 4.0.0 from 4.0.0-EA4

    I have a group of 6 unit tests failing after upgrading to the new Kodo
    4.0.0 (with BEA) from Kodo-4.0.0-EA4 (with Solarmetric). I'm getting
    exceptions like the one at the bottom of this email. It seems to be an
    interaction with the PostgreSQL driver, though I can't be sure. I
    haven't changed my JDO configuration or the related classes in months
    since I've been focusing on using the objects that have already been
    defined. The .jdo, .jdoquery, and .java code are below the exception,
    just in case there's something wrong in there. Does anyone have advice
    as to how I might debug this?
    Thanks,
    Mark
    Testsuite: edu.ucsc.whisper.test.integration.UserManagerQueryIntegrationTest
    Tests run: 15, Failures: 0, Errors: 6, Time elapsed: 23.308 sec
    Testcase:
    testGetAllUsersWithFirstName(edu.ucsc.whisper.test.integration.UserManagerQueryIntegrationTest):
    Caused an ERROR
    The column index is out of range: 2, number of columns: 1.
    <2|false|4.0.0> kodo.jdo.DataStoreException: The column index is out of
    range: 2, number of columns: 1.
    at
    kodo.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4092)
    at kodo.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:82)
    at kodo.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:66)
    at kodo.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:46)
    at
    kodo.jdbc.kernel.SelectResultObjectProvider.handleCheckedException(SelectResultObjectProvider.java:176)
    at
    kodo.kernel.QueryImpl$PackingResultObjectProvider.handleCheckedException(QueryImpl.java:2460)
    at
    com.solarmetric.rop.EagerResultList.<init>(EagerResultList.java:32)
    at kodo.kernel.QueryImpl.toResult(QueryImpl.java:1445)
    at kodo.kernel.QueryImpl.execute(QueryImpl.java:1136)
    at kodo.kernel.QueryImpl.execute(QueryImpl.java:901)
    at kodo.kernel.QueryImpl.execute(QueryImpl.java:865)
    at kodo.kernel.DelegatingQuery.execute(DelegatingQuery.java:787)
    at kodo.jdo.QueryImpl.executeWithArray(QueryImpl.java:210)
    at kodo.jdo.QueryImpl.execute(QueryImpl.java:137)
    at
    edu.ucsc.whisper.core.dao.JdoUserDao.findAllUsersWithFirstName(JdoUserDao.java:232)
    at
    edu.ucsc.whisper.core.manager.DefaultUserManager.getAllUsersWithFirstName(DefaultUserManager.java:252)
    NestedThrowablesStackTrace:
    org.postgresql.util.PSQLException: The column index is out of range: 2,
    number of columns: 1.
    at
    org.postgresql.core.v3.SimpleParameterList.bind(SimpleParameterList.java:57)
    at
    org.postgresql.core.v3.SimpleParameterList.setLiteralParameter(SimpleParameterList.java:101)
    at
    org.postgresql.jdbc2.AbstractJdbc2Statement.bindLiteral(AbstractJdbc2Statement.java:2085)
    at
    org.postgresql.jdbc2.AbstractJdbc2Statement.setInt(AbstractJdbc2Statement.java:1133)
    at
    com.solarmetric.jdbc.DelegatingPreparedStatement.setInt(DelegatingPreparedStatement.java:390)
    at
    com.solarmetric.jdbc.PoolConnection$PoolPreparedStatement.setInt(PoolConnection.java:440)
    at
    com.solarmetric.jdbc.DelegatingPreparedStatement.setInt(DelegatingPreparedStatement.java:390)
    at
    com.solarmetric.jdbc.DelegatingPreparedStatement.setInt(DelegatingPreparedStatement.java:390)
    at
    com.solarmetric.jdbc.DelegatingPreparedStatement.setInt(DelegatingPreparedStatement.java:390)
    at
    com.solarmetric.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.setInt(LoggingConnectionDecorator.java:1
    257)
    at
    com.solarmetric.jdbc.DelegatingPreparedStatement.setInt(DelegatingPreparedStatement.java:390)
    at
    com.solarmetric.jdbc.DelegatingPreparedStatement.setInt(DelegatingPreparedStatement.java:390)
    at kodo.jdbc.sql.DBDictionary.setInt(DBDictionary.java:980)
    at kodo.jdbc.sql.DBDictionary.setUnknown(DBDictionary.java:1299)
    at kodo.jdbc.sql.SQLBuffer.setParameters(SQLBuffer.java:638)
    at kodo.jdbc.sql.SQLBuffer.prepareStatement(SQLBuffer.java:539)
    at kodo.jdbc.sql.SQLBuffer.prepareStatement(SQLBuffer.java:512)
    at kodo.jdbc.sql.SelectImpl.execute(SelectImpl.java:332)
    at kodo.jdbc.sql.SelectImpl.execute(SelectImpl.java:301)
    at kodo.jdbc.sql.Union$UnionSelect.execute(Union.java:642)
    at kodo.jdbc.sql.Union.execute(Union.java:326)
    at kodo.jdbc.sql.Union.execute(Union.java:313)
    at
    kodo.jdbc.kernel.SelectResultObjectProvider.open(SelectResultObjectProvider.java:98)
    at
    kodo.kernel.QueryImpl$PackingResultObjectProvider.open(QueryImpl.java:2405)
    at
    com.solarmetric.rop.EagerResultList.<init>(EagerResultList.java:22)
    at kodo.kernel.QueryImpl.toResult(QueryImpl.java:1445)
    at kodo.kernel.QueryImpl.execute(QueryImpl.java:1136)
    at kodo.kernel.QueryImpl.execute(QueryImpl.java:901)
    at kodo.kernel.QueryImpl.execute(QueryImpl.java:865)
    at kodo.kernel.DelegatingQuery.execute(DelegatingQuery.java:787)
    at kodo.jdo.QueryImpl.executeWithArray(QueryImpl.java:210)
    at kodo.jdo.QueryImpl.execute(QueryImpl.java:137)
    at
    edu.ucsc.whisper.core.dao.JdoUserDao.findAllUsersWithFirstName(JdoUserDao.java:232)
    --- DefaultUser.java -------------------------------------------------
    public class DefaultUser
    implements User
    /** The account username. */
    private String username;
    /** The account password. */
    private String password;
    /** A flag indicating whether or not the account is enabled. */
    private boolean enabled;
    /** The authorities granted to this account. */
    private Set<Authority> authorities;
    /** Information about the user, including their name and text that
    describes them. */
    private UserInfo userInfo;
    /** The set of organizations where this user works. */
    private Set<Organization> organizations;
    --- DefaultUser.jdo --------------------------------------------------
    <?xml version="1.0"?>
    <!DOCTYPE jdo PUBLIC
    "-//Sun Microsystems, Inc.//DTD Java Data Objects Metadata 2.0//EN"
    "http://java.sun.com/dtd/jdo_2_0.dtd">
    <jdo>
    <package name="edu.ucsc.whisper.core">
    <sequence name="user_id_seq"
    factory-class="native(Sequence=user_id_seq)"/>
    <class name="DefaultUser" detachable="true"
    table="whisper_user" identity-type="datastore">
    <datastore-identity sequence="user_id_seq" column="userId"/>
    <field name="username">
    <column name="username" length="80" jdbc-type="VARCHAR" />
    </field>
    <field name="password">
    <column name="password" length="40" jdbc-type="CHAR" />
    </field>
    <field name="enabled">
    <column name="enabled" />
    </field>
    <field name="userInfo" persistence-modifier="persistent"
    default-fetch-group="true" dependent="true">
    <extension vendor-name="jpox"
    key="implementation-classes"
    value="edu.ucsc.whisper.core.DefaultUserInfo" />
    <extension vendor-name="kodo"
    key="type"
    value="edu.ucsc.whisper.core.DefaultUserInfo" />
    </field>
    <field name="authorities" persistence-modifier="persistent"
    table="user_authorities"
    default-fetch-group="true">
    <collection
    element-type="edu.ucsc.whisper.core.DefaultAuthority" />
    <join column="userId" delete-action="cascade"/>
    <element column="authorityId" delete-action="cascade"/>
    </field>
    <field name="organizations" persistence-modifier="persistent"
    table="user_organizations" mapped-by="user"
    default-fetch-group="true" dependent="true">
    <collection
    element-type="edu.ucsc.whisper.core.DefaultOrganization"
    dependent-element="true"/>
    <join column="userId"/>
    <!--<element column="organizationId"/>-->
    </field>
    </class>
    </package>
    </jdo>
    --- DefaultUser.jdoquery ---------------------------------------------
    <?xml version="1.0"?>
    <!DOCTYPE jdo PUBLIC
    "-//Sun Microsystems, Inc.//DTD Java Data Objects Metadata 2.0//EN"
    "http://java.sun.com/dtd/jdo_2_0.dtd">
    <jdo>
    <package name="edu.ucsc.whisper.core">
    <class name="DefaultUser">
    <query name="UserByUsername"
    language="javax.jdo.query.JDOQL"><![CDATA[
    SELECT UNIQUE FROM edu.ucsc.whisper.core.DefaultUser
    WHERE username==searchName
    PARAMETERS java.lang.String searchName
    ]]></query>
    <query name="DisabledUsers"
    language="javax.jdo.query.JDOQL"><![CDATA[
    SELECT FROM edu.ucsc.whisper.core.DefaultUser WHERE
    enabled==false
    ]]></query>
    <query name="EnabledUsers"
    language="javax.jdo.query.JDOQL"><![CDATA[
    SELECT FROM edu.ucsc.whisper.core.DefaultUser WHERE
    enabled==true
    ]]></query>
    <query name="CountUsers"
    language="javax.jdo.query.JDOQL"><![CDATA[
    SELECT count( this ) FROM edu.ucsc.whisper.core.DefaultUser
    ]]></query>
    </class>
    </package>
    </jdo>

    I'm sorry, I have no idea. I suggest sending a test case that
    reproduces the problem to support.

  • Getting Java mapping errors when testing my Interface mapping

    Hi,
    I'm trying to test my interface mapping from IR, I keep getting these exceptions. All I'm doing in my interface mapping is I have two mapping programs a XSLT mapping with java helper functions with the XSL and a message mapping. In the test it pass thru the XSLT mapping but fails at Message mapping and throws the following exception. Any help on this is really appreciated.
    10:03:26 Start of test
    Call XSLT processor with stylsheet com/earthlink/xi/mapping/xmlc_to_crm_resp.xsl.
    START APPLICATION TRACE ***
    Response:
    0
    END APPLICATION TRACE ***
    Returned form XSLT processor.
    Call method execute of the application Java mapping com.sap.xi.tf._MM_XMLC_RESP_
    Error during appliction Java mapping com/sap/xi/tf/_MM_XMLC_RESP_
    java.lang.NullPointerException at com.sap.aii.mappingtool.tf3.AMappingProgram.exceptionCaught$(AMappingProgram.java:59) at com.sap.aii.mappingtool.tf3.Transformer.checkParserException(Transformer.java:182) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:149) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:102) at com.sap.aii.ibrep.server.mapping.ibrun.RepJavaMapping.execute(RepJavaMapping.java:73) at com.sap.aii.ibrep.server.mapping.ibrun.RepSequenceMapping.execute(RepSequenceMapping.java:54) at com.sap.aii.ibrep.server.mapping.ibrun.RepMappingHandler.run(RepMappingHandler.java:80) at com.sap.aii.ibrep.server.mapping.rt.MappingHandlerAdapter.run(MappingHandlerAdapter.java:107) at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInterfaceMapping(ServerMapService.java:127) at com.sap.aii.ibrep.server.mapping.ServerMapService.transform(ServerMapService.java:104) at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.transform(MapServiceBean.java:40) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.transform(MapServiceRemoteObjectImpl0.java:167) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:104) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    10:03:26 End of test

    Joe,
    most likely your XSLT is outputting a not well-formed XML message.
    Remove message mapping from the mapping list and execute it again, to check output.
    Also, for mapping debugging in java enhanced function inside XSLT mappings, use the following:
    1st, you need to pass the "inputparam" parameter from the XSLT runtime to the Java function (it needs to be one of the input parameters for the executed java function).
    In the Java code itself, implement the following code:
    AbstractTrace trace = (AbstractTrace) param.get(StreamTransformationConstants.MAPPING_TRACE);
    trace.addInfo("Log your message here!");
    where <i>param</i> is the input parameter refering to the <i>inputparam</i> from XSLT.
    The AbstractTrace and StreamTransformationConstants classes can be found in the aii_map_api.jar file (used in Java mappings).
    Regards,
    Henrique.

  • Interface mapping test successful, throws exception in BPM

    Hi.
    We are having a problem with an Interface mapping which works when
    tested in Integration Builder, but throws an Exception when it is part
    of the Transformation in a BPM.
    The scenarion is such:
    1. The sender calls the outbound interface using a web service.
    2. XI uses the input and passes to the Integration Process
    3. In the BPM, a LOGON message is built to call the web service as
    specified by an external web service . The input and
    output messages are just a single string, in which the other XML is
    embedded.
    4. XI receives a response from the web service call
    5. XI Extracts the sessionId from the response and combines it with the
    initial input (Step 1) to create the query for the query message in
    the web service.
    It is in Step 5 where the transformation fails, with an Exception in
    the DefaultTrace.trc as
    Runtime exception occurred during execution of application mapping program com/sap/xi/tf/_MM_LogonResponse_PropertySearchRequest_to_ExternalRequestSOAP_: com.sap.aii.utilxi.misc.api.BaseRuntimeException; RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:Messages/ns0:Message1/ns1:EXTERNAL/REQUEST. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd
    Thrown:
    MESSAGE ID: com.sap.aii.ibrun.server.mapping.rb_MappingRuntimeException.EXCEPTION_DURING_EXECUTE
    com.sap.aii.ibrun.server.mapping.MappingRuntimeException: Runtime exception occurred during execution of application mapping program com/sap/xi/tf/_MM_LogonResponse_PropertySearchRequest_to_ExternalRequestSOAP_: com.sap.aii.utilxi.misc.api.BaseRuntimeException; RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:Messages/ns0:Message1/ns1:EXTERNAL/REQUEST. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd
    I have extracted the data from the initial request (step 1) and the
    logon response (step 4) and using these I have tested the Interface
    Mapping. There is no problem with this and the tests are successful.
    From what I can see, because the Response field in the LOGONResponse
    contains more XML tags, XI must be parsing it and assuming the tags are
    tags in the message, and not just the string, thus it is complaining
    that the XSD types do not match. This extra XML Parsing does not take
    place in the Interface Mapping Test.
    I have put the response into a User Defined Function which just has one
    line "return new String("Hello")" and that fails. However, if this UDF
    does not have the Response as the input, it does not complain.
    Please advise.
    --Reenal

    hi
    You will have to use specific replacements for you xml tags if it is coming as a paramter
    replace '<' with &lt;
    replace '>' with &gt;
    for eg: I want to pass <TakeIt>200</TakeIt> as value to Element <A>
    Mapping won't work if it is passed like
    a) <A><TakeIt>200</TakeIt></A> - Wrong
    Instead the replace the angle brackets
    b) <A>&lt;TakeIt&gt;200&lt;/TakeIt&gt;</A> - Correct
    While testing the mapping in IR (a) will work bcoz the test tool will convert it to (b) format. Check the xml source in test tool.
    So ensure the web response is like (b)
    rgds,
    Arun

Maybe you are looking for