XSLT Mapper problem

Hi gurus,
I am facing a peculiar problem with my transformation mapper. I am trying to map my source database(AS400) to the destination database(Oracle) by using DB Adapter. My source table column names contain $ signs like P$id,P$name
Now when I am trying to open the mapper window to map the source with destination, its displaying message:
Failed to open the source schema: Invalid value for 'P$id' for attribute:'name'
Failed to open the source schema: Invalid value for 'P$name' for attribute:'name'
Please help me out.
Thanks in advance,
Abhishek

Hi,
is it possible to create a view with renamed columns in your source database?

Similar Messages

  • XSLT Mapper: a lot of unused import namespaces

    Hi.
    The only way I have found to substitute an "any" element with a particular one from other schema in the XSLT mapper is to import the schemas in the main one. The problem is when you import a lot of schemas, the result mapper defines all these namespaces at the root level of the xslt (just in case), whether they are used or not. That produces an unnecessary overhead in the xslt file size.
    Is there any way to clean up the result mapper, so only the needed namespaces will be defined?
    It could seem it is not very important, but now I have 150 namespaces defined, when only 7 are used.
    Thanks.
    Ramon
    Edited by: Ramon Gordillo on Jun 6, 2011 5:19 PM

    Hi.
    I have been watching for some solutions, like for example the wtp for eclipse, which allows you to select the namespaces and clean them manually (without further checks than a valid XML), but all of the solutions falls in the "select" expressions with xpaths referring namespaces (and some of them, also with QNames elements).
    Any help? Oracle masters?

  • XSLT Mapper doesn't support xsi:type

    I'm starting to think that XSLT Mapper supports only the basic features of XML Schema ...
    It (XSLT Mapper in JDeveloper) does not seem to support mapping to generate this kind of element (cannot do it in Design view, when added to the Source view, cannot go back to Design view):
    <HighLevel:ParentEntity xsi:type="HighLevel:AChildEntity" xmlns:HighLevel="someNamespace">
    <A>ABC</A>
    <B>1</B>
    <FromAChildEntity>ABCDE</FromAChildEntity>
    </HighLevel:ParentEntity>
    If we leave this in Source view and run the xsl, the resulting XML has a validation error, the last element (FromAChildEntity is not known). The XML is valid in XML Spy.
    This problem combines with not being able to map two source elements to one target element, makes XSLT Mapper not able to deal with XML Schema inheritance at all.... ?

    I just want to reformat the XML from the original message (didn't realize I had to escape some of the characters). This is the XML that cannot be validated by JDeveloper):
    <HighLevel:ParentEntity xsi:type="HighLevel:AChildEntity" xmlns:HighLevel="someNamespace">
    &lt;A&gt;ABC&lt;/A&gt;
    &lt;B&gt;1&lt;/B&gt;
    <FromAChildEntity>ABCDE</FromAChildEntity>
    </HighLevel:ParentEntity>

  • Where is XSLT mapper?

    I was advised by PeopleSoft Tech Support (who now work for Oracle!) that JDeveloper contained a utility for creating XSLT. There directions were to right-click the project, expand General, select XML, then select XSLT mapper in the Items list. Problem: XSLT mapper is NOT in that list, and I did not leave anything out when installing (Studio 10.1.3.0.3.3412)
    Essentially I have an XML interface file that I generate out of PeopleSoft Financials - and I have an XML file that my non-PS client wants to receive. There is a gap between - ok, a chasm - and apparently this XSLT mapper enables you to drag a field from one file into the other & it will generate the XSLT code for you.
    Can anyone shed some light on where this tool is? Thanks!

    Paul, this is not in the EA1 realese of JDeveloper 10.1.3.
    Something like this is suppose to be part of the BPEL extension to JDeveloper 10.1.3 production.
    There are other "more manual" XSLT capabilities in JDeveloper right now.
    See here:
    http://www.oracle.com/technology/products/jdev/101/viewlets/101/xsltdebug_viewlet_swf.html

  • XSLT Mapper file does not open in design view

    XSLT mapper file in the composites exported from weblogic EM as a jar and imported in JDeveloper 11.1.14 does not open in design view. There is no option of design view itself in the tab structure. It is viewable only in source view.
    Please suggest, how do I view the desgn view of the xslt mapper?
    Thanks,
    Promiit

    When you export composites from Weblogic EM in jar format, the resulting files are differently formatted from what was used for deployment.
    So, basically, the XSLT file, you are trying to open in Jdeveloper has lost the "mapSources" and "mapTargets" sections, which are generally present in the header section of the jdeveloper-generated XSLT file. Try to manually hand-crack those sections and you should be good to go.
    Hope it helps !

  • How to do closing tag: tag /tag instead of tag/ in jdev xslt mapper

    Hi!
    We have commercial systems, which cannot work with short closing tags for empty nodes.
    Xslt mapper for oracle mediator optimize everytime to short closing tag, when node content is empty.
    Is there a property or technique to achieve long closing tags?
    Kind regards
    Torsten

    http://www.biglist.com/lists/xsl-list/archives/200610/msg00342.html
    not really a pretty solution, but you could try adding the comments

  • Generating CDATA containing XML-like text using XSLT Mapper in OFM 11g

    Hi,
    One of our partners requires XML to be sent as XML string inside a CDATA section. The use of "real" XML is not an option at the moment. We try to generate something like the following using XSLT/XSLT Mapper in SOA Suite 11g:
    <element>
    <![CDATA[
    <supplierElement1>
    <supplierElement2>
    etcetera
    <supplierElement2>
    </supplierElement1>
    ]]>
    </element>
    We've tried the following two approaches, so far unsuccessful:
    <xsl:template match="/">
    <inp1:singleString>
    <inp1:input>
    <xsl:text disable-output-escaping="yes">&lt;![CDATA[test]]&gt;</xsl:text>
    </inp1:input
    </inp1:singleString>
    </xsl:template>
    resulting in:
    <inp1:singleString xmlns:inp1="http://xmlns.oracle.com/singleString">
    <inp1:input>&lt;![CDATA[test]]></inp1:input>
    </inp1:singleString>
    and:
    <xsl:output method="xml" indent="yes" cdata-section-elements="input"/>
    <xsl:template match="/">
    <inp1:singleString>
    <input>test</input>
    </inp1:singleString>
    </xsl:template>
    resulting in:
    <inp1:singleString xmlns:inp1="http://xmlns.oracle.com/singleString" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <input>test</input>
    </inp1:singleString>
    Does anyone know how to generate the CDATA section declaratively (within XSLT/XSLT Mapper), without resorting to custom code and parsing as we have to do now?
    Thanks!
    Ronald

    The exact error message I'm getting is :
    ABAP XML formatting error in XML node of type "element", name: "abap"

  • How to use xslt mapper with sequence occurences

    I'm using Bpel process manager.
    I'm trying to use multiple partname fields in my xsd. I'have defined a sequence occurence in my xsd.
    In the xslt mapper I see just one partname. How can I map initials, nickname, fullname etc to the 'different' partnames while I just see one.
    I'hope somebody can help me?
    Jasper Goede

    I use the following xsd (just part of the whole xsd):
    <xsd:complexType name="nameType">
    <xsd:sequence>
         <xsd:element name="partname" type="partnameType" minOccurs="3" maxOccurs="5"/>
         </xsd:sequence>
         </xsd:complexType>
         <xsd:complexType name="partnameType">
         <xsd:sequence>
         <xsd:element name="typename" type="typenamenameType"/>
         <xsd:element name="text" type="nametextType"/>
         </xsd:sequence>
         </xsd:complexType>
    In the xslt mapper I just see one text field. So I can connect only nickname to the text field. I suspect more text fields.

  • Disabling validation in xslt mapper

    My xslt source code is valid as per xslt 1.0 and runs correctly when deployed. But the design view of the xslt mapper throws errors. How can I disable the error-checking of the xslt mapper?
    Thanks,
    Bipin Raj
    PS:
    Below is the xslt code that I added to my map, followed by the errors I am getting.
    <ns0:NOTES>
    <xsl:attribute name="index">
    <xsl:value-of select='string("1")'/>
    </xsl:attribute>
    <xsl:for-each select="ns1:Loop-N9_1/ns1:Segment-N9">
    <xsl:value-of select="ns1:Element-369"/>
    <xsl:text>|</xsl:text>
    </xsl:for-each>
    <xsl:for-each select="ns1:Loop-N9_1/ns1:Segment-MSG">
    <xsl:value-of select="ns1:Element-933"/>
    <xsl:if test="position() != last()">
    <xsl:text>|</xsl:text>
    </xsl:if>
    </xsl:for-each>
    </ns0:NOTES>
    Errors:
    Error: Invalid Usage of <for-each> Element
    Error: xsl:for-each does not Support Mixed Content
    Error: xsl:for-each does not Support Mixed Content
    Error: Invalid Usage of <for-each> Element
    Error: Invalid Usage of <if> Element
    Error: xsl:for-each does not Support Mixed Content
    Error: xsl:for-each does not Support Mixed Content
    Error: This Node is Already Mapped : "/ns0:PROCESS_PO_007/ns0:DATAAREA/ns0:PROCESS_PO/for-each"
    Invalid Source Node Path (//ns1:Transaction-850/ns1:Loop-PO1/ns1:Element-933)
    Invalid Source Node Path (//ns1:Transaction-850/ns1:Loop-PO1/ns1:Element-369)

    Can you explain a bit more what you want to do. It's very vague right now. Probably will be able to help you out.
    Thanks

  • How to use xslt mapper

    I'have created a xsd with sequence occurences. In the xslt mapper I try to connect nickname, initials and full name to the same field, because I just see one field.
    Can somebody help me?
    Thanks
    Jasper

    I use the following xsd (just part of the whole xsd):
    <xsd:complexType name="nameType">
    <xsd:sequence>
         <xsd:element name="partname" type="partnameType" minOccurs="3" maxOccurs="5"/>
         </xsd:sequence>
         </xsd:complexType>
         <xsd:complexType name="partnameType">
         <xsd:sequence>
         <xsd:element name="typename" type="typenamenameType"/>
         <xsd:element name="text" type="nametextType"/>
         </xsd:sequence>
         </xsd:complexType>
    In the xslt mapper I just see one text field. So I can connect only nickname to the text field. I suspect more text fields.

  • Can not find xslt mapper

    Hi ,
    I need to use the xslt mapper to transform the xml from site A to the xml structure that site B can accept. The documents mention that the xslt mapper is the new featrue for JDeveloper. I download the 11GR2 from Oracle and can not find the tool in it. Some posts said that it is the feature in 10G and then i continue to download the 10G JDV but i can not find this tool also.
    Does anyone use this feature and can give me some suggestions?
    Thanks in advance.

    goto the project properties.. Run/ Debugs Profile -> Default - Edit -> Launch Settngs [XSLT]
    here provide input and output xml file..
    if you want a visual transformation then you have to use.. SOA Suite.. BPEL
    http://download.oracle.com/docs/cd/E12483_01/integrate.1013/b28981/xslt_mpr.htm

  • XSLT Mapper - Transform - Error when using remote WSDL/XSD

    Whenever I attempt to use JDeveloper built in XSLT Mapper on a remote WSDL service the mapper either gives me a blank mapper screen or throws a error.
    But when I pull the WSDLS and the XSDs into JDeveloper and use those for my Partner links the mapper does not have any issues.
    The WSDLS and XSDs are being generated by Weblogic 10.3 and the SOA version I'm using is 11g. Everything is the newest download of 11g as of about 3 days ago.
    Is there a known issue with the XSLT mapper or am I doing something wrong?
    If you need any other information just ask thank you.

    The XSLT service is configurable.
    http://help.adobe.com/en_US/LiveCycle/9.5/WorkbenchHelp/WS92d06802c76abadb-1cc35bda128261a 20dd-6750.html
    1) Stop LiveCycle.
    2) Add the .jars of your XSLT processor of choice to the LiveCycle server lib folder.
    3) Restart LiveCycle.
    4) Go to Workbench and stop the XSLT service. Right-click on XSLTService:1.0 and Edit Service Configuration.
    5) Enter the factory name for the given XSLT processor. I think for Xalan 2.7.1 it is org.apache.xalan.processor.TransformerFactoryImpl (but I could be wrong).
    6) Restart the service.
    Steve

  • CDATA - XSLT mappping - Encoding problem

    Hi folks,
    I have a ABAP proxy to webservice scenario...
    I am sending out data from ECC to a external web service...
    The requirement here is the external web service input message has only two input fields and in the first field it accepts the  transaction data( Say material  or customer or orders ect) and in the second field it accepts login aunthetication information which is generally fixed..
    <ObjectsDataXml>
    <![CDATA[ mat1......mat2.....mat3....matn]]>
    </ObjectsDataXml>
    <UserContextXml>
    <![CDATA[  login infomration ]]>
    </UserContextXml>
    The requirement here is all the data records are bundled into and put into <objectDataXml> tag with in CDATA..
    same to do with <UserContextXml> as shown above..
    In my operation mapping am using message mapping to map material records to the target structure and then using XSLT map to put all the data in to CDATA and send it into the <ObjectsDataXml> tag...
    Although the mapping working fine but the message output is having encoded values by the time message reaches adapter message content and external web service request..
    I have tested the same in TCP gateway tool and i find two issues
    1)  The out is encoded for opeing and closing tags between CDATA and
    2) CDATA is completely ignored....
    Please find the link to have a look at the data after mapping and adapter call below
    Output after Message mapping before calling the adapter:-
    http://www.flickr.com/photos/62088318@N08/5641894710/
    Output in the TCP gate way tool or external receiver:-
    http://www.flickr.com/photos/62088318@N08/5641887100/
    Please guide me with this.
    Regards,
    MrMarri

    I recommend to change the web service. This is such a nonsense to use cdata section in a web service.
    I do not understand and do not have any comprehensin for people who think that they can ignore any rule for creating web service.
    The best proof of imcompetence is the use of namespace "tempuri.org" .
    Sorry for being rude. I see a lot of questions here in SDN from people in PI who try to solve the issues which are made from sender or receiver systems.

  • XSLT mapping problem

    Hi
    Im doign xslt mapping in XI bw two structures..while doing htis i have come across a requirment, where i have to map different values to nodes which are repeating in different sub structures.
    Ex: source structure and target structure are same..
      <Flight>
       <Pflight>
         <fltno>
         <fltname>
         <fltcode>
      </Pflight>
       <Wflight>
            <fltno>
            <fltname>
            <fltcode>
        </Wflight>
       <Rflight>
          <fltno>
          <fltname>
          <fltcode>
        </Rflight>
    </Flight>
    In this each <fltno>,<fltname> nodes have seperate values...
    I have mapped 'fltno' under each sub structure using this statement.
    <xsl:value-of select=".//*[local-name() = 'fltno'
    Here problem is in target structure it is getting same 'fltno'  under all structures. it means it will be passing the value of 'fltno' under first structure(Pflight) to all the <fltno> nodes.
    But my requirment is <Pflight>, <Wflight>, <Rflight> have seperate 'fltno' and they should get their own value in target structure.
    Can somebody help me.....Really Appreciated
    Thanks And Regards
    Rajesh

    Use the whole path or a partial path which is unique:
    <xsl:value-of select="/Flight/Pflight/fltno">
    or
    <xsl:value-of select="//Pflight/fltno">

  • XSLT Mapping - problem with prefixes when calling template

    Hi all,
    I am having a problem with using an XSLT mapping in XI to combine various fields from 2 input messages of different structures into a single output message.  I understand that XI puts a wrapper around the 2 input messages so the structure of the XML I am mapping is:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns2:Messages xmlns:ns2="http://sap.com/xi/XI/SplitAndMerge">
    <ns2:Message1>
    <ns:(root of first message)>
    </ns:(root of first message)>
    </ns2:Message1>
    <ns2:Message2>
    <ns:(root of second message)>
    </ns: (root of second message)>
    </ns2:Message2>
    </ns2:Messages>
    Currently my XSL looks like the following:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns="http://example.co.uk/example" xmlns:ns2="http://sap.com/xi/XI/SplitAndMerge" xmlns:javamap="java:systemDate.CurrentDate" version="2.0">
    <xsl:output method="xml" version="1.0" encoding="UTF-8"/>
    <xsl:param name="inputparam"/>
    <xsl:template match="ns2:Messages">
    ...<xsl:calltemplate name="FormattingTemplate"/>
    </xsl:template>
    <xsl:template name="FormattingTemplate">
    </xsl:template>
    </xsl:stylesheet>
    When I test the mapping it works fine until it calls the FormattingTemplate.  Then it throws out a "transformer exception" error saying the prefix 'ns2' is not mapped to a namespace.
    If anyone could tell me where I am going wrong I would be very grateful.
    Thanks,
    Mike

    Hi Udo,
    Thanks for your reply.
    When testing the stylesheet locally with XMLSpy, it works fine, but I have just noticed that it adds information in the root tag of the target message as follows:
    <(root of target message) xmlns:javamap="java:systemDate.CurrentDate" xmlns:ns="http://example.co.uk/example" xmlns:ns2="http://sap.com/xi/XI/SplitAndMerge">
    I checked the root tag of the target message in XI and it does not automatically add this information. Thus I added it in my stylesheet so the information above is projected in the target message, but the same error message appears when the call template function is called.  Do you know if I need to somehow add a namespace to templates other than the main one? If so, do you know how I go about doing that?
    Thanks,
    Mike

Maybe you are looking for

  • Problem with .css for Spry menu

    Hi, I am having a problem with the Spry menu I have created and edited. All looks great in the Design view of Photoshop however under the Live view or opened using a browser the menu reverts to a list of hyperlinks! I have checked the .css link but w

  • Use of software on more than one computer

    Hi, all I would like to find out is if I can use my monthly subscription to Photoshop on more than one machine at home and whether there are discounts on subscribing to a second product when the first has been set up already?

  • Raw files from Lumix gm1 camera

    I have Elements 10 which will not support RAW files from my new Lumix gm1. Is there an update to Elements 10 to do this or have I got to buy Elements 12 which will support these files?

  • How to close running applications listed in Application tab of Windows Task Manager

    Hii, I am using Labview7.0. I want to close all running applications except my labview based exe in Applications tab of Windows Task Manager. So pl help me how can I do it through labview7.0 Programmatically. Vijtin....

  • Essbase install option is greyed out on solaris

    Hi, I'm installing 64 bit EPM 11.1.2.2 on solaris 10 Update 10 sparc 64 bit server. I 've downloaded required files from edelivery and upzipped all files on solaris machine. But somehow the Essbase option in the EPM installer is greyed out. Infact al