1 Reply Latest reply on Oct 28, 2011 5:20 PM by AbhishekJ

    Native Format Builder (nXSD) files, advanced use

    Pierluigi Vernetto
      in a OSB project, we must parse flat files (fixed length fields).
      I have used BEA MFL and I am not particularly enthusiastic.
      I would rather use the Oracle nXSD extensions, since in any case we use a JCA File Adapter.


      My questions (I am using "nXSD" to mean "Native Format Builder"):

      1- Where can I find the XSD describing the nXSD extensions? Here http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28994/nfb.htm#CCGECFFD I could find a lot of examples, but not the full definition of the nXSD standard.

      2- We would like to unit-test the transformation; is there a way to run a Java class, passing a flat_file, a nxsd file and returning the parsed XML ?

      3- Is nXSD fully supported in OSB?

      4- Anybody has ever run a performance comparison of MFL vs NXSD?

      5- Functionally, which one of the 2 formats, MFL or nXSD, is richer in features?



      Thank you sooooo much!
      Pierre
        • 1. Re: Native Format Builder (nXSD) files, advanced use
          AbhishekJ
          1- Where can I find the XSD describing the nXSD extensions? Here http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28994/nfb.htm#CCGECFFD I could find a lot of examples, but not the full definition of the nXSD standard.
          Unfortunately there is no full specification available for NFB (native format builder) and NXSD as far as I am aware.
          You will have to take a look at both 10g and 11g version of native format builder document. There are somethings which are available in only one of the documents.
          Link for 11g documentation:
          http://download.oracle.com/docs/cd/E21764_01/integration.1111/e10231/nfb.htm#TKADP2111

          2- We would like to unit-test the transformation; is there a way to run a Java class, passing a flat_file, a nxsd file and returning the parsed XML ?
          Here you go:
          http://blogs.oracle.com/adapters/entry/command_line_tool_for_testing

          3- Is nXSD fully supported in OSB?
          Yes it is fully supported as far as I know. Havnt seen any case where a feature works in SOA Suite but not in OSB regarding nXSD.

          4- Anybody has ever run a performance comparison of MFL vs NXSD?
          Unfortunately no. May be you can do that and also update this thread or write a blog entry regarding the same. Even I would be interested in knowing that! :)
          A suggestion if you go ahead with it, also run a performance comparison between File transport of OSB and JCA File Adapter if time permits. Somehow I always believed that file transport of Proxy works better than using a JCA adapter in OSB, but I may be wrong!

          5- Functionally, which one of the 2 formats, MFL or nXSD, is richer in features?
          Almost the same I would say. Havnt had any problems with either till now. Although I found nXSD a little bit easier to deal with.

          Hope this helps. I would also like to know views of others on this topic. It seems to me that MFL might get sidelined or retired in future releases of OSB as nXSD is certainly the strategic choice from Oracle's perspective and personally I will prefer going for nXSD instead of MFL for any new developments.
          1 person found this helpful