Error in Domain value mapping.

Dear all,
I was trying a simple file to file scenario using ESB with the Domain value mapping(DVM).
I was trying to replace the incoming long state codes with the short keywords.
I was using the DVM to configure the field to be changed in the XSL map.
I have also configured tracking fields for Routing service and the Outbound adapter in the ESB Console.
But after the instance the long names are not replaced with short keywords it come as blank in the place of names.
In the ESB console the RS is tracking the fields and the outbound adapter not. I was using a simle text file which has two columns Andrew, Bangalore delimited by comma and optionally enclosed by space.
Please help me.

Thanks for the reply Chintan,
Yes it is not working, I was doing the esb-customerdvm.pdf sample DVM as specified in the following link
http://www.oracle.com/technology/products/integration/esb/files/esb-customerdvm.pdf
My map also has three columns and I was the specifying Map name, Source column name as "Long" and the target column name as "Short" and the default value as "" in the lookup-dvm function in the XSL stylesheet.
And I have also specified the trackable fields for the Routing service and the Outbound adapter in the ESB Console but after the instance only the RS shows the tracked data and the Outbound adapter doesnot and it shows Nodata.
When I give the Input as the text file with columns Prasath, Chennai in the output file the Prasath is only coming what I expect is Chennai should be replaced by its short name CH but it is not coming like that.
Here I also specify the coding of XSL Stylesheet map.
<?xml version="1.0" encoding="UTF-8" ?>
<?oracle-xsl-mapper
<!-- SPECIFICATION OF MAP SOURCES AND TARGETS, DO NOT MODIFY. -->
<mapSources>
<source type="WSDL">
<schema location="DVMapsInput.wsdl"/>
<rootElement name="Leaf" namespace="http://TargetNamespace.com/DVMapsInput"/>
</source>
</mapSources>
<mapTargets>
<target type="WSDL">
<schema location="DVMapsOutput.wsdl"/>
<rootElement name="Leaf" namespace="http://TargetNamespace.com/DVMapsInput"/>
</target>
</mapTargets>
<!-- GENERATED BY ORACLE XSL MAPPER 10.1.3.3.0(build 070615.0525) AT [FRI MAY 23 12:31:40 IST 2008]. -->
?>
<xsl:stylesheet version="1.0"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
xmlns:pc="http://xmlns.oracle.com/pcbpel/"
xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
xmlns:imp1="http://TargetNamespace.com/DVMapsInput"
xmlns:ns0="http://www.w3.org/2001/XMLSchema"
xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/file/DVMapsInput/"
xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/file/DVMapsOutput/"
xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:ora="http://schemas.oracle.com/xpath/extension"
xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
xmlns:hdr="http://xmlns.oracle.com/pcbpel/adapter/file/"
exclude-result-prefixes="xsl plt pc imp1 ns0 jca ns1 hdr tns bpws ehdr hwf xp20 xref ora ids orcl">
<xsl:template match="/">
<imp1:Leaf>
<imp1:C1>
<xsl:value-of select="/imp1:Leaf/imp1:C1"/>
</imp1:C1>
<imp1:C2>
<xsl:value-of select='orcl:lookup-dvm("Citycode","Long",/imp1:Leaf/imp1:C2,"Short","")'/>
</imp1:C2>
</imp1:Leaf>
</xsl:template>
</xsl:stylesheet>
Please help on this.
Thanks.

Similar Messages

  • Domain Value Mapping (DVM)..

    Hi,
    We are using Domain Value Mapping (DVM) for quick retrieval of required data value for a field at run-time.
    I have found one solution at : http://guidoschmutz.wordpress.com/2009/12/25/implement-domain-value-maps-dvm-with-oracle-service-bus-osb-10r3/
    Scenario:
    From legacy service I get value of field - CountryName as complete name of country. (e.g.India)
    I want to convert the value to "IN" before passing back to proxy service.
    While using above link solution i get following errors:
    1. Runtime mismatch
    2. Expected exactly 1 item, got 0 items (The legacy service has compulsory value for CountryName, legacy is not passing null back)
    The platform we use is, OSB 10gR3, does it support DVM?
    Any ideas how to use DVM? How to use binding variables in DVM?
    Thanks in advance.
    Thanks and Regards,
    Piyush Kapoor.

    Task Completed

  • Anybody having experiences on Domain Value Mapping in interconnect?

    Hi
    Anybody have experiences on Domain Value Mapping in interconnect or any case study for the same.
    If so please forward it to the forum or my mail id [email protected]
    Thanks in advance.
    Sandeep Gaadhe

    Hi siyer1,
    Thanks for responding.
    i have created a case that uses Cross reference table. Now i want to design a case study using domain value mapping. I am having following doubts.
    1. How DVM is different than CRT?
    2. I used cross reference tab while subscribing to message(as suggested by Ian
    in one thread) and specified the CRT table to application . Now i have created the table for DVM and added my applications to it. Now how do i specify the DVM table name to application?
    I hope i am able to post doubts clearly.
    I read oracle documentation but it is too short and difficult to implement it in some practical scene.
    A case study or a document which can give more on DVM can help.

  • Domain Value Mapping in Oracle Service Bus

    Hi all,
    I am looking for a similar functionality with Oracle Service Bus that exist in the Enterprise Service Bus.
    The XPath function is lookup-dvm() that looks up the value based on a domain value mapping.
    The case is to use this in a XQuery mapping.
    Any input or experience on this?
    Thanks,
    Knut

    Currently out-of-box implement of similar functionality in OSB is not possible. This DVM feature will supplied out of box in future releases of OSB. Talk to your sales representative to get exact date lines for this feature.
    Thanks
    Manoj

  • Can esb DVM(Domain-value mapping ) support multi-language  ?

    I create a dvm , and add some rows in Chinese , but when I restart the soa service , all the DVM that I created disappeared.
    Can esb DVM(Domain-value mapping ) support multi-language ?
    Edited by: user10732687 on 2009-8-23 下午7:39

    DVM is designed to use in English only and not intended to support Multi language. It is the job of consumer application to convert from English to native language(Chinese in your case).
    Thanks,
    Vamsee.

  • Domain value Mapping types.

    Hi,
    I have a doubt with the Domain value mapping whether they are classified into static DVM and dynamic DVM.
    The static part I have finished where we will be creating a new map in the ESB console and refering it in the XSLT map using the lookup-dvm tool.
    I want to know whether there is dynamic type of DVM is there and how it works.
    If there is any link for the dynamic type of DVM please specify me.
    Thanks.

    Thanks for the reply Chintan,
    Consider my case I have given the Incoming cityname Chennai as Long in ESB console, and the Output after Domain value mapping will be CHI as mentioned in short field in the ESB console.
    If this is the case anyone give the older name of Chennai which is Madras the incoming cityname Madras after Domain value mapping must also come as CHI in output where Madras is not mentioned in the Console.
    I want to know whether it is possible or not.
    Thanks.

  • Domain Value Mapping with Text file

    Hai,
    I have done the Domain value mapping with the xml file to xml file and it is working fine.
    But in the case of Text file to Text file it is not working i.e. If the citiname is the
    first field it is domain value mapping and working fine.
    INPUT:
    Erode, Mahes, 22
    Coimbatore, Veera, 22
    OUTPUT:
    ED, Mahes, 22
    CBE, Veera, 22
    But if I change the Citiname to the second column it is not working the problem is
    it is not working for subsequent columns.
    INPUT:
    Mahes, Erode, 22
    Veera, Coimbatore, 22
    OUTPUT:
    Mahes,, 22
    Veera,, 22
    The input Text files are delimited by "comma" and optionally enclosed by "space".
    Does anyone have attained the DVM in the Text file successfully.
    Please help me.

    Thank you for the reply Abhi
    Text to Text means instead of giving the input file as XML file i am giving the input as a simple .txt file and I also want the output in the .txt format.
    For the text file only it is not working fine in the xml file to xml file it is working fine.
    For your another query I am not providing the correct parameters for "lookup-dvm"
    I am giving the xsl file
    <?xml version="1.0" encoding="UTF-8" ?>
    <?oracle-xsl-mapper
    <!-- SPECIFICATION OF MAP SOURCES AND TARGETS, DO NOT MODIFY. -->
    <mapSources>
    <source type="WSDL">
    <schema location="TextInput1.wsdl"/>
    <rootElement name="Root-Element" namespace="http://TargetNamespace.com/TextInput1"/>
    </source>
    </mapSources>
    <mapTargets>
    <target type="WSDL">
    <schema location="TextOutput1.wsdl"/>
    <rootElement name="Root-Element" namespace="http://TargetNamespace.com/TextInput1"/>
    </target>
    </mapTargets>
    <!-- GENERATED BY ORACLE XSL MAPPER 10.1.3.3.0(build 070615.0525) AT [TUE JUL 15 15:31:55 IST 2008]. -->
    ?>
    <xsl:stylesheet version="1.0"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:pc="http://xmlns.oracle.com/pcbpel/"
    xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:ns0="http://www.w3.org/2001/XMLSchema"
    xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:imp1="http://TargetNamespace.com/TextInput1"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/file/TextInput1/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:hdr="http://xmlns.oracle.com/pcbpel/adapter/file/"
    xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/file/TextOutput1/"
    exclude-result-prefixes="xsl plt pc ns0 jca imp1 tns hdr ns1 bpws ehdr hwf xp20 xref ora ids orcl">
    <xsl:template match="/">
    <imp1:Root-Element>
    <xsl:for-each select="/imp1:Root-Element/imp1:Leaf-Element">
    <imp1:Leaf-Element>
    <imp1:C1>
    <xsl:value-of select="imp1:C1"/>
    </imp1:C1>
    <imp1:C2>
    <xsl:value-of select='orcl:lookup-dvm("Citinames","Long",imp1:C2,"Short","")'/>
    </imp1:C2>
    <imp1:C3>
    <xsl:value-of select="imp1:C3"/>
    </imp1:C3>
    </imp1:Leaf-Element>
    </xsl:for-each>
    </imp1:Root-Element>
    </xsl:template>
    </xsl:stylesheet>
    Here I am checking the DVM function for the Second column and it is not working and I have given their Inputs and Outputs in my first message .
    I have another question as you told both import and export of the DVM is always in the XML format only so I have a doubt whether the lookup-dvm will be working for xml files only and not for text files.
    But in my case in text file it is working for the first column but not in the subsequent columns.
    Thanks.

  • Domain value maps

    HI
    Can any body help me what is DVM(domain value map)
    Thanks
    Phani

    Hi,
    Please refer this blog. Yatan has explained clearly with screenshots.
    http://yatanveersingh.blogspot.com/2011/07/mds-implementation-in-oracle-soa-11g.html
    In the MDS repository, you can keep the artifacts like abstract wsdl's, dvm's, xsd's, fault-policies, fault-bindings etc..
    Hope this helps...
    Thanks,
    N

  • Domain value Mapping for Supply chain and order management analytics

    Hi Experts.
    I'm new to BI Applications. I'm configuring Oracle Supply chain analytics and order management analytics and i see in the configuration guide that we need to
    Map each Status Code to one domain value. I dont understand what this means? what is meant by domain value and how can we map the data retreived by the query with the domain values.
    Appreciate your help.
    Thanks
    Rajesh

    Hi Deepak.
    Our functional analysts dont understand what domain values means. they have run the query but since they dont understand what Domain values means they could not proceed.
    Pls could you give an example of how to map the data retrieved with the domain values ?
    Appreciate your help
    Thanks
    Rajesh
    Edited by: user4159900 on Aug 22, 2011 12:17 AM
    Edited by: user4159900 on Aug 22, 2011 12:18 AM

  • Domain Value Map (DVM) not accessible through BPEL

    Hi,
    We've got an architecture configuration that has ESB on a separate box from our BPEL install. The issue we are having is not being able to read DVM values in ESB from BPEL. The issue does not occur in an all in one install (ESB and BPEL on the same box).
    Does anyone have any suggestions on what might be going on?
    Cheers,
    Aashish

    I suspect that need to be installed in the same oc4j container. Have you followed the instructions in the enterprise deployment guide 10.1.3.3
    http://download.oracle.com/docs/cd/E10291_01/core.1013/e10294/toc.htm
    cheers
    James

  • Value Mapping Error : valueMapping.rb_ValueMapException.NO_GROUPID

    Hi,
    There is a error log in the java Engine for the value mapping, but then the value mapping still working fine.
    Error During value mapping
    Thrown:
    MESSAGE ID: com.sap.aii.ibrun.server.valueMapping.rb_ValueMapException.NO_GROUPID
    com.sap.aii.ibrun.server.valueMapping.DBValMapPersistor$NoGuidException: Context = http://sap.com/xi/XI, agency = ListOfSite, scheme = http://xyz.com:abc_site, and value = 9010 not found
    at com.sap.aii.ibrun.server.valueMapping.DBValMapPersistor.getGroupIdEx(DBValMapPersistor.java:689)
    at com.sap.aii.ibrun.server.valueMapping.DBValMapPersistor.findMappings(DBValMapPersistor.java:569)
    at com.sap.aii.ibrun.server.valueMapping.DBValMapPersistor.findMappings(DBValMapPersistor.java:616)
    at com.sap.aii.ibrun.server.valueMapping.ValueMappingService.execute(ValueMappingService.java:118)
    at com.sap.aii.ibrun.server.valueMapping.ValueMappingService.executeMapping(ValueMappingService.java:50)
    Please advise ?
    Regards
    FL.

    Hello
    Please check the solution in the SAP note #1476480 Context usage for Value Mapping Replication Interface. Also check if there area any errors with the Value Mapping cache in RWB -> Cache Monitoring.
    Regards
    Mark

  • Value Mapping Insert Error

    Hi
    I am sendind an item value mapping from R3 to XI and I get this error:
    <ns:ValueMappingReplicationFault xmlns:ns="http://sap.com/xi/XI/System">
    - <standard>
      <faultText>A value is missing for content of Identifier in item 0.</faultText>
    - <faultDetail>
      <text />
      <id>7</id>
      </faultDetail>
      </standard>
    - <addition>
      <ItemNr>0</ItemNr>
    - <Item>
      <Operation>Insert</Operation>
      <GroupID>037dd9b01a3111da8abef522ac127968</GroupID>
      <Context>http://sap.com/xi/XI</Context>
      <Identifier scheme="BS_PEPE" agency="Company" />
      </Item>
      </addition>
      </ns:ValueMappingReplicationFault>
    The code in R3 is this one
    REPORT  Z_XI_REPLICATE_VALUE_MAPPING.
    data: My_ZCO_MI_CONSULTA_SERIAL type ref to
                    CO_SVMR_VALUE_MAPPING_REP_SYNC,
          in type SVMR_VALUE_MAPPING_REP_RESP,
          out type SVMR_VALUE_MAPPING_REPLICATION,
          vIdentifier type SVMR_VALUE_MAPPING_IDENTIFIER,
          vItem type SVMR_VALUE_MAPPING_REP_ITEM,
          vItemLst type SVMR_VALUE_MAPPING_REP_TAB,
          vList type SVMR_VALUE_MAPPING_REP_LIST,
          lo_sys_exception   TYPE REF TO cx_ai_system_fault.
    try.
        create object My_ZCO_MI_CONSULTA_SERIAL.
        vIdentifier-scheme = 'BS_PEPE'.
        vIdentifier-agency = 'Company'.
        vIdentifier-value = '122'.
        vItem-Group_id = '037dd9b01a3111da8abef522ac127968'.
        vItem-operation = 'Insert'.
        vItem-context = 'http://sap.com/xi/XI'.
        vItem-Identifier = vIdentifier.
        append vItem to vItemLst.
        vList-item = vItemLst.
        out-VALUE_MAPPING_REPLICATION = vList.
        call method My_ZCO_MI_CONSULTA_SERIAL->EXECUTE_SYNCHRONOUS
          EXPORTING
            output = out
          IMPORTING
            input  = in.
      CATCH cx_ai_system_fault INTO lo_sys_exception.
        write: /'Error Text   --> ',lo_sys_exception->errortext.
        write: /'Error Code   --> ',lo_sys_exception->code.
        exit.
    ENDTRY.
    write: /'ESN_STATUS --> ',in-STATUS.
    The message sent to XI and I see in the sxmb_moni in R3 is this one
    <?xml version="1.0" encoding="utf-8" ?>
    - <nr1:ValueMappingReplication xmlns:nr1="http://sap.com/xi/XI/System">
    - <Item>
      <Operation>Insert</Operation>
      <GroupID>037dd9b01a3111da8abef522ac127968</GroupID>
      <Context>http://sap.com/xi/XI</Context>
      <Identifier scheme="BS_PEPE" agency="Company">122</Identifier>
      </Item>
      </nr1:ValueMappingReplication>
    When I try to delete a Group it works but not when I want to insert an individual item.
    What am I doing wrong?
    Thanks
    Regards

    Hi
    There is a field call CONTROLLER with this structure:
    FIELD     FIELDNAME     CHAR     30     0     Field Name
    VALUE     PRX_CONTR     CHAR     1     0     Field Control in XML Data Stream (=> Type Group SAI)
    But in SAP documentacion does not say any references to this field and how to fill them.
    I am asbolute sure I filled all the mandatory fields.
    Thanks
    Regards

  • Error in Value Mapping Replication

    Hi
    I am trying to upload a flat file  to value mapping table using the standard interface given by SAP. I am getting the error ' HTTP_RESP_STATUS_CODE_NOT_OK' in message monitoring.
    I have already registered the interface on the proxy and is successful and created adapter on reciever side for java proxy as stated in the documentaion. on the reciever side I craeted a business service as reciever of interface 'ValueMappingReplication' and communication channel that I created for java proxy input.
    Any thing I am missing ? Any help willl be appriciated.
    Thanx & regards
    Vinod ahir

    Check if you have trailing spaces in the communication channel. If so, remove them.
    Check the port number of the URL which leads to the Java Proxy. It has to be the J2EE port.
    Regards
    Stefan

  • Error - 403 - Value mapping replication - not authorized

    Hello Experts,
    I tried to implement the value mapping replication in PI 7.1as per the below article.
    "http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e07dd2ae-f783-2c10-9aa6-ca69f67dd20f"
    As given in the article i have configured everything in Integration Directory.
    I have tried the same thing but getting the following error in "call adapter step" after sending the XML from soap client.
    "&lt;b&gt;&amp;nbsp;&amp;nbsp;You are not authorized to view the requested resource.&lt;/b&gt;"
    I am able to find 2 error messages in SXMB_MONI.
    i think this is an issue with user details in XI channels.
    Please let me know what is the issue,user we have to give in XI receiver channel andwhat ROLE one should have to test the scenario.
    Many thanks.
    Regards,
    Harish

    Hi Hareesh,
    Can you try to use the RFC/ communication user in the communication channel and try?
    Please check the authentication type also, check if you will require non-sap type or sap type.
    Thanks,
    Hetal

  • Value Mapping Replication - Issue - Authorization Error

    Hi all,
    I am trying to do value mapping replication of the data from a table in ECC system using an outbound proxy on ECC and ASync Inbound interface  on XI - valuemappingreplication.
    Steps followed:
    1. Created Table Stucture and did write a report to extract the data from the table in ECC to send the data through Outbound proxy.
    2.Followed this blog - Value Mapping replication
    When tried to execute the scenario after all the steps in the above blog, we have an error in sxmb_moni saying that the authentication failed. I used pisuper, pidiruser in the receiver communication channel
    3.Generated a Java Proxy for the valuemappingreplication interface.
    4.Tried to deploy the .jar from the above step using SDM, I was not able to deploy it.
    reg
    Edited by: naveen chitluri on Jul 16, 2008 12:55 PM

    All,
    For the value mapping replication,
    I have tried to send the message to URL directly for RWB, Test Message in the Component Monitoring http://server:50400/MessagingSystem/receive/JPR/XI.
    I am getting an error saying that:
    Delivery of the message to the application using connection JPR failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Interface urn:flatfile:to:flatfile#MI_EMP_FILE_ASYNC_OUT not registered: com.sap.aii.proxy.xiruntime.core.XmlRecoverableException: Interface urn:flatfile:to:flatfile#MI_EMP_FILE_ASYNC_OUT not registered
    Can anyone throw some light on this.
    reg

Maybe you are looking for

  • Resize cells in a JTable.

    I'd like to give some columns, in a jTable, an autoresize mode. It means fitting well with the content (being able to read the longest cell without having to resize the cell manualy by resizing the header). Some tables of other applications (like the

  • Simple buttons problem

    Hi, I am creating a webpage with the usage of Flash CS3/ Actionscript 3.0 and I've found some strange problem. I got some buttons, which navigate to other page which is on a server. The problem is that these buttons work on a preview in Flash and the

  • How does OWB deal with bitmap indexes when inserting?

    How does OWB 9.2 deal with bitmap indexes on a fact table when records are inserted from a staging table? It seems to me that they are left on the table, while in the 9i Server manuals it says that one should not perform heavy DML in this case, becau

  • Creating a new Business Place

    Hi all, Is it advisable to replace an existing Business place with a new Business place. If I go for creating a new Business place for a company code, what else points I have to take care of, where else this Business place has to be change. Thanks in

  • Can't even run memtest

    Here is my set up, Athlon64 3000+, MSI K8T neo fis2r, zalman h/s (don't think it really matters) FIC 9800+, WD 40Gb 2MB  7200rpm (os), 10Gb seagate, OCZ EL3200 512Mb x 2 = 1gb(2-3-2-6).  When I power up all of the fan spin, I get an error in the prom