MFL transformation is not working

Hi All,
I need to transform non-xml(binary)to xml using mfl tranformation and then using it in osb message flow to replace body with xquery.
My input txt message:0059 CHGACTPRC TF08512305245874 0000319000000000001200000299000003588012000002990000035880EUR 00000000000000000000000000000000000000000000000N
I dont know whether my mfl is right or not.It is very difficult to find seperator for this type to input.
I am getting error:
com.bea.wli.sb.pipeline.PipelineException: OSB Assign action failed updating variable "input": com.bea.wli.common.xquery.XQueryException: Error parsing XML: {err}FORG0005: expected exactly one item, got 0 items
Could you guys help it regarding this.
Regard,
Souvik
Edited by: Souvik Pal on Apr 29, 2012 6:44 PM

looks like your MFL is returing an empty result
my advice is to use nXSD instead, using the FileAdapter ti pick up the file... nXSD is a bit more structured and easy to troubleshoot than MFL...
could you post the MFL you are using? also, before you assign to body, log the result of the tranformation

Similar Messages

  • Column concatenations in transformation file not working

    I am trying to upload data from flat file. I am trying to concatenate two columns of flat file - YEAR and MONTH in transformation file but for some reason it is not working. I have set it as TIME = YEAR + TIME, for instance I want value 201001 for YEAR 2010 and MONTH 01. But it is quite surprising that of I use simple concatenation excel formula in flat file and store value in new column in flat file (for instance NewTime) and then use this is transformation file as TIME = NewTIME it works file. Since I have many excel sheets, I am just wondering if I can get TIME = YEAR + TIME working.
    Any idea mates?

    Hi
    The concatenation is working fine but let's see what you would like to achieve.
    Into transformation file
    ColumnD = ColumnS1 + ColumnS2 it will work fine if
    ColumnD is a a dimension destination and ColumnS1, S2 are source column.
    In your case into source you still have destination fields.
    At least this is showing your example.
    I hope this it will help you.
    Regards
    Sorin Radulescu

  • Free Transform tool not working.

    I am using Elements 13 on an iMac OSX 10.10.3.The Free transform tool is not working properly when I try to scale an image. for example, if I type in '140 %' and tick 'constrain proportions', I find that one box shows '140' and the other box shows '14%', or sometimes, '120'. It is very frustrating. does anyone have any ideas about this problem?
    Thanks for any help.

    Since Free Transform is a command rather than a tool, there isn't a specific reset for it. Try deleting the prefs: Go to the editor preferences>general, click this button, and restart the editor:

  • Gradient Transform Tool not working in Flash Pro CS6

    I've tried all sizes (reducing and enlarging.)  I'm working in shapes (I'm following a tutorial exactly so I know it's not what I'm doing wrong)
    I'm running Mountain Lion on a 2008 iMac, but according to all I read it should be fine.  Is Flash CS6 not supported in the new Mac OS?
    I seem to be seeing a lot of complaints on various forums. I don't see the circle shape when i click on the tool.  There's nothing. Any suggestions?
    Wayne

    I'm having similar problems with the Gradient tool. I'm on a iMac 2009, OSX 10.8.3.
    The gradient transform tool isn't working properly. The options for the tool aren't showing up in the tool bar.
    I want to transform a gradient in multiple elements at the same time. A bunch of letters in a word.
    The gradient transform handles only show up when I select a single element. And not when I select multiple items with the same gradient fill. I'm also using Flash CS6 via Creative Cloud.

  • "Transform Inside" not working.....

    ok, this is a function i used to use a lot particularly for adding a velocity crescendo (to take advantage of my velocity layering) to a particular section of a midi part. eg 16th note pattern on an instrument becoming progressively louder.
    I can't seem to make my transformer "see" the notes inside field i have specified. eg inside bar 412 and bar 418. i can get the transformer to see the notes if position is set to all, but this doesn't help me if i want to use the crescendo function.
    I have used this function a lot and it is very useful. i'm blowed if i can see what i am doing wrong - it has worked exactly the way i am trying to use it in the past. can anyone replicate it?

    Why not use hyperdraw and draw your crescendos in the Matrix Editor, right underneath your notes? Makes it easier to see what you're doing that using the Transformer window, and it works great!
    that's what i have been doing because the transfrm hasn't been working, but the problem wth that is that it doesn't preserve relative velocities within the crescendo. supposing you have a groove which you would like to crescendo. the groove is comprised of velocity differences that give it its feel. matrix editor or just a straight crecendo ruins that.
    in general i try to preserve an element of randomness within the velocities i am trying to crescendo in order to give it a more natural feel. i can assure you it makes a big difference.

  • 'D' Value in UPDMOD field getting lost in Transformation,Delete not working

    Hello all,
    We are using this datasource 0PU_IS_PS_32 for Funds management, the datasource has UPDMOD field in it, which is basically the 0RECORDMODE. So when they delete the document on R/3 side we can pick up the delete.
    Now this is what is happening in the delta infopackage, I get the delat records in the delta infopackage and I see a "D" in the UPDMOD field, but that value of D is getting lost when i load the data from PSA to the DSO through transofrmation by using DTP.
    After the request is loaded in DSO, before activating the request I check in New Data table and the field does not have a value of "D" anymore so when I activate the request the system does not know that those records are "D" delete records and so the records are not getting deleted from DSO.
    Has anyone faced this before, how can I fix it. The transformation is just one to one mapping no routines or formulas of any kind.
    Thanks for your help in advance.

    Hi,
    It is mandatory that u map upmode to 0recordmode. In the rule group there will be 2 groups. One will be ur normal mapping and other should be used to map 0recordmode
    Regards,
    Raghavendra.

  • Fixurl transformer tag not working

    Is there any reason why using the pt:transformer pt:fixurl="off" tag wouldn't work. I have some UNC paths in my portlet that are being gatewayed and I don't want them to be. I've tried using the transformer tag before the UNC paths to turn off gatewaying, but it doesn't seem to work. Any suggestions? PS - Other transformer tags for fine for me.
    Best Regards-Andrew

    It's just a standard HREF tag that links to a file using a UNC path.
    <a href="[url=file://\\myserver\temp\TestFile_1.txt\\myserver\temp\TestFile_1.txt[/url" target="_blank">TestFile_1.txt</a>
    It appears that PlumTree views a UNC path as a relative path and thus gateways it, making the link break. So I guess the question is how do I make UNC paths work? Thanks for you help.
    PS - Like you metioned, the docs are a little confusing regarding the fixurl tag.

  • Edit, Transformations does not work

    II can not do this Ever accidentally hit the Caps Lock key and only realize it after typing a few lines of text? You can quickly change all those letters to lower case in most apps by selecting the text and choosing Edit, Transformations, Make Lower Case.

    I am now Transformed.

  • Free transform tween not working

    This is another common problem that's driving me up the wall:
    - At 0 frames, I draw a blue square with no border.
    - I insert a keyframe on the 10th frame, then I move the
    square a short distance and stretch it with the free transform
    tool.
    - I create a motion tween between the two frames.
    Now by all rights, I should see the square gradually move and
    stretch. But all Flash does is animate the motion of the square and
    show the end result of the stretch. There's no transformation in
    between. How can I fix this?

    or - convert it to a symbol forst - then create 2nd keyframe,
    use free transform tool and aply
    Motion tween. You are making the mistake of using the wrong
    tween for the wrong object or the right
    tween for the wrong shape.
    ~~~~~~~~~~~~~~~~
    --> Adobe Certified Expert
    --> www.mudbubble.com
    --> www.keyframer.com
    ~~~~~~~~~~~~~~~~
    Glitcher2000 wrote:
    > This is another common problem that's driving me up the
    wall:
    >
    > - At 0 frames, I draw a blue square with no border.
    > - I insert a keyframe on the 10th frame, then I move the
    square a short
    > distance and stretch it with the free transform tool.
    > - I create a motion tween between the two frames.
    >
    > Now by all rights, I should see the square gradually
    move and stretch. But all
    > Flash does is animate the motion of the square and show
    the end result of the
    > stretch. There's no transformation in between. How can I
    fix this?
    >

  • Command T (Transform) Not working

    I just installed Photoshop CS4 on my Mac.  My OS is 10.5.8.
    It appears the keyboard short cut command + T  for free transform is not working.    Other short cuts are working, like Command S, Command Z, the regular ones. But not sure what else may not be working if anything. Any suggestions? Ive already contacted my keyboard manufacture and they said its not an issue with the keyboard itself.

    Ive already contacted my keyboard manufacture and they said its not an issue with the keyboard itself.
    I'm shocked. Shocked I tell ya!
    Transform won't work on locked or background layers. You must also have a layer highlighted in blue (in the layers panel) for it to work. If not, you might try resetting the prefs (hold command-option-shift as you launch PS, and confirm at the prompt).

  • XSLT not working correctly in BPEL

    Hi,
    We are using XSLT to remove namespaces from our XSL. When testing this XSL in Jdeveloper, it works fine. But when we using it in BPEL, the transformation is not working correctly.
    Please find below the XSL content
    +<xsl:stylesheet version="1.0"+
    xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"                xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"+
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    exclude-result-prefixes="xsl xref xp20 bpws ora ehdr orcl ids hwf">
    +<xsl:template match="comment()|processing-instruction()|/">+
    +<xsl:copy>+
    +<xsl:apply-templates/>+
    +</xsl:copy>+
    +</xsl:template>+
    +<xsl:template match="*">+
    +<xsl:element name="{local-name()}">+
    +<xsl:apply-templates select="@* | node()"/>+
    +</xsl:element>+
    +</xsl:template>+
    +<xsl:template match="@*">+
              +<xsl:choose>+
                   +<xsl:when test="name() != 'xmlns'">+
                        +<xsl:attribute name="{local-name()}">+
                             +<xsl:value-of select="."/>+
                        +</xsl:attribute>+
                   +</xsl:when>+
              +</xsl:choose>+
    +</xsl:template>+
    +</xsl:stylesheet>+
    The BPEL code of the transform is:
    +<assign name="Transform_1">+
    +<bpelx:annotation>+
    +<bpelx:pattern>transformation</bpelx:pattern>+
    +</bpelx:annotation>+
    +<copy>+
    +<from expression="ora:processXSLT('Transformation_1.xsl',bpws:getVariableData('inputVariable','payload'))"/>+
    +<to variable="TempVar" part="payload" query="/ns1:mthReplacement_input"/>+
    +</copy>+
    +</assign>+
    Not sure why the transformation isnt working in BPEL. Has anyone faced similar issues? Please share your experiences.
    Thanks
    John

    Hi John ,
    We have tried this instead of writing new code in the xslt , pls do the following
    1.Open the xslt in jdev.
    2.Remove the attribute exclude-result-prefixes for the element xsl:stylesheet.
    3.Your new XSLT file should look like below,
    <xsl:stylesheet version="1.0"
    xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    +xmlns:ora="http://schemas.oracle.com/xpath/extension" xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    >
    ....business logic...
    </xsl:stylesheet>
    4.Compile and deploy your BPEL Process.
    5.You should not see any namespaces in the BPEL Console now for this xslt.
    Thank you.
    Regards
    Venkat.

  • Admin Server Console is not working

    Hi,
    I have installed weblogic server 9.2 wirh SIP server on win2k the created domain successfully. With "Admin Server Console", I can not do anything because I get following errors;
    It seems XML to HTML transform is not working? Any help is appreciated.
    "The template you provided at /WEB-INF/templates/form.xml could not be processed"
    "ERROR: 'Instruction unknown: loadinstruction'
    FATAL ERROR: 'Could not compile stylesheet'

    You are getting below exception when trying to start Weblogic Server or while accessing the Weblogic console URL?
    - - Weblogic Consultant

  • Inline transform for Sql Query not working in SAP MII 12.1 Version 12.1.8 B

    Hi All,
    I applied an xslt for an sql query which returns an xml file.
    I used inline transform icon in sql query to load an xsl file which has to return me a string
    Any idea why is not working for me..?
    My Sample XML file:
                                     <?xml version="1.0" encoding="UTF-8"?>
    <?xml-stylesheet type="text/xsl" href="/XMII/CM/BatchDisposition/BatchQueueManagement/StyleSheets/ProductXsl.xsl"?>
    <Rowsets DateCreated="2011-05-05T07:27:45" EndDate="2011-05-05T07:27:45" StartDate="2011-05-05T06:27:45" Version="12.1.8 Build(20)">
         <Rowset>
              <Columns>
                   <Column Description="ProductName" MaxRange="1" MinRange="0" Name="ProductName" SQLDataType="12" SourceColumn="ProductName"/>
              </Columns>
              <Row>
                   <ProductName>Asprin 100mg Tablets 12 x10 strip</ProductName>
              </Row>
              <Row>
                   <ProductName>Asprin 300mg Tablets 12 x10 strip</ProductName>
              </Row>
              <Row><ProductName>Ibprooven 200mg Tablets 12 x 10 strip</ProductName></Row>
              <Row><ProductName>RipTide 50mg Tablets 40 x10 strip</ProductName></Row>
              <Row><ProductName>Seroquel 200mg Tablets 6 x10 strip</ProductName></Row>
              <Row><ProductName>Seroquel 400mg Tablets 12 x10 strip</ProductName></Row>
         </Rowset>
    </Rowsets>
    My Sample XSl File:
                                    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="/">
         <xsl:text>["</xsl:text>
         <xsl:for-each select="Rowsets/Rowset/Row">
              <xsl:value-of select="ProductName"/>
              <xsl:if test="position() &lt; last()">
                   <xsl:text>","</xsl:text>
                    </xsl:if>
              <xsl:if test="position()=last()">
                           <xsl:text>"]</xsl:text>
                    </xsl:if>
         </xsl:for-each>
    </xsl:template>
    </xsl:stylesheet>
    Any Suggestions  are Welcome:
    Thanks

    Something like this should work...
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
         <xsl:template match="/">
              <Rowsets DateCreated="{Rowsets/@DateCreated}" Version="{Rowsets/@Version}" StartDate="{Rowsets/@StartDate}" EndDate="{Rowsets/@EndDate}">
                   <xsl:copy-of select="/Rowsets/FatalError"/>
                   <xsl:copy-of select="/Rowsets/Messages"/>
                   <Rowset>
                   <Columns>
                        <Column Description="Mycol1" MaxRange="1" MinRange="0" Name="Mycol1" SQLDataType="12" SourceColumn="Mycol1" />
                   </Columns>
                   <Row>
                   <Mycol1>
                   <xsl:text>["</xsl:text>
                        <xsl:for-each select="/Rowsets/Rowset/Row">
                             <xsl:value-of select="." />
                             <xsl:choose>
                                  <xsl:when test="position() &lt; last()"><xsl:text>","</xsl:text></xsl:when>
                                  <xsl:otherwise><xsl:text>"]</xsl:text></xsl:otherwise>
                             </xsl:choose>
                        </xsl:for-each>
                   </Mycol1>
                   </Row>
                   </Rowset>
              </Rowsets>
         </xsl:template>
    </xsl:stylesheet>

  • Free transform not working in CC [was:PLEASE HELP ME!!!]

    Hello! Please, Please Help me! I installed Photoshop CC to edit my photo and when I use  free transformation it is not working. I need just to transform one litte area in the photo.
    I have windows 7 64 bits. Thank you!

    Chris, Thank you! I wanted to change the eye area, so when I selected the area and used free transformation tool, it did not work. Free transformation worked only for the whole image but not for the selcted area. I was using this video. May be I need some more plug ins. http://www.youtube.com/watch?v=KI8Ab213ejU

  • XSLT construct "for each" not working in transformation

    Hi everyone I am using for each inside a transformation it was working fine until added parameters.After included parameters "for each" is not happening the db is invoked only once even if there are muliple nodes.
    can anyone help me on this issue. How to perform for each if paramaters are included

    This is the transform I am using the element used for for each is of unbounded type (typens:getRoutingAndFrameJumpersResponse/typens:oServFrmJmprInfo/typens:oFrmJmpr/typens:item)
    <?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="x.wsdl"/>
    <rootElement name="getRoutingAndFrameJumpersResponse" namespace="x.NetworkInstallations"/>
    </source>
    </mapSources>
    <mapTargets>
    <target type="XSD">
    <schema location="IROBO_PR_UPDATE_INSERT_JUMPER_INFO.xsd"/>
    <rootElement name="InputParameters" namespace="http://xmlns.oracle.com/pcbpel/adapter/db/IROBO/PR_UPDATE_INSERT_JUMPER_INFO/"/>
    </target>
    </mapTargets>
    <!-- GENERATED BY ORACLE XSL MAPPER 10.1.3.3.0(build 070615.0525) AT [TUE MAY 19 09:16:31 GMT+05:30 2009]. -->
    ?>
    <xsl:stylesheet version="1.0"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:typens="x.NetworkInstallations"
    xmlns:ns0="http://www.w3.org/2001/XMLSchema"
    xmlns:db="http://xmlns.oracle.com/pcbpel/adapter/db/IROBO/PR_UPDATE_INSERT_JUMPER_INFO/"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    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:wsdlns="http://y.com/WSAI/STAA/"
    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"
    exclude-result-prefixes="xsl wsdl typens ns0 soap wsdlns db bpws ehdr hwf xp20 xref ora ids orcl">
    <xsl:param name="MigrationId"/>
    <xsl:param name="LineNumber"/>
    <xsl:param name="DN"/>
    <xsl:template match="/">
    <xsl:for-each select=*"/typens:getRoutingAndFrameJumpersResponse/typens:oServFrmJmprInfo/typens:oFrmJmpr/typens:item"*>
    <db:InputParameters>
    <db:P_MIGRATION_ID>
    <xsl:value-of select="$MigrationId"/>
    </db:P_MIGRATION_ID>
    <db:CCT_ID>
    <xsl:value-of select="$DN"/>
    </db:CCT_ID>
    <db:FROM__FRAME_TERM_ID>
    <xsl:value-of select="typens:frameTermID1"/>
    </db:FROM__FRAME_TERM_ID>
    <db:FROM_EXTRA>
    <xsl:value-of select="typens:reformattedTermID1"/>
    </db:FROM_EXTRA>
    <db:FROM_MAP>
    <xsl:value-of select="typens:locationIn"/>
    </db:FROM_MAP>
    <db:TO_FRAME_TERM_ID>
    <xsl:value-of select="typens:frameTermID2"/>
    </db:TO_FRAME_TERM_ID>
    <db:TO_EXTRA>
    <xsl:value-of select="typens:reformattedTermID2"/>
    </db:TO_EXTRA>
    <db:TO_MAP>
    <xsl:value-of select="typens:locationOut"/>
    </db:TO_MAP>
    <db:TRANSACTION_ID>
    <xsl:value-of select='substring-after(../../../typens:e2EData,"q=")'/>
    </db:TRANSACTION_ID>
    <db:SEQ_NO>
    <xsl:value-of select="position()"/>
    </db:SEQ_NO>
    <db:LINE_NO>
    <xsl:value-of select="$LineNumber"/>
    </db:LINE_NO>
    </db:InputParameters>
    </xsl:for-each>
    </xsl:template>
    </xsl:stylesheet>

Maybe you are looking for

  • Configure SSL Throughout Portal in 10.1.2.0.2

    My installation is going to contain both the Infrastructure (IM, SSO) as well as the Middle-tier (Portal) and I want to later configure SSL. Oracle says in the documentation that the servername must be different for each home. I'm thinking that I wil

  • Upgrade my Mac Pro 1,1

    It's not a matter of $$. I just don't want to throw away my Mac Pro 1,1 2xDualCoreXeon, which is still in perfect shape. How can I upgrade it equivalent to Quad Core Nehalem ??

  • I am receiving an error message when syncing my blackber..​.

    I am receiving an error message when syncing my blackberry to my desktop

  • HTML Graph using PL/SQL

    hi, is there a way to draw a graph about a dataset and mail it with Oracle PL/SQL? Thanks for your help.

  • Time machine error code -6584

    went to Time Capsule using AirPort Utility erased backup from there to see if time machine trash would empty and then tried to open time machine it gave me this error code -6584 please some one please give an answer for this issue i see others have s