Transformation in JDeveloper

Sorry if the question may be a bit offtopic but I didn't find a better fitting Forum in time. I'm trying to map a source-xml to a target-xml in the JDeveloper using the transformation-activity. The Problem ist that the source-xml looks like this:
<...>
<Produkt1>62</Produkt1>
<Produktzusatz1>64</Produktzusatz1>
<Geschaeftsfall1>66</Geschaeftsfall1>
<Stueck1>68</Stueck1>
<Produkt2>69</Produkt2>
<Produktzusatz2>71</Produktzusatz2>
<Geschaeftsfall2>73</Geschaeftsfall2>
<Stueck2>75</Stueck2>
<Produkt3>76</Produkt3>
<Produktzusatz3>78</Produktzusatz3>
<Geschaeftsfall3>80</Geschaeftsfall3>
<Stueck3>82</Stueck3>
<...>
But the target-xml should be transformed to:
<auftragPosition>
<Produkt>62</Produkt>
<Produktzusatz>64</Produktzusatz>
<Geschaeftsfall>66</Geschaeftsfall>
<Stueck>68</Stueck>
</auftragPosition>
<auftragPosition>
<Produkt>69</Produkt>
<Produktzusatz>71</Produktzusatz>
<Geschaeftsfall>73</Geschaeftsfall>
<Stueck>75</Stueck>
</auftragPosition>
<auftragPosition>
<Produkt>76</Produkt>
<Produktzusatz>78</Produktzusatz>
<Geschaeftsfall>80</Geschaeftsfall>
<Stueck>82</Stueck>
</auftragPosition>
Is it possible to get this transformed? My problem is the different node-Name in the source-xml (product1, product2...). Otherwise a for-each "product" could be used.

I found it by myself, although it's not too elegant...
<xsl:for-each select='//*\[starts-with(name(), "Produkt1")\]'>
<!-- Nur falls Produkt wirklich gefuellt ist uebernehmen -->
<xsl:if test="string()!=''">
<types:auftragPosition>
<types:Produkt>
<xsl:value-of select="string()"/>
</types:Produkt>
<xsl:for-each select='//*\[starts-with(name(), "Produktzusatz1")\]'>
<types:Produktzusatz>
<xsl:value-of select="string()"/>
</types:Produktzusatz>
</xsl:for-each>
<xsl:for-each select='//*\[starts-with(name(), "Geschaeftsfall1")\]'>
<types:Geschaeftsfall>
<xsl:value-of select="string()"/>
</types:Geschaeftsfall>
</xsl:for-each>
<xsl:for-each select='//*\[starts-with(name(), "Stueck1")\]'>
<types:Stueck>
<xsl:value-of select="string()"/>
</types:Stueck>
</xsl:for-each>
</types:auftragPosition>
</xsl:if>
</xsl:for-each>
Hmm... maybe someday someones reads this while searching for an equal problem ;)

Similar Messages

  • How to debug AIA XSLT transformation in Jdeveloper ?

    Hi AIA forum members,
    I need to Test and debug an AIA XSL transformation. Can i use Jdeveloper to do this ?
    I understand that we can test by right clicking and using the "Test" option but then again it fails while processing the XSL as it is unable to execute lookupXRef, lookupDVM and also is not able to recognise the oracle xpath extension functions.
    Rgds,
    Vik

    Hi Vik,
    If you are on 10g, I suggest you run a search on Metalink for AIA Jdeveloper Patch download. Install the patch for Jdeveloper on windows and then you should be able to test the XSLs.
    If its on 11g, am not sure, as I have just started looking for that patch.
    Cheers,
    - AR

  • XSLT single elements to multi elements

    I need to transform the input on the left into the format on the right with a transformation in jdeveloper BPEL:
           Coming In:                                Desired Output:
    <inputone>test1</inputone> ---------> <input attr="one">test1</input>
    <inputtwo>test2</inputtwo> ---------> <input attr="two">test2</input>
    <inputthr>test3</inputthr> ---------> <input attr="thr">test3</input>Not sure how to handle this single node to multi node.....thanks.

    Your requirement is to clone the input element.
    In Jdev, the only XSLT construct that may be cloned is the for-each element.
    So your steps would be:
    1. Right-Click the Input element and add XSL Node for-each.
    2. Right-Click the for-each and clone 3 times.
    3. Map inputone to the 1st for-each and the 1st attr.
    4. Repeat step 3 twice to map 2nd and 3rd for-each and the attrs to inputtwo and inputthr respectively.
    HTH,
    Neil.

  • Exception in thread "main" java.lang.NoClassDefFoundError: oracle/i18n/text

    Hi All
    I am using XSLT transformation in JDeveloper with the following code but getting exception. How to avoid using Oracle XSLT processor which looks incomplete ?
    TransformerFactory factory = TransformerFactory.newInstance();
    Transformer transformer;
    try {
    result =
    new StreamResult(new OutputStreamWriter(new FileOutputStream(output),
    "UTF-8"));
    transformer = factory.newTransformer(XSLTFile);
    transformer.transform(inputXML, result);
    } catch (TransformerException e) {
    e.printStackTrace();
    } catch (UnsupportedEncodingException e) {
    e.printStackTrace();
    } catch (FileNotFoundException e) {
    e.printStackTrace();
    Code runs fine but throws exception when there is any XPath expression in the XSLT file such as
    /ns:root/sa:node[@name='attribName']
    It does not show exception for simple expressions like "/ns:root/sa:node"
    Exception is
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/i18n/text/OraCollator
    at oracle.xml.xqxp.functions.builtIns.FNUtil.getCollator(FNUtil.java:355)
    at oracle.xml.xqxp.datamodel.OXMLItem.compareValue(OXMLItem.java:1080)
    at oracle.xml.xpath.XPathItem.compareValue(XPathItem.java:409)
    at oracle.xml.xpath.XPathSequence.compareGeneral(XPathSequence.java:1477)
    at oracle.xml.xpath.ComparisonExpr.evaluate(XSLExpr.java:1507)
    at oracle.xml.xpath.XPathPredicate.filter(XPathPredicate.java:264)
    at oracle.xml.xpath.XPathChildAxis.getNodeList(XPathAxis.java:580)
    at oracle.xml.xpath.XPathStep.evaluate(XPathStep.java:555)
    at oracle.xml.xpath.PathExpr.evaluate(XSLNodeSetExpr.java:859)
    at oracle.xml.xpath.XSLExprBase.streamingEvaluate(XSLExprBase.java:392)
    at oracle.xml.xslt.XSLForEach.processAction(XSLForEach.java:135)
    at oracle.xml.xslt.XSLNode.processChildren(XSLNode.java:497)
    at oracle.xml.xslt.XSLTemplate.processAction(XSLTemplate.java:205)
    at oracle.xml.xslt.XSLStylesheet.execute(XSLStylesheet.java:585)
    at oracle.xml.xslt.XSLProcessor.processXSL(XSLProcessor.java:332)
    at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:485)
    PS. my XSLT version is <?xml version="1.0" , can't make it to 2.0 as Jdeveloper (11.1.1.5.0) throws error during compilation.

    The exception got resolved by the library orai18n-collation.jar in the directory "Oracle\Middleware\oracle_common\modules\oracle.nlsrtl_11.1.0"
    However I wanted to completely avoid Oracle V2 Parser as it was working in a fresh project where only standard import javax.xml.transform.Transformer was available.

  • Export of BPEL process :  ?oracle-xsl-mapper? is missing from XSL file

    Hi,
    I am trying to export a BPEL process from Enterprise Manager 11g console (version:11.1.1.2.0). After exporting, i dont see the tag <?oracle-xsl-mapper?> inside xsl/*.xsl files.Because of this i couldnt open the transformation from Jdeveloper.Is any one faced this issue.Is there any workaround for this.
    thanks,
    ashok

    Most of the deploy files are also BPEL Unix server. Login to BPEL Unix server and looking for deploy files /apps1/u10/BPEL/bpel/domains/default/tmp. Identify the .xsl file and replace in it your Jdevelper work folder.

  • Getting error can not find xsl file at esb:///esb_projects/...

    Hi,
    I have one esb project 'A' that is invoking another esb 'B' that contains transformation. Routing rules are defined from server deployed service no soap service call. So in esbsvc file it puts xsl url as esb:///esb_projects/....
    When i deploy A and test it, i get error unable to find xsl file in path esb:///esb_projects/...
    I tried to look into this issue, it looks like all files are stored under temp_xxx_localhost directory.
    did any one find solution for it?
    Note: this issue will come only if you have transformation at B service.

    Have you checked the logs in enterprise manager on deployment?
    Can you run esb B independently? Again via the em choose the web service end point to test.
    I have not had a problem with a missing xsl. You can create test cases for xsl transformations within JDeveloper which will enable to test the validity of you transformation. But, it sound like you are already beyond this point.

  • Getting error can not find xsl file esb:///ESB_PROJECTS/...

    Hi,
    I have one esb project 'A' that is invoking another esb 'B' that contains transformation. Routing rules are defined from server deployed service no soap service call. So in esbsvc file it puts xsl url as esb:///esb_projects/....
    When i deploy A and test it, i get error unable to find xsl file in path esb:///esb_projects/...
    I tried to look into this issue, it looks like all files are stored under temp_xxx_localhost directory.
    did any one find solution for it?
    Note: this issue will come only if you have transformation at B service.

    Have you checked the logs in enterprise manager on deployment?
    Can you run esb B independently? Again via the em choose the web service end point to test.
    I have not had a problem with a missing xsl. You can create test cases for xsl transformations within JDeveloper which will enable to test the validity of you transformation. But, it sound like you are already beyond this point.

  • JDeveloper transformation not working

    When I start JDeveloper i get the following error
    C:\Oracle\Middleware\jdeveloper\integration\seed\soa\configuration\bpm-xpath-functions-config.xml (The system cannot find the file specified)
    and when I try to create a transform activity the following error is thrown
    Previously reported error [NPE in o.ji.vcs.generic.GenericClient:1475]
    Previously reported error [NPE in o.tip.tools.ide.tx.addin.MapperOptions:202]
    I am running Windows 7 with Service Pack 1 and JDeveloper 11.1.1.6.0 with soa-jdev-extension_v11.1.1.6.0.15.53.zip
    Does anyone know how to resolve this error?

    Was it working earlier ?
    I think you dont have those path correct from the place where you are running the Jdeveloper.
    If not the above, you could have a corupted Jdeveloper, you may need to reinstall the Jdeveloper.
    Thanks,
    Vijay

  • JDeveloper BPEL Designer Tool: Transformation Question

    Hello,
    I am prototyping a small web service orchestration demo.
    I have 3 Schema Elements - Request, IndividualResponse, and CombinedResponse
    I invoke 3 web service invocations in parallel - each of which takes a Request and returns an IndividualResponse
    I need to populate a single CombinedResponse with the contents of the 3 IndividualResponses.
    When I try a transformation node (to map an IndividualResponse to a CombinedReponse), the IndividualResponses overwrite each other's information in a single node within the CombinedResponse. I want the contents of the IndividualResponses to go into separate nodes within the CombinedResponse.
    Any ideas on how to do this in the Oracle JDeveloper BPEL Designer Tool?
    Thanks!
    -SN

    Transformation by definition converts one xml format to another. What you need to do is perform multiple assigns to copy the individual responses to the combined response.
    --Nizam                                                                                                                                                                                                                                                                                                                                                                           

  • JDeveloper can not transform XML in the database??

    HI Gentlemen,
    I have a small application to transform an XML instance from XQuery into HTML in some way. This should be done in an XSQL page in JDeveloper.
    I have the following experience:
    XQuery transformation is OK as long as the stylesheet is in the application as an XSL file
    <?xml version="1.0" encoding='windows-1252'?>
    <?xml-stylesheet type="text/xsl" href="rtest.xsl" ?>
    <!--<?xml-stylesheet type="text/xsl" href="/public/gks/kbv/gksadmin/rtest.xsl" ?>-->
    <page  connection="gksconnection" xmlns:xsql="urn:oracle-xsql" >
    <xsql:query>
    SELECT
      XMLQuery(
        'xquery version "1.0"; (: :)
         declare namespace n1="urn:ehd/001"; (: :)
         declare namespace n2="urn:ehd/go/001"; (: :)
         let $i := /n1:ehd/n1:body/n2:gnr_liste/n2:gnr
         where $i[@n2:V = "01700V"]
         return $i'
        PASSING xml_document
        RETURNING CONTENT
      AS result
    FROM z
    </xsql:query>
    </page>Transformation is not done, when the same stylesheet is in XMLDB as a resource
    <?xml version="1.0" encoding='windows-1252'?>
    <!--<?xml-stylesheet type="text/xsl" href="rtest.xsl" ?>-->
    <?xml-stylesheet type="text/xsl" href="/public/gks/kbv/gksadmin/rtest.xsl" ?>
    <page  connection="gksconnection" xmlns:xsql="urn:oracle-xsql" >
    <xsql:query>
    SELECT
      XMLQuery(
        'xquery version "1.0"; (: :)
         declare namespace n1="urn:ehd/001"; (: :)
         declare namespace n2="urn:ehd/go/001"; (: :)
         let $i := /n1:ehd/n1:body/n2:gnr_liste/n2:gnr
         where $i[@n2:V = "01700V"]
         return $i'
        PASSING xml_document
        RETURNING CONTENT
      AS result
    FROM z
    </xsql:query>
    </page>I am getting the following error message
    Oracle XML Developers Kit 11.1.1.3.0 - Production
    XML-25008: XSLT-Stylesheet kann nicht gefunden werden: /public/gks/kbv/gksadmin/rtest.xslFinally, transformation also fails when trying to use XMLtransform() and referencing the stylesheet thru XDBURITYPE().
    SELECT XMLSerialize(DOCUMENT
      XMLTransform(
        XMLQuery(
         'xquery version "1.0"; (: :)
          declare namespace n1="urn:ehd/001"; (: :)
          declare namespace n2="urn:ehd/go/001"; (: :)
          let $i := /n1:ehd/n1:body/n2:gnr_liste/n2:gnr
          where $i[@n2:V = "01700V"]
          return $i'
         PASSING xml_document
         RETURNING CONTENT
      , xdburitype('/public/gks/kbv/gksadmin/rtest.xsl').getxml()
      AS CLOB INDENT
    FROM zCan anyone tell me: is there a safe way of transforming in the database with JDeveloper? I am all for avoiding the file system (where both techniques work fine!) and would like to perform each activity in the database, thereby being browser-independent.
    Thank you in advance, kind regards
    Miklos HERBOLY
    Edited by: mh**** on Apr 29, 2011 3:25 AM
    Edited by: mh**** on Apr 29, 2011 3:27 AM
    Edited by: mh**** on Apr 29, 2011 3:28 AM
    Edited by: mh**** on Apr 29, 2011 3:29 AM

    HI Gentlemen,
    I have a small application to transform an XML instance from XQuery into HTML in some way. This should be done in an XSQL page in JDeveloper.
    I have the following experience:
    XQuery transformation is OK as long as the stylesheet is in the application as an XSL file
    <?xml version="1.0" encoding='windows-1252'?>
    <?xml-stylesheet type="text/xsl" href="rtest.xsl" ?>
    <!--<?xml-stylesheet type="text/xsl" href="/public/gks/kbv/gksadmin/rtest.xsl" ?>-->
    <page  connection="gksconnection" xmlns:xsql="urn:oracle-xsql" >
    <xsql:query>
    SELECT
      XMLQuery(
        'xquery version "1.0"; (: :)
         declare namespace n1="urn:ehd/001"; (: :)
         declare namespace n2="urn:ehd/go/001"; (: :)
         let $i := /n1:ehd/n1:body/n2:gnr_liste/n2:gnr
         where $i[@n2:V = "01700V"]
         return $i'
        PASSING xml_document
        RETURNING CONTENT
      AS result
    FROM z
    </xsql:query>
    </page>Transformation is not done, when the same stylesheet is in XMLDB as a resource
    <?xml version="1.0" encoding='windows-1252'?>
    <!--<?xml-stylesheet type="text/xsl" href="rtest.xsl" ?>-->
    <?xml-stylesheet type="text/xsl" href="/public/gks/kbv/gksadmin/rtest.xsl" ?>
    <page  connection="gksconnection" xmlns:xsql="urn:oracle-xsql" >
    <xsql:query>
    SELECT
      XMLQuery(
        'xquery version "1.0"; (: :)
         declare namespace n1="urn:ehd/001"; (: :)
         declare namespace n2="urn:ehd/go/001"; (: :)
         let $i := /n1:ehd/n1:body/n2:gnr_liste/n2:gnr
         where $i[@n2:V = "01700V"]
         return $i'
        PASSING xml_document
        RETURNING CONTENT
      AS result
    FROM z
    </xsql:query>
    </page>I am getting the following error message
    Oracle XML Developers Kit 11.1.1.3.0 - Production
    XML-25008: XSLT-Stylesheet kann nicht gefunden werden: /public/gks/kbv/gksadmin/rtest.xslFinally, transformation also fails when trying to use XMLtransform() and referencing the stylesheet thru XDBURITYPE().
    SELECT XMLSerialize(DOCUMENT
      XMLTransform(
        XMLQuery(
         'xquery version "1.0"; (: :)
          declare namespace n1="urn:ehd/001"; (: :)
          declare namespace n2="urn:ehd/go/001"; (: :)
          let $i := /n1:ehd/n1:body/n2:gnr_liste/n2:gnr
          where $i[@n2:V = "01700V"]
          return $i'
         PASSING xml_document
         RETURNING CONTENT
      , xdburitype('/public/gks/kbv/gksadmin/rtest.xsl').getxml()
      AS CLOB INDENT
    FROM zCan anyone tell me: is there a safe way of transforming in the database with JDeveloper? I am all for avoiding the file system (where both techniques work fine!) and would like to perform each activity in the database, thereby being browser-independent.
    Thank you in advance, kind regards
    Miklos HERBOLY
    Edited by: mh**** on Apr 29, 2011 3:25 AM
    Edited by: mh**** on Apr 29, 2011 3:27 AM
    Edited by: mh**** on Apr 29, 2011 3:28 AM
    Edited by: mh**** on Apr 29, 2011 3:29 AM

  • XML Transformation Problem in JDeveloper 10.1.3

    I am trying to transform an XML using an XSL, by a Java program, which uses javax.xml.transform.Transformer.
    I have a Java project which has the above said program, where when i run the program, the xml transformation is done successfully.
    But I have a Web project created, where i have the java project's jar in the WEB-INF/lib. And, when i tried to access the same java program from inside the web project, I am getting the following error:
    XML-22000: (Fatal Error) Error while parsing XSL file (unknown protocol: c).
    Please help in resolving this error.

    This is from Metalink:
    Cause
    This is caused by a conflict between the Oracle XML parser installed by default in OC4J and the
    Xerces parser that the application was developed with. Under 10.1.3 OC4J it is possible to tell OC4J not to use the default XML parser for the application at deployment time.
    Solution
    1. Undeploy the existing application using AS Console.
    2. Start a new deployment of the application in AS Console. Click deploy
    3. On the Deploy: Select Archive screen, browse to your deployment war file. Click Next
    4. On the Deploy: Application Attributes give the application a name and click next
    5. On the Deploy: Deployment Settings screen, click the pencil "Go To Task" Icon for the Configure Class Loading option.
    6. Locate the shared library called "oracle.xml" (You may need to click "next 10" one or many times depending on the number of shared libraries you have) . For this row, UNCHECK the box for the column "IMPORT". Click OK
    7. Click deploy, then test you application.

  • XSLT transform problem in JDeveloper 9i

    I have the following method which is called from a JSP which accepts an XMLDocument and XSL filename, generates HTML and sends this to the response object:
    public void processOutput(HttpServletResponse response
    , XMLDocument xmlDoc
    , String xslFileName)
    throws Exception
    DOMParser parser = new DOMParser();
    parser.setPreserveWhitespace(true);
    XMLDocument xslDoc = null;
    PrintWriter out = null;
    try{
    URL xslURL = new URL(xslFileName);
    parser.parse(xslURL);
    xslDoc = parser.getDocument();
    XSLStylesheet xslStyleSheet = new XSLStylesheet(xslDoc, xslURL);
    XSLProcessor processor = new XSLProcessor();
    response.setContentType("text/html");
    out = response.getWriter();
    processor.processXSL(xslStyleSheet, xmlDoc,out);
    catch (Exception e){
    throw new Exception("ERROR in XSLTManager.processOutput:"+e.getMessage());
    finally{
    xslDoc = null;
    out=null;
    when I run this in Jdeveloper 3.1.1.2 it works fine. When I run it in Jdeveloper 9.0.3.1 I get the following error ...
    java.lang.Exception: ERROR in XSLTManager.processOutput:OutputStream already retrieved
    ... caused by the following line ...
    out = response.getWriter();
    Any help on this would be appreciated.

    JDev 3.1 uses Oracle Web-to-Go as its servlet engine, and uses a previous release of Oracle JSP.
    JDev 9.0.3 uses Oracle Containers for Java 9.0.3 (OC4J), and a later release of Oracle JSP.
    Something in your JSP page has caused the JSP infrastructure to already get the outputstream, so you cannot get the writer. You'll need to:
    (1) Figure out why your page is using the servlet output stream before you think it should be -- perhaps a <jsp:include flush="true"> in there? --, or
    (2) Call getOutputStream() and let XSLT write to the outputstream instead of the writer.

  • XML Transformation Problem in JDeveloper 11.1.1.3.0

    Friends,
    I am trying to transform an XML using an XSL, by a Java program, which uses javax.xml.transform.Transformer.
    I have a Java project which has the above program and I have a Web project created, where i have the java project's jar in the WEB-INF/lib. And, when i tried to access the same java program from inside the web project, I am getting the following error:
    XML-22000: (Fatal Error) Error while parsing XSL file ({0}).
    oracle.jbo.JboException: XML-22000: (Fatal Error) Error while parsing XSL file ({0}).
    Code in ServiceAMImpl class:
    TransformerFactory factory = TransformerFactory.newInstance();
    template =
    factory.newTemplates(new StreamSource(AMImpl.class.getClassLoader().getResourceAsStream("text.xsl")));
    AMImpl.class.getClassLoader().getResourceAsStream("text.xsl") is returning NULL.
    Please help in resolving this error.
    Thanks much.

    Hi,
    I figured out the problem. The file was not in correct class path. Now it works fine.
    Thanks everyone.

  • Jdeveloper, creation of a transformation for ESB project

    When I create a transformation, in a Routing Service, using a WSDL that has a operation that returns a string type (for example string called: status), the XSL is created but when I got to the desing of the XSL so i can create the mappings, i cannot define any mapping in the UI because it displays the error message: invalid reference status. Similar error happens when I create a JMS adapter, when I try to specify a schema to use that is sinde the wsdl, it displays the error, then i cannot save my changes so no JMS adapter can be created. Do you guys had experimented similar issue?

    User,
    I suggest you ask on the [url http://forums.oracle.com/forums/forum.jspa?forumID=320]SOA Suite Forum
    Best,
    john

  • Inserting null values from FileAdapter to DB Adapter thru Transform activit

    Hi,
    i am trying to insert a record from a file to DB for that i have used FileAdapter and DB Adapter in between it have used Tranform activity for passing from fileadpter receive var to Db Adapter Invoke var can .in the Bpel Instance values are passed up to tranform activity
    below the xsl code and Bpel code
    Xsl
    +<?xml version="1.0" encoding="UTF-8" ?>
    <?oracle-xsl-mapper
    <!-- SPECIFICATION OF MAP SOURCES AND TARGETS, DO NOT MODIFY. -->
    <mapSources>
    <source type="XSD">
    <schema location="test3_1.xsd"/>
    <rootElement name="readrecord" namespace="http://TargetNamespace.com/pickfile"/>
    </source>
    </mapSources>
    <mapTargets>
    <target type="XSD">
    <schema location="insertintoTbl_table.xsd"/>
    <rootElement name="XxempCollection" namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/insertintoTbl"/>
    </target>
    </mapTargets>
    <!-- GENERATED BY ORACLE XSL MAPPER 10.1.3.5.0(build 090730.0200.1754) AT [FRI MAY 20 16:46:20 IST 2011]. -->
    ?>
    <xsl:stylesheet version="1.0"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
    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:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:ns0="http://xmlns.oracle.com/pcbpel/adapter/db/top/insertintoTbl"
    xmlns:tns="http://TargetNamespace.com/pickfile"
    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"
    exclude-result-prefixes="xsl xsd nxsd tns ns0 bpws ehdr hwf xref xp20 ora orcl ids">
    <xsl:template match="/">
    <ns0:XxempCollection>
    <ns0:Xxemp>
    <ns0:empcode>
    <xsl:value-of select="/tns:readrecord/tns:C1"/>
    </ns0:empcode>
    <ns0:emptr>
    <xsl:value-of select="/tns:readrecord/tns:C2"/>
    </ns0:emptr>
    <ns0:name>
    <xsl:value-of select="/tns:readrecord/tns:C3"/>
    </ns0:name>
    <ns0:division>
    <xsl:value-of select="/tns:readrecord/tns:C4"/>
    </ns0:division>
    <ns0:dept>
    <xsl:value-of select="/tns:readrecord/tns:C5"/>
    </ns0:dept>
    <ns0:doj>
    <xsl:value-of select="/tns:readrecord/tns:C6"/>
    </ns0:doj>
    <ns0:designation>
    <xsl:value-of select="/tns:readrecord/tns:C7"/>
    </ns0:designation>
    <ns0:qualification>
    <xsl:value-of select="/tns:readrecord/tns:C8"/>
    </ns0:qualification>
    </ns0:Xxemp>
    </ns0:XxempCollection>
    </xsl:template>
    </xsl:stylesheet>
    +
    Bpelcode
    +
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <!--
    Oracle JDeveloper BPEL Designer
    Created: Thu May 19 19:43:57 IST 2011
    Author: naveenv
    Purpose: Empty BPEL Process
    -->
    <process name="FileToTbl" targetNamespace="http://xmlns.oracle.com/FileToTbl"
    xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:ns4="http://xmlns.oracle.com/pcbpel/adapter/db/APPS/BPELINSERT/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:ns5="http://xmlns.oracle.com/pcbpel/adapter/db/insertintoTbl/"
    xmlns:client="http://xmlns.oracle.com/FileToTbl"
    xmlns:ns6="http://xmlns.oracle.com/pcbpel/adapter/db/top/insertintoTbl"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/file/pickfile/"
    xmlns:ns3="http://TargetNamespace.com/pickfile"
    xmlns:ns2="http://xmlns.oracle.com/pcbpel/adapter/db/inserttoTbl/"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc">
    <!--
    PARTNERLINKS
    List of services participating in this BPEL process
    -->
    <partnerLinks>
    <partnerLink myRole="Read_role" name="pickfile"
    partnerLinkType="ns1:Read_plt"/>
    <partnerLink name="insertintoTbl" partnerRole="insertintoTbl_role"
    partnerLinkType="ns5:insertintoTbl_plt"/>
    </partnerLinks>
    <!--
    VARIABLES
    List of messages and XML documents used within this BPEL process
    -->
    <variables>
    <variable name="Receive_1_Read_InputVariable"
    messageType="ns1:readrecord_msg"/>
    <variable name="Invoke_1_insert_InputVariable"
    messageType="ns5:XxempCollection_msg"/>
    </variables>
    <!--
    ORCHESTRATION LOGIC
    Set of activities coordinating the flow of messages across the
    services integrated within this business process
    -->
    <sequence name="main">
    <receive name="Receive_1" partnerLink="pickfile" portType="ns1:Read_ptt"
    operation="Read" variable="Receive_1_Read_InputVariable"
    createInstance="yes"/>
    <assign name="Transform_1">
    <bpelx:annotation>
    <bpelx:pattern>transformation</bpelx:pattern>
    </bpelx:annotation>
    <copy>
    <from expression="ora:processXSLT('Transformation_1.xsl',bpws:getVariableData('Receive_1_Read_InputVariable','readrecord'))"/>
    <to variable="Receive_1_Read_InputVariable" part="readrecord"/>
    </copy>
    </assign>
    <invoke name="Invoke_1" partnerLink="insertintoTbl"
    portType="ns5:insertintoTbl_ptt" operation="insert"
    inputVariable="Invoke_1_insert_InputVariable"/>
    </sequence>
    </process>
    +
    can anyone please help me

    Hi,
    yes i could see the values in the trsnaform activity
    Receive_1
    [2011/05/20 06:02:49 PM] Received "Receive_1_Read_InputVariable" call from partner "pickfile" less
    -<Receive_1_Read_InputVariable>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="readrecord">
    -<readrecord xmlns="http://TargetNamespace.com/pickfile">
    <C1>579
    </C1>
    <C2>EMPLOYEE
    </C2>
    <C3>NITIN RAO
    </C3>
    <C4>IME
    </C4>
    <C5>ORACLE
    </C5>
    <C6>4-Jan-99
    </C6>
    <C7>Senior Consultant
    </C7>
    <C8>B.TECH
    </C8>
    </readrecord>
    </part>
    </Receive_1_Read_InputVariable>
    Transform_1
    [2011/05/20 06:02:49 PM] Updated variable "Receive_1_Read_InputVariable" less
    -<Receive_1_Read_InputVariable>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="readrecord">
    -<readrecord xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:db="http://xmlns.oracle.com/pcbpel/adapter/db/APPS/BPELINSERT/" xmlns="http://TargetNamespace.com/pickfile">
    <db:EMPCODE>579
    </db:EMPCODE>
    <db:EMPTR>EMPLOYEE
    </db:EMPTR>
    <db:NAME>NITIN RAO
    </db:NAME>
    <db:DIVISION>IME
    </db:DIVISION>
    <db:DEPT>ORACLE
    </db:DEPT>
    <db:DOJ>4-Jan-99
    </db:DOJ>
    <db:DESIGNATION>Senior Consultant
    </db:DESIGNATION>
    <db:QUALIFICATION>B.TECH
    </db:QUALIFICATION>
    </readrecord>
    </part>
    </Receive_1_Read_InputVariable>
    Invoke_1
    [2011/05/20 06:02:50 PM] Invoked 1-way operation "inserttoDb" on partner "inserttoDb". less
    -<Invoke_1_inserttoDb_InputVariable>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="InputParameters">
    <InputParameters xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/APPS/BPELINSERT/"/>
    </part>
    </Invoke_1_inserttoDb_InputVariable

Maybe you are looking for

  • Problem connection to database when opening Crystal Report in VB6 app

    Hi all, first post, so be gentle! I've developed a simple app and database using VB6 and SQL Server 2005 and is seems to be working well when i test it. Problem i have is after i installed the app on another PC. When the user tries to open the report

  • Update XML data stored in CLOB Column

    Hi All, i am new to Oracle and new to SQL i am trying to update XML data stored in CLOB cloumn,data is stored with the follwoing format <attrs><attr name="name"><string>Schade</string></attr></attrs> i am using the following query for updating the va

  • Different interfaces for purchase order output from MM system

    Dear Guru's, We are configuring the business scenarios of service procurement classic and Plan driven procurement with supplier enablement in the MM-SUS environment for our SRM7.01/ECC6 ehp 5 combination. These two scenarios are using different inter

  • Photos app losing photo titles

    Some of the titles I type in for some of my photos in an album keep disappearing.  I enter them, then while I'm doing other things, editing another photo or moving some photos around, or looking in another album and then switching back, some, not all

  • Form template with tick-boxes

    I'm an Indesign novice and would like to create a questionnaire form which is to have tick boxes next to some questions. I intend to print out the document and have people tick with a pen if the question applies to them etc. The document will also ha