Mediator - XSLT with text output gives "Null of the input Source.

Hi all

I have a transformation XSLT which is supposed to transform XML (questioned by a file adapter) in a plain text file. I tried the transformation in several XSLT test online tools (for example, xslttest.appspot.com) and the output as expected, so I tend to believe that there is nothing wrong with how I do the transformation. I use the Ombudsman to make the transformation to a file adapter to write the result to a .txt document.

The XSLT I use for test purposes is as follows:

<?xml version="1.0" encoding="UTF-8"?> 
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:a="urn:oracle:b2b:X12/V4010/850" version="1.0">

<xsl:output method="text"/>
<xsl:template match="/a:Transaction-850">

  <xsl:text>0010CTCTL</xsl:text>
  <xsl:value-of select="a:Internal-Properties/a:Data-Structure/a:Property[@Name='InterchangeUsageIndicator']" />
   
 </xsl:template>

</xsl:stylesheet>

I have an another XSLT that transforms into a file html via a mediator and it works as it should, but when I replace the file processing by a method of text production, the Ombudsman does not have the transformation and the file adapter gives the following error:

«JCA Binding run 'Write' reference operations have to: null input Source.» Null input source. Input source is null. Please make sure that the outbound interaction receives a valid payload. ".

I don't know why the XSLT is not working for a text output as HTML output seems to work very well. For HTML output, in the file adapter, I would set the output the same as the incoming schema schema, so I don't know if this is what is causing problems when you perform the transformation to a text output (I also tried to set the opaque scheme, but no )

Is there something that I am missing so that the Ombudsman can make the transformation correctly and not give me the output in plain text format?

Thank you all for your time and help!

Well, I ended up being able to do from the payload of BPEL, using ora: processXSLT, encoding of the output of the transformation to base64binary and passing to the file as an opaque figure adapter. That seems to have done the work. If anyone knows another way to do it, please let me know! Thank you!

Tags: Fusion Middleware

Similar Questions

  • Is it possible to create a form with text boxes of "adjustment" to the participants to answer the questions?

    Is it possible to create a form with text boxes of "adjustment" to the participants to answer the questions? Questions are open to everyone, so asking narrative responses.

    Hi landon39843319,

    You can have fields flowing / more dynamic in a PDF of LiveCycle Designer form, but not in an AcroForm (only created in Acrobat).  LiveCycle Designer is a program completely separated used for are delivered with each purchase Acrobat Acrobat XI has been release.  Now you must buy separately.  But LiveCycle Designer PDF forms are wrapped in a shell of PDF so that they will be displayed and can be filled in the free Acrobat Reader DC and earlier versions.

    If you do this in Acrobat with an AcroForm, you have as much information typed into a field that the user wants, but he's going to show everything on the screen.  Displays only the text that fits into the field, then a + sign will appear in the field to indicate that there is more text in this field, you can scroll down to read.  You can also set the automatic font size so that as more text is entered in the police becoming smaller and smaller to adjust the text, but that is usually not desirable for many forms.

    Hope this helps,

    Dimitri

    WindJack Solutions

    www.pdfscripting.com

  • Not able to be seen on top of an image with no text wrapping, prepared text box to be on the top, on the top layer and works fine with all other images with text is near or above the image in this document, PLEASE HELP

    I have an InDesign Document with a handful of images and text on the top or near the images. This should be so simple, but for some reason, I keep having this problem. There is no build-up on the given word and I can't place any text on one of the images. All the settings for all of the images in this scenario are the same. I'm fine with everything else but this one...

    I don't see any boxes hidden or anything else for that matter. I've recreated text boxes and still have the same problem it appears then disappears or I can get only part of the Word visible on the image, then a + sign comes... It should work please help. I tried to recrete this particular image and word a handful of times its just not the text box woking sometimes added a sign which does no sense, I tried a different text alignment so +... Yes indeed HELP Please thank you I can send a screen if it helps

    Have you tried select the text block, and then go to object > text frame Options and checking the checkbox ignore text dressed ?

  • GET_SCHEMA_VIEW_VALUES output gives null

    Hello

    I am new to the Complutense University of MADRID. I use code RIDC below:

    dataBinder.putLocal ("IdcService", "GET_SCHEMA_VIEW_VALUES");
    dataBinder.putLocal ('schViewName', 'SecurityGroups');

    ServiceResponse response = idcClient.sendRequest (userContext, dataBinder);
    DataBinder serverBinder = response.getResponseAsBinder ();

    ResultSet DataResultSet = serverBinder.getResultSet("SecurityGroups");

    for (DataObject dataObject: resultSet.getRows ())
    System.out.println ("security group:"+ dataObject.get ('SecurityGroups'));


    I want that list to the security group as out put.
    But the I'm getting is as below:

    Security group: null
    Security group: null
    Security group: null
    Security group: null
    Security group: null
    Security group: null
    Security group: null
    Security group: null
    Security group: null
    Security group: null
    Security group: null
    Security group: null
    Security group: null
    Security group: null
    Security group: null

    Please help me with what's wrong in the code.

    Thank you.

    Hello

    Try this and see:

    for (DataObject dataObject: resultSet.getRows ()) {}
    System.out.println ("security group:" + dataObject.get ("dGroupName"));
    }

    Thank you
    Srinath

  • JDBC PreparedStatement gives null after the execution of a valid SELECT statement

    Hello

    I have the following code:
        public static String GetJobLogLocation(Connection connection, int jobId) throws SQLException
        {
            String sqlstr = "SELECT LOGFILE_NAME FROM apps.fnd_concurrent_requests WHERE REQUEST_ID = ?";
            PreparedStatement prest = connection.prepareStatement(sqlstr);
            prest.setInt(1, jobId);
            ResultSet rs1 = prest.executeQuery();
            String rv = null;
            if (rs1.next())
            {
                rv = rs1.getString(1);
                System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" + rv);
            }
            rs1.close();
            prest.close();
            return rv;
        }
    As you can see, this function executes a select statement. Before I continue, let me first say that executing the exact same statement in PL/SQL Developer (external program) gives correct/expected results. In addition, run this on my Windows gives correct results environment. I seem to have this problem only on my Unix (SunOS) environment.

    in any case, I get out of this function (running against my Unix environment, of course):

    + > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > + null

    The thing is, it doesn't error out, which means that the result set contains a string, but the string is returned to me with the null value, even if there is a real valid result (that is, in this case, a path).

    Someone has an idea, what happens? I tried to use ojdbc6.jar AND ojdbc14.jar is, with the same results. I just don't understand...

    Thank you.

    Published by: 964530 on 4 January 2013 14:31

    Published by: EJP on 01/07/2013-17:48: added {noformat}
    {noformat} tags and removed your bizarre bold formatting. Please do this properly in future.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

    ASCI says:
    I'm glad that this is a not prove to be a stupid question. At least I'm feeling a little justified due to this fact.

    There is no stupid question...; (o)

    So what remains is: your selection is too early. Can join after insertion, update to each line to trigger the table that loggs insert/update timestamp and the contents of the LOGFIILE_NAME field?

    Good bye
    DPT

  • How can I get speech recognition to work with text to train my voice, the way which the tutorial done?

    The tutorial of speech recognition to train my voice is not large enough for the engine get good recognition of my voice. I want to put in place a couple random pages of text (like a novel, etc.), and that I dictate the words in the program he would coordinate the words I read with the text I was reading from and type what I read to show how he got trained.

    Here is the translation of the above using the voice recognition program.

    If this tutorial from speech recognition to train my voice is not a large enough for the motor get a good and recognition of my voice.  I want to put in place a couple random pages of text (like a novel) which does not run and I dictate the words in the program that he would coordinate the words I read the text I was reading types of what I read, that the show has done which forms

    The foregoing would take a lot of editing, which I already did a large part of. Also if you change the type of microphone that you are using, you could start any training.

    I'd be cool if (with headphones), you might get feedback that the program thought you said so that you wouldn't be constantly replay to see if it came out correctly.

    Hello

    What version of the windows operating system is installed in the computer?

    Method 1:

    I suggest you to see the link (it is necessary for windows 7)

    Troubleshoot speech recognition

    http://Windows.Microsoft.com/en-NZ/Windows-Vista/troubleshoot-speech-recognition-problems

    Method 2:

    If you are using windows 7, I also suggest you to see the links and check.

    What can I do with speech recognition?

    http://Windows.Microsoft.com/en-us/Windows7/what-can-I-do-with-speech-recognition

    Common commands in speech recognition

    http://Windows.Microsoft.com/en-us/Windows7/common-commands-in-speech-recognition

    Add or edit words in the speech dictionary

    http://Windows.Microsoft.com/en-us/Windows7/add-or-edit-words-in-the-speech-dictionary

    Dictate text using speech recognition

    http://Windows.Microsoft.com/en-us/Windows7/dictate-text-using-speech-recognition

    See also:

    Setting speech options

    http://Windows.Microsoft.com/en-us/Windows7/setting-speech-options

    Set up speech recognition

    http://Windows.Microsoft.com/en-us/Windows7/set-up-speech-recognition

  • Error in the REST Web Service with the text output Format

    Hi all

    I am referencing a REST web service and can successfully connect to it and retrieve the results with the output XML value Format.

    I don't need the node values, I want to just grab the entire XML string and fill a table with her column.

    When I create a new Rest web service reference, including the text output Format value and then create a form/report to run it, I get the following error when I click on "send":

    ORA-06550: line 1, column 63: PLS-00103: encountered the symbol "end-of-file" when expects it one of the following numbers: (- + new case mod not null to other current County avg exists max min prior sql stddev sum variance execute forall time timestamp interval date fusion pipe)
    Error sending request.

    There is control in the XML characters, but surely, this is handled by the Apex, so I'm not sure what the problem is here.

    Any ideas most welcome.

    Thank you
    Rhodri

    Rhodri:

    Request Express waiting for answer text actually be answer text, delimited by other characters that denotes a new value and a new Recordset. You should leave the response as XML. The XML document will be stored in the column xmltype01 in the collection that you specify. You can then convert this column xmltype01 in a clob, if you like using the. toClobVal().

    Kind regards

    Jason

  • help me out with a query with an output that has own text.

    help me out with a query with an output that has own text.

    For example select name from tbl_name

    Ben "is my name"-> should be the output

    Hello

    3cc59f7b-B8C1-4EFA-8385-e0d8720a689c wrote:

    help me out with a query with an output that has own text.

    For example select name from tbl_name

    Ben "is my name"---> should be the output

    Sorry, it is not clear what you want.

    If the table contains only "Ben", then you can get the output above using a query like this:

    SELECT name. '' my name is' ' AS name_plus

    FROM tbl_name;

    I hope that answers your question.

    If this isn't the case, please post a small example data (CREATE TABLE and only relevant columns, INSERT statements), and the results you want from this data.

    Explain, using specific examples, how you get these results from these data.

    Always say what version of Oracle you are using (for example, 11.2.0.2.0).

    See the FAQ forum: https://forums.oracle.com/message/9362002#9362002

  • Problem with text NULL with DataGrid SelectedItems

    Hello

    I need to create a string based on the name property to the rows in a DataGrid.

    Here is my code:

    get the names of devices

    var idx:uint;

    var len:uint = dg.selectedItems.length;

    var deviceNames:String;

    for (idx = 0; idx < len; idx ++) {}

    deviceNames += dg.selectedItems [idx] ['name'] m:System.NET.SocketAddress.ToString () + ",";

    }

    Whenever I have trace or display the string deviceNames, there "null" in the beginning, like this:

    "nullDevice1, Device2.

    Why null appears? I tried to remove it, replace and nothing.

    I know you can use replace or concat, but none of those who work. There are only two rows in my datagrid. I don't know why NULL is even appearing at the beginning of the string. I changed the dimensions of the loop, because I thought that maybe it wasn't in zero-based, but still no luck.

    Hello

    you do not have assinged any value of type string to variable, so it is show null.

    Write like this...

    var deviceNames:String = "";

    It works perfectly. Let me know if you have any problem.

    with respect,

    Mayeul Singh Bartwal

  • null for the transfer of text code

    When I click on transfer text message on my Iphone the message I get on my IPAD, when being invited to enter the combinaisonprincipale ' on this Ipad enter (null) code on your Iphone now!  What the hell is happening?

    After a long and frustrating day of fruitless troubleshooting problems of software that does not exist on my iPhone, I'm beyond frustrated with Apple. (It is the material, guys, is the material.  Once again.)

    So when I had to reset all the settings of my iphone and redo the transmission of text, and I had THIS thing stupid "null" on my iPad mini, I had it pretty well.  Ready to just sit and cry.  And then get an Android.

    I AM happy to tell you, if annabel, than putting out my iPad mini and put back on the fixed power.  I tried again and got a code normal, digital that I could work with.

    It's the simplest solution I had with Apple throughout the day.  So try to disable your iPad and then turn on again.  Hope that works for you.

  • ListField line personalized with text and images

    Hello

    I use the example of complex files provided at this URL as a basis for my application. I want to do is get data feed from a Web site and post it in a ListField. Each row in the field has a picture and associated text.

    I made the following changes in my implementation of the application in the example

    1. create a normal ListField instead of a subclass of ListField

    2 getting data from the stream and fill a vector with the necessary information

    3. implementation of the ListFieldCallback.

    In the drawListRow of the callback method, I create a TableRowManager object and pass the data for that particular line. Using these data, I create fields and adding them to the TableRowManager. Then by the drawRow of the TableRowManager method, I call sublayout() and specifying the x, y, width, height for each field in the TableRowManager.

    Now, when you debug the application, I see that the drawListRow method is called whenever I move around the list or when the ListField is first added to its parent. But none of the fields or lines are displayed.

    DrawRow even is called whenever drawListRow. But the lines are never displayed. I just get a white screen. Tried to remove all fields and keep a single LabelField, but even that is not displayed.

    Here's the code, if this is useful

    Class TableRowManager

    private class TableRowManager extends Manager
        {
            int _index;
    
            TableRowManager(String myTxt, String msg, String imageUrl, int index)
            {
                super(0);
                BitmapField imgField = new WebBitmapField(imageUrl);
                add(imgField);
    
                LabelField personLabel = new LabelField(myTxt, DrawStyle.ELLIPSIS);
                add (personLabel);
    
                LabelField itemLabel = new LabelField(msg, DrawStyle.ELLIPSIS);
                add(itemLabel);
    
                _index = index;
            }
            public void drawRow(Graphics g, int x, int y, int width, int height)
            {
                layout(width, height);
                setPosition(x, y);
                g.pushRegion(getExtent());
                g.popContext();
            }
            protected void sublayout(int width, int height)
            {
                Field currField1 = getField(0);
                layoutChild(currField1, getPreferredWidth(), getPreferredHeight());
                setPositionChild(currField1,0,0);
                Field currField2 = getField(1);
                layoutChild(currField2, (int) Field.USE_ALL_WIDTH, getPreferredHeight());
    
                setPositionChild(currField2,40,80);
    
                Field currField3 = getField(2);
                layoutChild(currField3, (int) Field.USE_ALL_WIDTH, getPreferredHeight());
                setPositionChild(currField3,40,120);
    
                setExtent(getPreferredWidth(), getPreferredHeight());
            }
            public int getPreferredWidth()
            {
                return Display.getWidth();
            }
            public int getPreferredHeight()
            {
                return 150;
                //return height of row
            }
        }
    

    the callback method drawListRow

    public void drawListRow(ListField list, Graphics g, int index, int y, int w)
        {
            String text = (String)listElements.elementAt(index);
            String str1 = text.substring(0,text.indexOf("-"));
            String str2 = text.substring(text.indexOf("-")+2);
            String imageName = image[index];
           String url = "http://myURL/"+imageName;
           TableRowManager rowManager = new TableRowManager(str1,str2,url, index);
            rowManager.drawRow(g, 0, y, w, list.getRowHeight());
        }
    

    Can someone please help me with this. The format of what I'm looking for is something like this

    ------------

    | image |  LabelField1

    |           |  LabelField2

    -------------

    Thank you.

    What I usually do with the listField is myself to draw the bitmap and text, something like the following:

    ' public void drawListRow (list ListField, Graphics g, int index, int y, int w)
    {
    String text = (String) listElements.elementAt (index);
    String str1 = text.substring (0, text.indexOf("-"));
    String str2 = text.substring (text.indexOf("-") + 2);
    String imageName = image [index];

    Z.i. bitmap = / * get the bitmap * / (better preparation before coming here, for performance)

    int xPos = LEFT_OFFSET;
    int ypos = TOP_OFFSET + y;
    int w = bitm.getWidth ();
    int h = bitm.getHeight ();
    fontHeight int = this.getFont () .getHeight ();

    g.drawBitmap (PosX, Posy, w, h, z.i., 0, 0);

    PosX = w + SOME_OFFSET

    graphics.drawText (str1, xpos, ypos);
    YPos += fontHeight;

    graphics.drawText (str2, xpos, ypos);

    }

    It worked for me all the time.

    Of course, I don't want to say that do you it this way, but I'm just give another alternative that works.

    Rab

  • BlackBerry 5 - image with text and the background transparent resizing

    Hey,.

    My application consists of a series of images stacked on each other. Some are transparent, some are not. I use images high resolution and resize them based on the width of the screen of the blackberry that runs the application.

    I'm having some trouble resizing of images with text on a transparent background. The resulting image is not of all anti-aliasing. This is the code I use to do:

    function scaleBitmap(Bitmap bmp){
    
    int rgb[] = new int[imageWidth * imageHeight];
    bmp.getARGB(rgb, 0, imageWidth, 0, 0, imageWidth, imageHeight);
    int rgb2[] = rescaleArray(rgb, imageWidth, imageHeight, width, height);
    scaledBmp.setARGB(rgb2, 0, width, 0, 0, width, height);
    
    return scaledBmp;
    }
    

    And here are the results from a group of images resized in photoshop:

    Is it possible that I could improve my resize code to give better results?

    Thanks in advance!

    I found a solution and it is on these forums all the time!

    http://supportforums.BlackBerry.com/T5/Java-development/solution-for-properly-resizing-transparent-b...

  • Help with text input boxes

    I am relatively new to Captivate 7.  I am doing a project which has a couple of slides with text input boxes (TEBs).  They are not marked nor part of the graduate quiz.  They are more like knowledge-check questions as we go through the course.  How to make sure that they are filled before moving on to the next slide?  Is it possible to go about this?  The other thing is exactly how a submit button for this work?  I did an overview of my project and the submit button doesn't seem to be something.  Help, please.

    Thank you

    Ms. frustrated

    Check out the Lilybiri blog. This is a response with a demo.

    http://blog.lilybiri.com/where-is-null

    Anthony

  • Hide the text output of Web app

    I have a web application that is released to two lists in numerical order.  A list of the 10 works very well. The others, I want to show only the largest number in this list. It displays the highest number in this list, but it also generates the following:

    • 1
    • 2
    • Next

    I want to hide the text from view. The module I use is {module_webapps, 19851, c., 77844, 1, 1} . Now what input CSS or Java can use to hide the text above?

    Thank you

    Why do? You can do this with pure CSS >

    Wrap the list in a container with ID and you can hide the paginaiton as it has class fairly easy. The rest and how BC outputs paging is also easy.

    First element of a list of li thus is also done in pure CSS.

  • Can I create a book, whose pages are dynamically filled with text, images?

    Can I create a book, whose pages are dynamically filled with text, photos, videos?

    And then want to give these pages a curl effect when activated. Pls. note I want to build these pages on the fly.

    If it is possible, what are the possible technologies that I can use?

    See you soon,.

    Samantray

    Flash can read data from several sources (XML files, text files, on the web, on-site, etc.) and you can use these data to populate your address dynamically. He can do the same thing with the pictures and any other active flash can use (images, video, etc).

    The effect of curvature of page can be done in different ways. Just google for flash page flip effect and tons of resources and tutorials will appear laboriously explaining how to do it.

Maybe you are looking for

  • Satellite P200 - 16 X - cooling system does not work

    Hello Since a few days, I have a problem with my P200 - 16 X. The cooling system no longer works and so tmy laptop overheating... until stop you it immediately. So I have to wait a while before being able to use it (the fridge is really good to cool,

  • lnovo tactile a7000 responds only partially...

    Lenovo A7000 touchscreen does not... I contacted the customer service who asked me to download lnovo companion to diagnose the problem. Screen touch not working in a vertical jet... .WAT do now... help pl...

  • What happens to parsing xml?

    Hello I haven't checked the front for bb xml parsers and now I need to analyze a simple file, smth like: So, it's pretty simple. can anyone suggest me which library should I use and what start? concerning

  • Cannot write to the file system on BlackBerry 10

    Hello I'm writing a text file to the filesystem on my BlackBery 10 DevAlphaB device. When I do, I have an onwriteerror that occur. {'type': "error", "bubbles": fake, "cancelBubble": false, 'voidable': fake, 'lengthComputable': false, 'loaded': 0, 'to

  • Updates IOS on 1131

    Hello I am fairly new to the APs. Have not yet updated of any code. I just downloaded an image and noticed it is tarred. The AP automatically recognize this format and unpack? I know from the router and firewall releases that have the latest isn't al