XSL mapper not working

When i try to open an XSL file in jDeveloper, it complains about the first line in the file is invalid, <?xml version="1.0" encoding="UTF-8" ?>, which is originally generated by the XSL mapper and perfectly valid.
because of this complaint, the mapper designer refused to open.
after a good few hours of investigation, i found that this only happens when i start jDev "directly" by starting jdeveloper.exe
if i go into JD Edwards OMW (object management workbench) and invoke jDev from there, the mapper works fine.
how weird is that!
anyone from Oracle can explain this? and maybe provide a work around?
Thanks!

We've been using JDeveloper/SOA Suite for almost 2 years now and this mapper issue happens now and then. No real explaination why other than it seems to be a memory issue and maybe something also with network speed. It seem to get worse when I try to work at home via VPN and I have Verizon Fios so speed shouldn't be an issue. All that seems to solve it is to close out and even log off for the memory resources to clear up.
I've opened a couple of tickets over this issue in the past but got nowhere.

Similar Messages

  • Hello World XML/XSL example not working in IE

    I am trying to get the "Hello World" XML/XSL example to work in IE.
    Could anyone help me out?
    The code follows:
    hello.xml
    <?xml version="1.0"?>
    <?xml-stylesheet type="text/xsl" href="hello.xsl"?>
    <hello-world>
    <greeter>An XSLT Programmer</greeter>
    <greeting>Hello, World!</greeting>
    </hello-world>
    hello.xsl
    <?xml version="1.0"?>
    <xsl:stylesheet
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    version="1.0">
    <xsl:template match="/hello-world">
    <HTML>
    <HEAD>
    <TITLE></TITLE>
    </HEAD>
    <BODY>
    <H1><xsl:value-of select="greeting"/></H1>
    <xsl:apply-templates select="greeter"/>
    </BODY>
    </HTML>
    </xsl:template>
    <xsl:template match="greeter">
    <DIV>from
    <I><xsl:value-of select="."/></I>
    </DIV>
    </xsl:template>
    </xsl:stylesheet>
    Both files are in the same directory.
    When hello.xml is opened in IE, the output displayed is just, "from".
    What's wrong, and where?
    Please help!
    - Edwin.

    Hi edwinwaz,
    In response to your question, pls refer to this url
    http://www.w3schools.com/xsl/el_template.asp
    and take a look at the "note" in red.
    It says that IE5.X have non-standard behavior on the element <xsl:template>
    In addition, I have tested your code it works fine.
    Just to add something on your code here.
    I noticed that you do this
    <xsl:apply-templates select="greeter"/>
    and then in another template you do this
    <xsl:template match="greeter">
    <!-- code -->
    </xsl:template>
    In this case, it does work because "greeter" is a top-level element but if "greeter" is anything underneath the top-level element. It won't work.
    Actually, I discovered this after taking a look at your example and
    I was surprised that the code above worked and then I did some testing and discovered this.
    I am learning XML too now... So, I am happy to know this :).
    regards

  • Using document function in xsl template - not working in BI Publisher

    Hi,
    I have a requirement where I need to display the data in one xml file based on the contents of a second xml. I am using Oracle BI Publisher 10.1.3.4.1 and template used for report generation is xsl-fo.
    1) ReportData.xml - contains the data xml
    2) ReportFilter.xml - contains the display information.
    I need to display the tags in the ReportData.xml based on the presence , absence of different tags in ReportFiler.xml
    I guess one of the option is to declare 2 datasource as use concatenated datasources. However , I am trying to use the "Document" function that is available in xsl transformation to reference the display xml.
    I have tried the different options for using the document function
    *1) <xsl:variable name="filterCheck" select="document('ReportFilter.xml')"/>*
    Errors out saying : XML-22021: (Error) Error parsing external document: 'Access not allowed : file:/
    C:/OracleBI/oc4j_bi/bin/ReportFilter.xml '.
    *2) <xsl:variable name="filterCheck" select="document('file:///C:/OracleBI/xmlp/XMLP/DemoFiles/ReportFilter.xml')" />*
    Errors out saying ; Caused by: oracle.xdo.parser.v2.XPathException: Access not allowed : file:/C:/Or
    acleBI/xmlp/XMLP/DemoFiles/ReportFilter.xml
    *3) <xsl:variable name="filterCheck" select="document('C:/OracleBI/xmlp/XMLP/DemoFiles/ReportFilter.xml')" />*
    Errors out saying : Caused by: java.net.MalformedURLException: unknown protocol: c
    at oracle.xdo.parser.v2.XSLStylesheet.flushErrors(XSLStylesheet.java:153
    *4)<xsl:variable name="filterCheck" select="document('file:/C:/OracleBI/xmlp/XMLP/DemoFiles/ReportFilter.xml')" />*
    Errors out syaying : Caused by: oracle.xdo.parser.v2.XPathException: Access not allowed : file:/C:/Or
    acleBI/xmlp/XMLP/DemoFiles/ReportFilter.xml
    I have placed the document I need to access in all the 3 locations mentioned above
    ie in my
    *1) C folder*
    *2) C:/OracleBI/oc4j_bi/bin*
    *3) C:/OracleBI/xmlp/XMLP/DemoFiles*
    Is there any special permissions that I need to grant to enable access to these files?
    Please let me know if anyone has successfully made the document function to reference other xml documents in BI Publisher.
    Regards
    Sujith
    Edited by: user10979469 on Dec 8, 2009 11:48 AM

    Tim,
    Thanks a lot for the reply. Set the option to enable external document access and it works perfectly.
    Just for other who are looking at this post.
    Go to the Report in BI Publisher
    Click on Configure link on the top right
    Go to the Section FO Processing
    Disable external references - Server value is "True" . Set it to "False".
    Apply changes.
    Restarted the oc4j, just to be on safer side (not sure if this is required)
    The document function will open documents from any location on your machine.
    Thanks again Tim
    Regards
    Sujith

  • Device-mapper not working after kernel update

    Hi, yesterday i've upgraded kernel to 2.6.36 and I was so happily so i rebooted immediatly, but it ended up with error. that it can't found /dev/mapper/archarray-archroot, which is, of course my root partition.
    I'm using to raid1 partitions:
    /dev/md0 with boot ext2 partitions (archboot partition)
    /dev/md1 with LVM (volume group arrcharay, partitions archroot, archvar and archdata)
    When in sandbox i've tried lsmod and i see, that i have raid1,ext2,ext4(root partition),md_mod and dm_mod loaded(and some more of course), so i think there's nothing missing to fire-up root partition.
    I've tried to boot up install (from USB stick) and mount root patition with following:
    modprobe dm_mod raid1
    mdamdm --examine --scan >> /etc/mdam.conf
    mdassemble
    vgscan
    vgchange -ay
    And it worked, so my disk nor LVM setting is not broken.
    Only thing that i think i can did wrong, is that i've commented /dev/md1 entry in /etc/mdam.conf. I was confused by "name=archiso:1" because i haven't use "archiso" anywhere when creating LVM volumes. So i thought i will try it, and if anything go bad, i will undo this. But it worked ... until kernel update.

    It was problem with my badly edited /etc/mdadm.conf, so I'm sorry for this.

  • Xsl:if not working in bi publisher template

    Hi,
    I have a template which has form field, which I defined as below:
    <xsl:if test="string(number((//ROW/TOTALDATACHECKS))) != 'NaN' ">
    <xsl:value-of select="format-number((1-(sum(//ROW/TOTALDATADISCREPANCIES) div sum(//ROW/TOTALDATACHECKS)))*100,0.00)"/>%
    </xsl:if>
    I see that, if I replace xsl:value-of tag with plain text "xxxxx" , it is rendering fine in the rendered report. But I need xsl:value-of to evaluate the farmula I have in the above implementation.
    I did the above implementation to avoid xsl errors in case of denominator in the farmula being null.
    Please suggest solution for the xsl:if issue I had. Any alternate solution to avoid xsl error for denominator being null is also welcome.
    Thanks,
    -Vijay-

    I am using rtf file as a template in BI Publisher. The rtf file has several form fields which gets populated by the sql query executed by BI Publisher.
    The form field I was referring has a farmula in which the denominator has a field read from sql query result. When the denominator becomes zero, BI publisher is throwing error and not rendering report.
    To handle above scenorio, I pasted the xsl piece of code (pasted in my first post of this thread) in that to handle this. But for the reason mentioned in the prior post its not successful.

  • XSL transformation not working

    Hi!
    I am having problems when trying to generate XSL transformation from XML to XML (where XML output is actually XHTML). It always fails executing <xsl:callTemplate name="something", when <xsl:callTemplate /> is executed from another <xsl:template> which is also called with <xsl:callTemplate. Version of database is 10.2.0.4.0, received error is: ORA-00604: invalid character value 'burek' for attribute 'name'.
    Transformation is working in Java and Altova XMLSpy.
    PL/SQL code:
    procedure process_xsl(p_xml in clob, p_xsl in clob, p_result out clob) is
    w_xsl_proc dbms_XSLProcessor.Processor;
    w_xsl_ss dbms_XSLProcessor.Stylesheet;
    w_dom_xsl dbms_xmldom.DOMDocument;
    w_dom_xml dbms_xmldom.DOMDocument;
    w_parser dbms_xmlparser.Parser;
    begin
    --xml in xsl iz cloba v DOMDocument
    w_parser := dbms_xmlparser.newParser;
    dbms_xmlparser.parseClob(w_parser, p_xml);
    w_dom_xml := dbms_xmlparser.getDocument(w_parser);
    dbms_xmlparser.freeParser(w_parser);
    w_parser := dbms_xmlparser.newParser;
    dbms_xmlparser.parseClob(w_parser, p_xsl);
    w_dom_xsl := dbms_xmlparser.getDocument(w_parser);
    dbms_xmlparser.freeParser(w_parser);
    --xsl procesiranje
    w_xsl_proc := dbms_XSLProcessor.newProcessor;
    w_xsl_ss := dbms_XSLProcessor.newStylesheet(w_dom_xsl, null); <-- Here error is received
    END;
    Stylesheet:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
         <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"></xsl:output>
         <xsl:decimal-format name="dec" decimal-separator="," grouping-separator="."/>
         <!-- Predefined constants from einvoice xml schema -->
         <xsl:variable name="einvoiceIssuerCode" select="'II'"></xsl:variable>
         <xsl:variable name="einvoiceRecipientCode" select="'IV'"></xsl:variable>
         <xsl:variable name="einvoiceIssueLocationCode" select="91"></xsl:variable>
         <xsl:variable name="einvoiceIssueDateCode" select="137"></xsl:variable>
         <!-- Constants directly from document which is a part of transformation -->
         <xsl:variable name="einvoiceNumber" select="/IzdaniRacunEnostavni/Racun/GlavaRacuna/StevilkaRacuna/text()"></xsl:variable>
         <!-- Intro template -->
         *<xsl:template name="burek"> <!-- Second template called with xsl:call template -->*
              <xsl:text>TEST</xsl:text>
         </xsl:template>
         <!-- Template in which we create html structure including css -->
         <xsl:template name="einvoice">
              <html xmlns="http://www.w3.org/1999/xhtml">
              <head>
                   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
                   <title>Vizualizacija e-računa št. </title>
                   <xsl:call-template name="burek"></xsl:call-template>
              </head>
              <body>
              </body>
              </html>
         </xsl:template>
         <!-- Intro template -->
         <xsl:template match="/">
    *          <xsl:call-template name="einvoice"></xsl:call-template> <!-- This call is OK -->*
         </xsl:template>
    </xsl:stylesheet>
    XML document
    <?xml version="1.0" encoding="UTF-8"?>
    <IzdaniRacunEnostavni>
    <Racun Id="data">
    <GlavaRacuna>
    <VrstaRacuna>380</VrstaRacuna>
    <StevilkaRacuna>1205019908211</StevilkaRacuna>
    <FunkcijaRacuna>9</FunkcijaRacuna>
    </GlavaRacuna>
    <DatumiRacuna>
    <VrstaDatuma>137</VrstaDatuma>
    <DatumRacuna>2012-05-07T00:00:00.0Z</DatumRacuna>
    </DatumiRacuna>
    <DatumiRacuna>
    <VrstaDatuma>263</VrstaDatuma>
    <DatumRacuna>2012-04-28T00:00:00.0Z</DatumRacuna>
    </DatumiRacuna>
    <DatumiRacuna>
    <VrstaDatuma>263</VrstaDatuma>
    <DatumRacuna>2012-05-27T00:00:00.0Z</DatumRacuna>
    </DatumiRacuna>
    <DatumiRacuna>
    <VrstaDatuma>263</VrstaDatuma>
    <DatumRacuna>2012-03-28T00:00:00.0Z</DatumRacuna>
    </DatumiRacuna>
    <DatumiRacuna>
    <VrstaDatuma>263</VrstaDatuma>
    <DatumRacuna>2012-04-26T00:00:00.0Z</DatumRacuna>
    </DatumiRacuna>
    <DatumiRacuna>
    <VrstaDatuma>263</VrstaDatuma>
    <DatumRacuna>2012-04-27T00:00:00.0Z</DatumRacuna>
    </DatumiRacuna>
    <Lokacije>
    <VrstaLokacije>91</VrstaLokacije>
    <NazivLokacije>Ljubljana</NazivLokacije>
    </Lokacije>
    </Racun>
    </IzdaniRacunEnostavni>
    Edited by: 938026 on 01-Jun-2012 00:35

    Hi,
    I think your problem lies in the <title>. You are using non UTF-8 characters in the title (š), but you marked your XML as UTF-8. So change the title to have unicode charaters and it will work.
    Herald ten Dam
    http://htendam.wordpress.com

  • XSL newline not working during runtime

    Hello,
    I have this in my XSL to insert newline during transformation.
    <xsl:variable name="break">
    <xsl:text>
    </xsl:text>
    </xsl:variable>
    It inserts newline when try "Test" from the XSL in JDeveloper.
    However, when I deploy the application to the server and test it, the newline is not coming up in runtime. I am using Oracle JDeveloper 11g(11.1.1.4.0) to create the SOA application and Oracle SOA Suite 11g as my SOA domain server
    Any one came across this, please suggest a solution or workaround.

    Hi,
    To add line breaks, you need to use '&#xA;' in the xsl:value-of. Try the below:
    <xsl:variable name="Test">
    <xsl:value-of select="concat('','&#xA;','')"/>
    </xsl:variable>
    -AR

  • Credential mapper not working

    "Please tell where I am wrong in configuring and calling credential mapper?????
    I wanted to achieve single sign on using Credential mapping feature of weblogic server.It means using weblogic inner capability.
    I thought of getting connected to pointbase server which can act as Enterprise Information System.
    I did following steps to achieve single sign on using Weblogic Server Credential mapping feature.
    Confuration Phase:
    Step 1) I configured Examples as username and Examples as password in pointbase server which will act as my Enterprise information system.
    Step 2) I wrote one connector class for connecting to pointbase server.
    Step 3) I deploy that connector class.
    Step 4) I configured Admin as username and Admin as password in my configured security realm which will act as Weblogic User.
    Step 5) I did credential mapping in the connector class for mapping my Weblogic (Admin)
         user to EIS(Examples) user.
    Calling Phase:
    Step 1) I deploy one application to call pointbase server using the connector class.
    Step 2) I try to get the connection to pointbase server using the follwing code
         getConnection("Admin","Admin");
         Where Admin username is my weblogic user mapped to Examples user of point base server whose mapping is already done in the connector class.
         I hope it to work for getting the connection.

    "Please tell where I am wrong in configuring and calling credential mapper?????
    I wanted to achieve single sign on using Credential mapping feature of weblogic server.It means using weblogic inner capability.
    I thought of getting connected to pointbase server which can act as Enterprise Information System.
    I did following steps to achieve single sign on using Weblogic Server Credential mapping feature.
    Confuration Phase:
    Step 1) I configured Examples as username and Examples as password in pointbase server which will act as my Enterprise information system.
    Step 2) I wrote one connector class for connecting to pointbase server.
    Step 3) I deploy that connector class.
    Step 4) I configured Admin as username and Admin as password in my configured security realm which will act as Weblogic User.
    Step 5) I did credential mapping in the connector class for mapping my Weblogic (Admin)
         user to EIS(Examples) user.
    Calling Phase:
    Step 1) I deploy one application to call pointbase server using the connector class.
    Step 2) I try to get the connection to pointbase server using the follwing code
         getConnection("Admin","Admin");
         Where Admin username is my weblogic user mapped to Examples user of point base server whose mapping is already done in the connector class.
         I hope it to work for getting the connection.

  • Bug -  xsl mapper

    version 10.1.3.3.0.4157 Studio, doing ESB work.
    trying to validate an XSD I need for work and using the Test XSL map
    the inbound and outbound XML documents autogenerated by the mapper have errors.
    Traced to
    the XSL mapper not auto-generating correct data for the following XSD fragment
    <xs:element name="upload-tag" minOccurs="0" maxOccurs="unbounded">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:pattern value="[a-zA-Z]{3}[0-9]{14}"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    instead of abc12345678901234 a null string is returned causing both the source and target to have XML validation errors.
    easy to get around, just fill in your own data abc12345678901234
    BRGDS
    Chris

    Thanks Chris,
    can you post this issue to SOA Suite forum?
    SOA Suite
    ESB is not a feature developed by the JDeveloper team
    Frank

  • Oracle Service Bus 11g omit-xml-declaration="yes" not working in XSL-T

    I have the requirement of removing the XML header from xsl output.
    eg: <?xml version="1.0" encoding="UTF-8" ?> this part has to removed
    I tried using the following in XSLT:
    <xsl:output indent="yes" omit-xml-declaration="yes" />.
    It seems to work in all online xml compilers. It does not work in work in OSB.
    I posted the message in a JMS Queue and it contains the xml header.
    Is this a work around for this issue?

    I'm pretty sure XSLT has nothing to do with that PI.
    After all, XSLT in OSB doesn't format text, it generates an XmlObject. The formatting (including adding the <?xml?> PI) are done by other parts of the engine. Probably the XmlBeans serializator.
    The only option I see is to serialize the XML, then cut off everything until first ?>.
    Why would you need that, I wonder? May be there is a better way.
    Vlad @ genericparallel.com

  • XSL and Extended SQL Funtion not working in XMLP 5.0

    Hi All,
    I am not able to get the following functions to work for FSG publishing in XMLP 5.0 11.5.10.2 apps), but they both work in XMLP 5.6.2.
    I am using the following function in the Segment Values Override field:
    <?substring(translate(@RptDetName,'()',’‘),13,25)?>
    <?xdofx:substr(translate(@RptDetName,'()',’‘),13,25)?>
    Any ideas? I rather not upgrade to XMLP 5.6.2 due to the lost functionality of Single Step FSG publishing.
    Thanks,
    Kelly

    Hi Tim,
    Do you know if there are any XDO patches (for version 5.0) that would help resolve this problem. I am not able to get XSL functions to work in my template using version XMLP 5.0, but the same template works on an instances running XMLP 5.6.2. We are currently applying the latest FSG consolidated patch to see if it helps resolve the problem.
    Thanks,
    Kelly

  • I have iPhone4 with updated software 6.0.1. Voice nevigation for map is not working. I could not see the voice options in setting/mapp.

    I have iPhone4 with updated software 6.0.1. Voice nevigation for map is not working. I could not see the voice options in setting/mapp.

    Voice navigation is not available for the iPhone 4

  • Multiple recipient email addresses is not working  for xsl & PDF Attachment

    multiple recipient email addresses is not working properly when
    to list has some external email address and sending xls and PDF file as an attachment.
    Test Scenario:
    (A) Create mail target activity
    1)To email : use the multiple email id with some external domain (ex.
    [email protected] ,[email protected], [email protected])
    2)File attachment with .xls file and this file is sending to mail target as an inputstream(at runtime)
    3)Use all other valid parameter in activity.
    (B) Create a process flow File source to mail target
    Execute the process flow.
    Actual Result: Mail is received by every email account. Only external email account get correct file but other email account(as ([email protected])) attachment files
    displaying message
    �abc.xls� can not be accessed. The file may be read-only, Or you may be
    trying to access a read only location. Or, the server the document is stored on
    may not be responding.�
    When i trying to open xls and PDF file
    Expected Result:
    All type of file attachments should be supported with all valid email address
    (servers).
    Pls help me about this senario:
    What is problem in this case:
    I am sending code
    Session session =getSession(host,port,secure);
    session.setDebug(this._debug);
                   Transport trans = connect(host,port,session,userID,password);
                   Message message = new MimeMessage(session);
                   InternetAddress[] iAddr = null;
                   message.setFrom(new InternetAddress(fromName));
                   iAddr = InternetAddress.parse(toUserName, true);
                   message.setRecipients(Message.RecipientType.TO, iAddr);
                   message.setSubject(subject);
                   //BodyPart messageBodyPart = new MimeBodyPart();
                   Multipart multipart = new MimeMultipart();
                   MimeBodyPart messageBodyPart=null;
    if(dataLocation!=null && dataLocation.equalsIgnoreCase("ATTACHMENT")){
                        String tmpName=fileName;
                        if( inputstream != null)
                                  tmpName = makeAttachment(fileName,inputstream);
                        messageBodyPart = new MimeBodyPart();
                        DataSource source = new FileDataSource(tmpName);
                        messageBodyPart.setDataHandler(new DataHandler(source));
                        fileName = fileName.replace('\\', '/');
                        fileName = fileName.substring(fileName.lastIndexOf('/') + 1,
                                  fileName.length());
                        messageBodyPart.setFileName(fileName);
                        multipart.addBodyPart(messageBodyPart);

    First, when sending your message, the filename should be a simple
    filename, not containing any directory names.
    It sounds like your mail server might be doing some special
    processing of attachments, perhaps to prevent viruses.

  • Xsl:id() function does not work though my document has dtd associated

    My Document has dtd associated, but still the id() function does not seem to work.
    Can anybody suggest me what might be wrong.
    I am creating Document as below:
    DOMImplementation domImpl = dbf.newDocumentBuilder().getDOMImplementation();
    DocumentType docType = domImpl.createDocumentType("project","\"-//Test//Project 1.0//EN\"","c:/test/dtd/test.dtd");
    Document newDoc = domImpl.createDocument(null,"project",docType);
    regards,
    Ranjan

    Hi All
    I created a form based on a UDO and it did not work because I found that the problem is in the code.
    Try:
    1) Build a form for your UDO using B1DE UDO Form Generator;
    2) Load the form generated by your code.
    In the case if not, occurs do the following: comment the code at the events and check again functionality.
    I has posted similar question on this [Thread: UDO Form: Search functionality|UDO Form: Search functionality;
    Now my form works.
    Best Regards
    Sierdna S.
    Edited by: Sierdna S on Oct 20, 2008 1:35 PM

  • XSLT Transformation NOt WORKING

    i have this XSLT and XML payload that i am wanting to transform. but the output xml does not contain the attribute for element engine.
    any help would be appreciated?
    this is my xslt
    <?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="../HTTPBinding.wsdl"/>
    <rootElement name="Envelope" namespace="http://HPES.org/"/>
    </source>
    </mapSources>
    <mapTargets>
    <target type="WSDL">
    <schema location="../Service1.wsdl"/>
    <rootElement name="Envelope" namespace="http://HPES.org/"/>
    </target>
    </mapTargets>
    <!-- GENERATED BY ORACLE XSL MAPPER 11.1.1.4.0(build 110106.1932.5682) AT [TUE JUN 07 11:17:07 CDT 2011]. -->
    ?>
    <xsl:stylesheet version="1.0"
    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:inp2="http://HPES.org/"
    xmlns:mhdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.mediator.service.common.functions.MediatorExtnFunction"
    xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
    xmlns:oraext="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:dvm="http://www.oracle.com/XSL/Transform/java/oracle.tip.dvm.LookupValue"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:med="http://schemas.oracle.com/mediator/xpath"
    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:bpm="http://xmlns.oracle.com/bpmn20/extensions"
    xmlns:xdk="http://schemas.oracle.com/bpel/extension/xpath/function/xdk"
    xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:inp1="http://tempuri.org/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:socket="http://www.oracle.com/XSL/Transform/java/oracle.tip.adapter.socket.ProtocolTranslator"
    xmlns:tns="http://oracle.com/sca/soapservice/Application1/Project1/Service1"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    exclude-result-prefixes="xsi xsl inp2 xsd inp1 wsdl tns bpws xp20 mhdr bpel oraext dvm hwf med ids bpm xdk xref ora socket ldap">
    <xsl:template match="/">
    <inp2:Envelope>
    <Body>
    <soapP1>
    <soapP2>
    <engine>
    <xsl:attribute name="value">
    <xsl:value-of select="/inp2:Envelope/Body/soapP1/soapP2/engine/@value"/>
    </xsl:attribute>
    <xsl:attribute name="txnElapsedTime">
    <xsl:value-of select="/inp2:Envelope/Body/soapP1/soapP2/engine/@txnElapsedTime"/>
    </xsl:attribute>
    <xsl:value-of select="/inp2:Envelope/Body/soapP1/soapP2/engine"/>
    </engine>
    </soapP2>
    </soapP1>
    </Body>
    </inp2:Envelope>
    </xsl:template>
    </xsl:stylesheet>
    this is my input xml
    <soap:Envelope xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2000/10/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <soapP1>
    <soapP2>
    <engine value="1" txnElapsedTime="0.05"/>
    </soapP2>
    </soapP1>
    </soap:Body>
    </soap:Envelope>
    this is my output where the attribute are lost.....
    <?xml version="1.0" encoding="utf-8"?>
    <inp2:Envelope xmlns:inp2="http://HPES.org/">
    <Body>
    <soapP1>
    <soapP2>
    <engine value="" txnElapsedTime="">
    </engine>
    </soapP2>
    </soapP1>
    </Body>
    </inp2:Envelope>

    <?xml version="1.0" encoding="UTF-8"?>
    <inp2:Envelope xmlns:inp1="http://tempuri.org/" xmlns:inp2="http://HPES.org/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tns="http://oracle.com/sca/soapservice/Application1/Project1/Service1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
         <Body>
              <soapP1>
                   <soapP2>
                        <engine value="1" txnElapsedTime="0.05"/>
                   </soapP2>
              </soapP1>
         </Body>
    </inp2:Envelope>this works for me
    you select the Envelop element op de prefix : inp2 (in your xsl defined as xmlns:inp2="http://HPES.org/")
    but in your payload data you say : <soap:Envelope (xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/")
    so..namespace mismatch

Maybe you are looking for

  • Capacity utilization rate (percent)

    Experts, If I set up a shift 6:00:00 to 14:00:00:00, length of breaks 00:30:00, cap. util. 100% I get 7,5 hr Operation time / Capacity. If I reduce the cap. util. to 80% and leave the start-, end- & breaktimes as they are I get 6,0 hr Operation time

  • No data in Report parameter inspite of Scheduling of List of Values

    Hi, In the Business View Manager, I have created a Business View and LOV(List of Values) based on that view. The LOV consists of a cascaded prompt group that is used in certain Crystal Reports as under: > Loan Name >> Loan Subtype >>>  Channel Name A

  • Data appears in the tree but not in the display

    Post Author: TheBig1980s CA Forum: General Hello: When I print data for one month, data appears in both the Preview tree and the Preview display.  When I print the data for another month, the data does show in the Preview tree but not in the Preview

  • Library Performance Discussion - Tips & Tricks?

    Over the years, my iTunes library (mp3s-only) has amassed to staggering 1.25Tb. Inevitably, I running into severe performance issues, where selecting songs, searching for songs, tagging and streaming to AirTunes has become a complete pain. My current

  • To Enable ADF Logging on Standalone WLS

    Hi All, I have read the following article to enable ADF loggin in my code and testing using JDeveloper: http://blogs.oracle.com/groundside/entry/adventures_in_adf_logging_part However, now I want to know how can I test it on a standalone server. How