How To transform to anyType element in 10g?

HI,
How to map to anyType element in Jdeveloper 10g in transform activity? Is it supported?
I think in 11g, we can use copy-of construct.
What is the alternative in 10g?
Thanks
Manish

Hi,
By using copy-of xslt construct again input element structure is getting copied into the target mapper file, by using value-of xsl:construct just the value is getting assigned. Can you please elaborate on how to use this xsd:anyType elements in assign and tranform activities, overall how to use these elements in 10g, while implementing the canonical model.
ex:
xsl file: by using value-of
<xsl:template match="/">
<ns1:abstractRef>
<ns1:amount>
<xsl:value-of select="/ns1:BPELProcess1ProcessRequest/ns1:input"/>
</ns1:amount>
</ns1:abstractRef>
</xsl:template>
Result:
<abstract1>
-<abstractRef xmlns:ns1="http://xmlns.oracle.com/BPELProcess1" xmlns="http://sample/test">
<ns1:amount>6556</ns1:amount>
</abstractRef>
</abstract1>
Here amount is of type xsd;anyType which is present in the abstract complexType.
xsl file: by using copy-of:
<xsl:template match="/">
<ns1:abstractRef>
<ns1:amount>
<xsl:copy-of select="/ns1:BPELProcess1ProcessRequest/ns1:input"/>
</ns1:amount>
</ns1:abstractRef>
</xsl:template>
Result:
<abstract1>
-<abstractRef xmlns:ns1="http://xmlns.oracle.com/BPELProcess1" xmlns="http://sample/test">
<ns1:amount>
<ns1:input>6556</ns1:input>
</ns1:amount>
</abstractRef>
</abstract1>
and while using it on assign activity, it is not assigning the input value to the xsd:anyType element, please provide an example on how to do this activity along with tranform.

Similar Messages

  • How to assign and transform or how to deal with xsd:anyType elements in 10g

    Hi,
    Any Update on this please...
    Hi,
    we are using canonical model as part of 10g, here I am not able to assign or tranform elements of type xsd:anyType to/from to other type elements. Solution with an example and quick reply is appreciated.
    =========================================
    Hi,
    By using copy-of xslt construct again input element structure is getting copied into the target mapper file, by using value-of xsl:construct just the value is getting assigned. Can you please elaborate on how to use this xsd:anyType elements in assign and tranform activities, overall how to use these elements in 10g, while implementing the canonical model.
    ex:
    xsl file: by using value-of
    <xsl:template match="/">
    <ns1:abstractRef>
    <ns1:amount>
    <xsl:value-of select="/ns1:BPELProcess1ProcessRequest/ns1:input"/>
    </ns1:amount>
    </ns1:abstractRef>
    </xsl:template>
    Result:
    <abstract1>
    -<abstractRef xmlns:ns1="http://xmlns.oracle.com/BPELProcess1" xmlns="http://sample/test">
    <ns1:amount>6556</ns1:amount>
    </abstractRef>
    </abstract1>
    Here amount is of type xsd;anyType which is present in the abstract complexType.
    xsl file: by using copy-of:
    <xsl:template match="/">
    <ns1:abstractRef>
    <ns1:amount>
    <xsl:copy-of select="/ns1:BPELProcess1ProcessRequest/ns1:input"/>
    </ns1:amount>
    </ns1:abstractRef>
    </xsl:template>
    Result:
    <abstract1>
    -<abstractRef xmlns:ns1="http://xmlns.oracle.com/BPELProcess1" xmlns="http://sample/test">
    <ns1:amount>
    <ns1:input>6556</ns1:input>
    </ns1:amount>
    </abstractRef>
    </abstract1>
    and while using it on assign activity, it is not assigning the input value to the xsd:anyType element, please provide an example on how to do this activity along with tranform.
    Edited by: user12679330 on Mar 1, 2010 4:46 AM

    >
    Try bpelx:append as a copy rule.
    >
    Since this thread is over three years old it will be interesting to see if OP is still waiting for a reply. ;)

  • How to transform xsd:anyType in wsdl to some element in target

    Hi,
    My current wsdl has anyType element. I tried to transform the response of webservice to some other schema. But JDeveloper says it doesn't support anyType mapping in this version.
    I am using latest version of JDeveloper. Please suggest.

    Hi.
    I think you'll have to do the transformation manually.
    you can edit your xsl source and add your dynamic xml xpath to your static anyType xpath, for example:
    ns1:myAnyTypeXPath/ns2:myDynamicXPathRoot/ns2:myDinamicXPathElement/.....
    Once you do this, you won't be able to view the xsl transform graphically in JDev anymore, but it should work anyway.
    Regards
    Denis

  • How to transform OSB response element

    Hi
    I have an OSB response document as follows
    <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
    <env:Header/>
    <env:Body>
    <uwd:getPersonCourseResponse xmlns:uwd="http://eadf.ites.ayd.edu.au/data">
    <uwd:Response>
    <uwd:PersonID>2113446</uwd:PersonID>
    <uwd:Terms>
    <uwd:Term>
    <uwd:InstitutionCode>UN</uwd:InstitutionCode>
    <uwd:TermCode>5107</uwd:TermCode>
    <uwd:AcademicYear>2010</uwd:AcademicYear>
    <uwd:TermName>Semester 2 2010</uwd:TermName>
    <uwd:CurrentTerm>true</uwd:CurrentTerm>
    <uwd:Courses>
    <uwd:Course>
    <uwd:CourseCode>BIOT3621</uwd:CourseCode>
    <uwd:CourseTitle>Biotechnology B (Advanced)</uwd:CourseTitle>
    <uwd:RelationshipType>Learning</uwd:RelationshipType>
    <uwd:Applications>
    <uwd:Application>
    <uwd:ApplicationCode>LECTOPIA</uwd:ApplicationCode>
    <uwd:ApplicationTitle>Lectopia</uwd:ApplicationTitle>
    <uwd:Modules>
    <uwd:Module>
    <uwd:ModuleCode>13</uwd:ModuleCode>
    <uwd:ModuleType>Lectopia</uwd:ModuleType>
    <uwd:ModuleTitle>BIOT3021 Biotechnology B</uwd:ModuleTitle>
    *<uwd:ModuleURL>https://lectopia.telt.test.ayd.edu.au/lectopia/lectopia.lasso?ut=13&amp </uwd:ModuleURL>*
    <uwd:Contents>
    <uwd:Content>
    <uwd:ContentCode>86389</uwd:ContentCode>
    What I want to do is that I want delete the *&amp* from *<uwd:ModuleURL>https://lectopia.telt.test.ayd.edu.au/lectopia/lectopia.lasso?ut=13&amp </uwd:ModuleURL>* and send only *<uwd:ModuleURL>https://lectopia.telt.test.ayd.edu.au/lectopia /lectopia.lasso?ut=13</uwd:ModuleURL>*
    as part of the response document. how could I do this in OSB? would I be able to make use of any XQuery functions?
    Regards
    Vick
    Edited by: 807485 on Dec 9, 2010 6:56 PM

    The problem is with the test data.. You cant have '&amp' as a content of xml node , instead you should have &-a-m-p-; ( - is used to display it here , should be removed)
    If you want &amp to be sent as such you need to wrap it in a CDATA as below
    <uwd:ModuleURL><![CDATA[https://lectopia.telt.test.ayd.edu.au/lectopia/lectopia.lasso?ut=13&amp]]></uwd:ModuleURL>
    Then you can use replace as
    replace(data($body/data:getPersonCourseResponse/data:Response/data:Terms/data:Term/data:Courses/data:Course/data:Applications/data:Application/data:Modules/data:Module/data:ModuleURL),'&-a-m-p;amp','')
    &-a-m-p; : remove '-' s

  • Transformation from multiple elements to multiple instances of same element

    I have to do a transformation where some elements in the source side has to be mapped into multiple instances of an element which has name-value pair elements.
    For example source has
    element1
    element2
    element3
    element4
    Target has
    elementspecgroup (0--infinity cardinality)
    element-name
    element-value
    so the mapping will be multiple instances of elementspecgroup
    elementspecgroup
    ist instance: "element1"
    value of element1
    2nd instance: "element2"
    value of element1
    and so on.
    Can somebody please give me a hint how to achieve it.
    Thanks.

    can you show me source-payload and target-payload?

  • How to transform data received from file adapter

    hi',
    I am reading the data from XML file using file adapter, now I want to write the same contents which I have read from this file to a different/new XML file, the issue is I am unable to perform a transform here, when I use a transform with source element as the output of the file read and target as the input to the new file it is writing an empty file,
    I have checked the audit trail which showsme that the transform is empty.
    please tell me how can I transform the element which I have received from one file to make them as input to next file
    thanks
    Yatan

    thanks James for input, this is my XML and XSD files
    XML file:
    <?xml version="1.0" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://www.example.org"
    targetNamespace="http://www.example.org"
    elementFormDefault="qualified">
    <emp>
    <name>yatan</name>
    <age>28</age>
    </emp>
    </xsd:schema>
    XSD File:
    <?xml version="1.0" encoding="windows-1252" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://www.example.org"
    targetNamespace="http://www.example.org"
    elementFormDefault="qualified">
    <xsd:element name="readfile">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="name" type="xsd:string"/>
    <xsd:element name="empid" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    I am reading XML file, I will describe my process.
    1.) File adapter>read operation ---> receive activity
    2.) Transform > source(receive input variable) <--->target(Invoke input variable)
    3.) File adapter > write operation ---> invoke activity
    Now when I am deploying this process it is sucessfully completing and able to read the file.
    when I check the audit trail receive activity shows XML data but when I check the transform it
    shows empty as below, however the write activity is performed which creates a xml file but no values in the elements
    transform in audit trail
    <Invoke_1_Write_InputVariable>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="readfile">
    -<readfile xmlns:ns0="http://www.example.org" xmlns="http://www.example.org">
    <ns0:name/>
    <ns0:empid/>
    </readfile>
    </part>
    </Invoke_1_Write_InputVariable>
    this is the code for my .bpel file
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <!--
    Oracle JDeveloper BPEL Designer
    Created: Wed May 19 15:04:22 IST 2010
    Author: yatanveer.s
    Purpose: Empty BPEL Process
    -->
    <process name="ReadXMLFile2"
    targetNamespace="http://xmlns.oracle.com/ReadXMLFile2"
    xmlns="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:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:ns4="http://xmlns.oracle.com/pcbpel/adapter/file/FileReadSync/"
    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:client="http://xmlns.oracle.com/ReadXMLFile2"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/file/ReadFile/"
    xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:ns3="http://www.example.org"
    xmlns:ns2="http://xmlns.oracle.com/pcbpel/adapter/file/WriteFile/"
    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="ReadFile"
    partnerLinkType="ns1:Read_plt"/>
    <partnerLink name="WriteFile" partnerRole="Write_role"
    partnerLinkType="ns2:Write_plt"/>
    </partnerLinks>
    <variables>
    <variable name="Receive_1_Read_InputVariable"
    messageType="ns1:readfile_msg"/>
    <variable name="Invoke_1_Write_InputVariable"
    messageType="ns2:readfile_msg"/>
    </variables>
    <!--
    VARIABLES
    List of messages and XML documents used within this BPEL process
    -->
    <!--
    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="ReadFile" 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_3.xsl',bpws:getVariableData('Receive_1_Read_InputVariable','readfile'))"/>
    <to variable="Invoke_1_Write_InputVariable" part="readfile"/>
    </copy>
    </assign>
    <invoke name="Invoke_1" partnerLink="WriteFile" portType="ns2:Write_ptt"
    operation="Write" inputVariable="Invoke_1_Write_InputVariable"/>
    </sequence>
    </process>

  • How to transform hotkey ctrl+L to F9

    My app is oracle form 10g.
    I wonder how to transform hotkey ctrl+L to F9 because in my company everyone is used to press F9 to query .
    Would someone tell me?
    Thank you.

    I don't understand exactly what you want to do.
    Refer to fmrweb.res found in the \forms directory. This is the file used to configure key mapping. This is a text file, so it can be opened in most text editors. The top portion of the file provides an explaination as to how each value works.

  • How to run a report from oracle 10g form in .csv format

    dear all,
    how to run a report from oracle 10g form in .csv format? i've already run in pdf & excel format.
    i'm using
    SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'PDF'); --for pdf
    SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'SPREADSHEET'); ---for excel
    Please Help..

    i have already tried.
    but the report show in htm or html format. that file will not save into csv. please help.

  • How can I install photoshop elements on a 64 bit windows system?

    How can I install photoshop elements on a 64 bit windows system?

    You just use the appropriate install disk/ download. See this:
    Install Premiere Elements, Photoshop Elements
    Or are you asking about some specific procedures?
    Mylenium

  • How can I use photoshop Elements 8 to make a DVD to play on a regular TV-DVD? [was:DVD-CD-r]

    How can I use photoshop Elements 8 to make a DVD that will show on a regular TV-DVD set-up

    You can't do this in PSE by itself. I'm assuming you have windows, so output your slideshow as a wmv file and then use Premiere Elements to finalize the disc, if you have that. If not, use whatever you do have (if you can burn DVDs, you have software). Even windows dvd maker will do this.

  • How to delete a workbook in Discoverer 10g

    Hello guys,
    Does anyone know how to delete a workbook from Discoverer 10g? I created a report in Discoverer Plus as SYSADMIN and gave this to my user. My user only has access to Discoverer Viewer. He went and did a "Save As" on this report. Now when he loggs in to Viewer again, he sees two report. One created by SYSADMIN and the on he created. I want to delete the one he created. How do I go about doing this? Can I do it from Discoverer? If so, which one(Viewer or Plus)? Will I have to login as him to do this? Please advise.

    Hi,
    I'm sorry for the question but you said:
    You just login as the user into viewer and delete the workbookWhere do you see the option to delete from the viewer ?
    To delete/ manage workbooks you need to login to either Plus or Desktop versions.
    And yes you need to log in using the owner user name
    Tamir

  • How can I create an element in the model node?

    Hi, Experts,
    I create a model node that name is containerNode in the contxt. Cadinility is: 1..n
    I write the code in the method:
      private String getDataForOutputTable( IWDNode wageTypePayslip, IWDNode containerNode ){
           String betrgSumStr = "";
         int index = 0;
         Vector containerVector = new Vector();
         int size = wageTypePayslip.size();
         IWDNodeElement element = containerNode.createElement();// The system report error when I run the application.
         BigDecimal betrgSum = new BigDecimal( 0 );
    I try to create a element in the containerNode, But the system report error when I run the application.
    java.lang.IllegalArgumentException: model object must not be null
         at com.sap.tc.webdynpro.progmodel.context.ModelNodeElement.<init>(ModelNodeElement.java:66)
         at besuretech.com.wdp.IPrivatePayDataDispView$IOContainerElement.<init>(IPrivatePayDataDispView.java:1537)
         at besuretech.com.wdp.IPrivatePayDataDispView$IContextNode.doCreateElement(IPrivatePayDataDispView.java:88)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.createElement(NodeInfo.java:884)
         at com.sap.tc.webdynpro.progmodel.context.Node.createElementInternal(Node.java:1351)
         at com.sap.tc.webdynpro.progmodel.context.Node.createElement(Node.java:1370)
         at besuretech.com.PayDataDispView.getDataForOutputTable(PayDataDispView.java:251)
         at besuretech.com.PayDataDispView.getAllData(PayDataDispView.java:196)
         at besuretech.com.PayDataDispView.onPlugPayListViewIn(PayDataDispView.java:154)
         at besuretech.com.wdp.InternalPayDataDispView.wdInvokeEventHandler(InternalPayDataDispView.java:391)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:826)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:881)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)
    How can I create an element in the model node ?
    Best regards,
    tao

    Hi,
    You need to execute the model before creating the element.
    Regards
    Ayyapparaj

  • How do I move my Elements photo files to a new computer keeping the catalog & version sets?

    How do I move my Elements photo files to a new computer keeping the catalog & version sets?

    I recommend you ask that in the PSE forum. I'm sure there is some import/ export hocuspocus involved...
    Mylenium

  • How to color the text  elements in script?

    how to color the text  elements in script?
    byeeeee
    plz send the answers

    Hi,
    Please go through my blog to know how to do color printing in SAP scripts.
    White Paper on 'Color Printing in SAP Scripts'
    Regards,
    Sireesha Ch

  • How to add a new element to a model node in the view controller?

    View Context
        myNode
             attri1
             attri2
    myNode is a web service model node. How to add a new element to this node?
    Regards,
    Hui
    Edited by: Hui Wang on Feb 15, 2008 12:05 PM

    Sudhir Gorantla wrote:>
    > Hi,
    >
    > myNode
    > attri1
    > attri2
    >
    > IMyNodeElement ele=wdContext.myNode().createMyNodeElement();
    >
    > ele.setAttri1("");
    > ele.setAttri2("");
    >
    > wdContext.nodeMyNode().addElement(ele);
    >
    > Regards,
    > Sudhir
    Hi we need a model as an input parameter when creating a element for a model node. How to get the instance of the model?
    Regards,
    Hui

Maybe you are looking for

  • IPod not being recognized by computer or iTunes

    This is all of the sudden; I plug my iPod into my computer and - nothing. I tried starting and stopping it through My Computer, upgraded iTunes, unplugged and plugged and everything, toggled the Hold button and still nothing. All my iPod is doing is

  • CS5.5 Blending Modes Won't Work?

    Being an avid user of AfterEffects CS4, the transition to CS5.5 was painless.. Except for the fact that the blending modes don't work. This has halted all my projects. What happens is that when I select a blending mode, nothing happens. It shows that

  • Add Microsoft Publisher to Office Professional Plus 2013

    Hi, I'm trying to do a command-line installation to add Microsoft Publisher 2013 to an existing Office Professional Plus 2013. It was assumed that our staff would not need it, but as we have already received one request to get it installed, and the s

  • Forecasting and User Settings For Displaying Historical Values

    Hello, I am attempting to perform a forecast model.  After entering the selection criteria I get the message "Forecast includes only historical values as from P 01/2011 --> F1" . when I expand on the message I see Forecast includes only historical va

  • Can I use an alias for personal fundraising?

    I want to use PayPal for personal fundraising.  I live in a VERY small town and would prefer to use an alias, but I do not have a "Doing Business As" registered in the alias.  I am financially in need because I became unemployed (but I am seeking wor