Javascript + CF XML Integration

Hi everyone...
I've searched ALL over the net and I can't seem to come up
with results on how to do my task.
The task seems fairly simple, and I've tried quite a few
methods, but I cannot seem to get it to work
Here is my goal:
1)I have a simply HTML form with a submit button and a
<div> tag with id="divver". This page is "AJAX enabled" so I
want the data to be transferred "behind the scenes".
2)Inside this HTML page is some javascript to send an
asynchronus request to a .cfm page.
(NOTE: I've tried to receive a responseText from the .cfm
page and this works...so the communication is correct
3)Inside the .cfm page I just have some simple XML in a
string and I've tried using <cfdump> and <cfoutput> to
output the XML
4)My goal is to receive this XML from the .cfm page and
process it using javascript and then update the HTML page with the
javascript in it.
I think my problem is I don't know how to output the XML
correctly using the .cfm page, and when I receive it with my JS I
don't know how to process it.
Any help would be *GREATLY* helpful. Thanks!

Ok---EDIT WHOOPS HERE IS THE UPDATED SCRIPT
I've listed my (unworking, as it were...) code below.
I am still fairly in the dark. Defining the "Document" is
where I kind of get stuck. I am sorry for the annoyance :) I'm just
not quite understanding the entire process. I'm just trying to get
some predefined data from the .cfm page before I do anything else
with GET or POST vars.
Your continued help is much appreciated.
********.cfm page*******
<cfset myxml =
<name>
<first>
RANDOMFIRSTNAME
</first>
</name>
>
<cfcontent type = "text/xml" variable="myxml">
*****.html page w/ JS******
<html>
<body>
<script>
submitData = function(){
xmlobj = new XMLHttpRequest();
xmlobj.onreadystatechange = function(){
if(xmlobj.readyState ==4){
var myDoc=xmlobj.responseXML;
var myOutput = '';
var myTarget = document.getElementById("divver");
var myRoot= myDoc.getElementsByTagName("name")[0]; // the XML
root
var
myChildren=myDoc.childNodes[0].getElementsByTagName("first"); //
All first-level children
for (ix=0; ix < myChildren.length; ix++) {
myOutput += ... //Do something here
myTarget.innerHTML= myOutput;
xmlobj.open("GET","cfxml.cfm",true);
xmlobj.send(null);
</script>
<label>
<input type="submit" name="Submit" value="Submit"
onClick="submitData();">
</label><div id="divver">VALU</div>
</body>
</html>

Similar Messages

  • [ANN] Databases, Portals, Web Services, and XML Integration Magic (Boston, July 29)

    Recently added to DCI's Corporate and e-Business Portals
    Conference:
    Databases, Portals, Web Services, and XML Integration Magic
    When: July 29, 2001, 9:00 AM - 5:00 PM
    Where: Hynes Convention Center, Boston
    http://www.dci.com/brochure/porbos/seminars.asp

    Recently added to DCI's Corporate and e-Business Portals
    Conference:
    Databases, Portals, Web Services, and XML Integration Magic
    When: July 29, 2001, 9:00 AM - 5:00 PM
    Where: Hynes Convention Center, Boston
    http://www.dci.com/brochure/porbos/seminars.asp

  • When I start Firefox, I get this alert message "[JavaScript Application] XML tag name mismatch (expected META)". What is this message?

    My firefox updated today automatically, and then when it started up, it displayed this alert message:
    "[JavaScript Application] XML tag name mismatch (expected META)"
    I can press OK and my browser then works just fine and I can go to websites and what-not. I have not run across any problems or anything. I am just wondering what this alert message means and if I should fix it?
    I tried closing the browser and pulling it back up, and the same message was displayed. Also, if I open a new window the same message is displayed. But it is only displayed right when I open the browser, and does not show up anytime while using the browser.

    If you click the Home button from another page, does the error repeat? If so, what is your home page?
    When Firefox starts, it fires up a lot of add-ons. A standard diagnostic for add-on issues is to try Firefox's Safe Mode.
    First, I recommend backing up your Firefox settings in case something goes wrong. See [[Backing up your information]]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
    Next, restart Firefox in Firefox's Safe Mode ([[Safe Mode]]) using
    Help > Restart with Add-ons Disabled
    In the Safe Mode dialog, do not check any boxes, just click "Continue in Safe Mode."
    Do you still get the message? If not, one of your add-ons might not be fully compatible with Firefox 14 or might need an update.

  • Sample of  XML Integration function in CRM

    Hi,
    There is a function named XML Integration in the CRM. It provides Services, Invocations, and Authentications. As document, the service function will support the web service and give a sample service HelloWorld. But how to call the Hello World Service is no document. My question is how to call the sample service hello world.
    The following is the information of the sample service:
    Service Group Prefix: oracle.apps
    Application: CRM FOUNDATION
    Service Group: HelloWorld
    Service Group Full Name: oracle.apps.JTF.HelloWorld
    Java Class: oracle.apps.jtf.services.HelloWorldService
    Thanks a lot.
    Message was edited by:
    user584230

    Hi Devika,
    Check the Table: /1BEA/CRMB_BDH  in CRM
    You can pass the cancelled invoice Y in the field REFERENCE_NO and you will get the Invoice cancelled X in the field HEADNO_EXT.
    Hope i answered ur querry
    Regards,
    PePe

  • Indesign Javascript and xml structure

    Hi to all
    I am new to program javascript in Indesign, and I am looking for some example on how modify the xml structure inside a document using a javascript script.
    i.e.
    if I have a structure like this in the original document:
    root
    section
    tag1
    tag2
    tag3
    I need to transform it in this way( this is just an example, may be more complex):
    root
         section
              tag1
              tag2
              tag3
    Any help on where or how to solve this is very appreciate.
    Thanks a lot

    I think the MoveXMLElement.jsx script there shows pretty well what's involved. Here's something that addresses something closer to your example:
    var root = app.activeDocument.xmlElements[0];
    root.xmlElements.item("tag1").move(LocationOptions.AT_END, root.xmlElements.item("section"));
    root.xmlElements.item("tag2").move(LocationOptions.AT_END, root.xmlElements.item("section"));
    root.xmlElements.item("tag3").move(LocationOptions.AT_END, root.xmlElements.item("section"));
    You want to be careful about the order you do things and when you grab references to the xml structure objects, since you're changing them as you go (i.e. root.xmlElements[3] might refer to tag3 when you start, but will be invalid once you start moving things into section).
    If the xml structure in your InDesign document is the result of an xml import, you might consider transforming the xml as you import it. It's faster and more natural there.
    Hope that helps,
    Jeff

  • Integration.xml (Integration points)-Org Chart & other components!

    Hi Luke,
    Was just looking at file 'Integartion.xml' directly under my build in org charting & found that it is talking about OCI views like (a) ZNAK_OCI_O2O (b) ZNAK_OCI_O2OP  & (c) ZNAK_OCI_O2S. But was not able to find the same in OADP config. My question is:
    1) What is the purpose of Integration.xml?
    2) Why these views are not availaible in config?
    3) why this file is not availaible in Succession Planning?
    Reason, why I am looking for these answers is because I was trying to find integartion points between SAP & Nakisa and how Nakisa s pulling data from SAP through different files & views & evaluation paths!
    Regards,
    Prashant

    Hi Prashant,
    You should check out views V_TWPC_V_C and V_TWPC_ORGVW in SM31 to see the organizational views mentioned below. Basically, this is quite an in-depth topic. The solutions use various ways to retrieve data from SAP and these vary from application to applicaiton. These include:
    - NakisaRFC (using /NAKISA/ namespace functions that come in the ABAP Add-on)
    - SAP BAPIs accessed through application classes (such as HRTMC_GET_POSITION_ATTR in SuccessionPlanning) that might also have the data transformed during handling
    - Customer SAP BAPIs
    The intregration classes come in 2 types; those that were "ported" over from the .NET version and those that were created for the Java version. Those created for the Java version are defined in the integration.xml and don't exist for all applications.
    Some integration classes use SAP tables, others use evaluation paths and others just pull data based on the ID passed. It really depends on each type and the only way to get a good idea is to look through the different data elements for each application.
    That is quite high-level, but I hope it helps.
    Best regards,
    Luke

  • XML integration

    Hi Experts,
    I fallowed below articale but its is giving some error when i am runnign from instance when i click on open error is"Adobe reader could not openEmpRepro1.PDF because either it is not supported file type or file has been damaged wht would be teh problem please give me some solution its very urgent
    this is the link http://apps2fusion.com/at/51-ps/260-integrating-xml-publisher-and-oa-framework

    Dear Reteesh,
    Please find my below code ....
    Imports :
    import oracle.xml.parser.v2.XMLNode;
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import javax.servlet.ServletOutputStream;
    import javax.servlet.http.HttpServletResponse;
    import oracle.apps.xdo.XDOException;
    import oracle.apps.xdo.oa.schema.server.TemplateHelper;
    import oracle.cabo.ui.data.DataObject;
    import oracle.jbo.XMLInterface;
    EmpCO :
    private static final int DEPTH = 4;
    private static final int APP_ID = 20035;
    private static final String APP_NAME = "XXIGS";
    private static final String TEMPLATE_CODE = "Emp_Template";
    private static final int BUFFER_SIZE = 32000;
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModuleImpl am= (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
    am.invokeMethod("initEmpVO");
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModuleImpl am= (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
    String event = pageContext.getParameter("event");
    if("GenerateReport".equals(event))
    // Get the HttpServletResponse object from the PageContext. The report output is written to HttpServletResponse.
    DataObject sessionDictionary = (DataObject)pageContext.getNamedDataObject("_SessionParameters");
    HttpServletResponse response = (HttpServletResponse)sessionDictionary.selectValue(null,"HttpServletResponse");
    try {
    ServletOutputStream os = response.getOutputStream();
    // Set the Output Report File Name and Content Type
    String contentDisposition = "attachment;filename=EmpReport.pdf";
    response.setHeader("Content-Disposition",contentDisposition);
    response.setContentType("application/pdf");
    // Get the Data XML File as the XMLNode
    XMLNode xmlNode = (XMLNode) am.invokeMethod("getEmpDataXML");
    ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
    xmlNode.print(outputStream);
    ByteArrayInputStream inputStream = new ByteArrayInputStream(outputStream.toByteArray());
    ByteArrayOutputStream pdfFile = new ByteArrayOutputStream();
    //Generate the PDF Report.
    TemplateHelper.processTemplate(
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getAppsContext(),
    APP_NAME,
    TEMPLATE_CODE,
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getLanguage(),
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getCountry(),
    inputStream,
    TemplateHelper.OUTPUT_TYPE_PDF,
    null,
    pdfFile);
    // Write the PDF Report to the HttpServletResponse object and flush.
    byte[] b = pdfFile.toByteArray();
    response.setContentLength(b.length);
    os.write(b, 0, b.length);
    os.flush();
    os.close();
    catch(Exception e)
    response.setContentType("text/html");
    throw new OAException(e.getMessage(), OAException.ERROR);
    pageContext.setDocumentRendered(false);
    EMpAMImpl :
    public void initEmpVO()
    EmpVOImpl vo = getEmpVO1();
    if(vo == null)
    MessageToken errTokens[] = {
    new MessageToken("OBJECT_NAME", "EmpVO1")
    throw new OAException("AK", "FWK_TBX_OBJECT_NOT_FOUND", errTokens);
    } else
    vo.executeQuery();
    public XMLNode getEmpDataXML()
    OAViewObject vo = (OAViewObject)findViewObject("EmpVO1");
    XMLNode xmlNode = (XMLNode) vo.writeXML(4, XMLInterface.XML_OPT_ALL_ROWS);
    return xmlNode;
    }

  • XML Integration with Oracle

    Hi,
    Can anyone help me getting a document about XML's integration with Oracle ?
    Thanks

    XML Technology Center
    http://www.oracle.com/technology/tech/xml/index.html

  • XSLT and XML integration problem

    Hi there,
    Got a problem that I dont understand why its happening. I have an XML document (produced by the JDOM ResultSet Builder).
    And I run it through a stylesheet and the data comes up normally. When I now add the banner and navigation bar details to the stylesheet document leaving all the transformatio stuff the same, but there is no longer an output in my browser.
    Checking catalina.out shows a
    java.lang.nullPointerException
    which occurs just when Im about to do the transformation .....
    Transformer transformer = template.newTransformer();
    Any ideas why this is so.
    Many thanks
    JS
    Here's my code FYI
    XML
    <?xml version="1.0" encoding="UTF-8"?>
    <result>
         <entry>
              <StudentID>9917217</StudentID>
              <DCSCentralID>1</DCSCentralID>
              <FirstName>Jason</FirstName>
              <LastName>Smartt</LastName>
              <DateOfBirth>10 June 1976 00:00:00 o'clock BST</DateOfBirth>
              <TermTimeAddress>25 Oakwood Close, Burton, London</TermTimeAddress>
              <TermTimePostCode>SE5 3LS</TermTimePostCode>
              <PermanentAddress>15 West Wickham Road, Bromley</PermanentAddress>
              <PermanentPostCode>BR4 5TT</PermanentPostCode>
              <PermanentPhoneNumber>02074556789</PermanentPhoneNumber>
              <MobileTelephone>07987 654664</MobileTelephone>
              <EmailAddress>[email protected]</EmailAddress>
              <EntryQualifications>AAC</EntryQualifications>
              <YearOfEntry>1999</YearOfEntry>
              <YearOfGrad>2003</YearOfGrad>
              <CurrentStage>3</CurrentStage>
              <CandidateNumber>E08956</CandidateNumber>
              <LecturerID>TC01</LecturerID>
              <UCASCode>G4N2</UCASCode>
              <Photograph />
         </entry>
    </result>
    XSL Document
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0"
         xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
         <xsl:template match="/">
         <html>
              <xsl:apply-templates select="result/entry"/>
         </html>
         </xsl:template>
         <xsl:template match="result/entry">
         <head>
         <title>MyDetails</title></head>
         <body bgcolor="#FFFFFF">
    <table border="1" width="100%" height="82" cellspacing="0" cellpadding="0" bgcolor="#FFCC00" bordercolordark="#666666" bordercolorlight="#CCCCCC">
    <tr>
    <td width="22%" height="90" bordercolor="#0000FF" valign="middle" align="center"><!--mstheme--><font face="Arial, Arial, Helvetica">
    <h1 align="center"><i><font face="Arial Black" color="#000000">my</font></i><font face="Arial Black" color="#000000">DCS</font></h1>
         <!--mstheme--></font>
    </td>
    <td width="61%" height="90" bordercolorlight="#000000"><!--mstheme--><font face="Arial, Arial, Helvetica">
    </td>
    <td width="17%" height="90" bordercolorlight="#000000"><!--mstheme--><font face="Arial, Arial, Helvetica">
    </td>
    </tr>
    </table>
    <!--mstheme--><font face="Arial, Arial, Helvetica"><!--mstheme--></font>
                   <table border="0" width="100%" cellpadding="0" cellspacing="0" height="355">
                        <tr>
                        <td width="100%" colspan="2" bgcolor="#FFFF00">
                             <p align="center"><font face="Verdana"><b>MyDetails</b></font></p></td>
                        </tr>
                        <tr>
                        <td width="50%"><b>Personals</b></td>
                        <td width="50%"></td>
                        </tr>
                        <tr>
                        <td width="50%"><font face="Verdana">Student ID</font></td>
                        <td width="50%"><font face="Courier"><xsl:apply-templates select="StudentID"/></font></td>
                        </tr>
                        <tr>
                        <td width="50%"><font face="Verdana">DCSCentralID</font></td>
                        <td width="50%"><font face="Courier"><xsl:apply-templates select="DCSCentralID"/></font></td>
                        </tr>
                        <tr>
                        <td width="50%"><font face="Verdana">First Name</font></td>
                        <td width="50%"><font face="Courier"><xsl:apply-templates select="FirstName"/></font></td>
                        </tr>
                        <tr>
                        <td width="50%"><font face="Verdana">Surname</font></td>
                        <td width="50%"><font face="Courier"><xsl:apply-templates select="LastName"/></font></td>
                        </tr>
                        <tr>
                        <td width="50%" height="20"><font face="Verdana">Date Of Birth</font></td>
                        <td width="50%" height="20"><font face="Courier"><xsl:apply-templates select="DateOfBirth"/></font></td>
                        </tr>
                        <tr>
                             <td width="50%" height="21"></td>
                        <td width="50%" height="21"></td>
                        </tr>
                        <tr>
                        <td width="100%" colspan="2" height="21"><b>Address Information</b></td>
                        </tr>
                        <tr>
                        <td width="50%" height="20"><font face="Verdana">Term-Time Address</font></td>
                        <td width="50%" height="20"><font face="Courier"><xsl:apply-templates select="TermTimeAddress"/></font></td>
                        </tr>
                        <tr>
                        <td width="50%" height="20"><font face="Verdana">Term-Time Postcode</font></td>
                        <td width="50%" height="20"><font face="Courier"><xsl:apply-templates select="TermTimePostCode"/></font></td>
                        </tr>
                        <tr>
                        <td width="50%" height="20"><font face="Verdana">Permanent Home Address</font></td>
                        <td width="50%" height="20"><font face="Courier"><xsl:apply-templates select="PermanentAddress"/></font></td>
                        </tr>
                        <tr>
                        <td width="50%" height="20"><font face="Verdana">Permanent Home Postcode</font></td>
                        <td width="50%" height="20"><font face="Courier"><xsl:apply-templates select="PermanentPostCode"/></font></td>
                        </tr>
                        <tr>
                        <td width="50%" height="20"><font face="Verdana">Permanent Phone Number</font></td>
                        <td width="50%" height="20"><font face="Courier"><xsl:apply-templates select="PermanentPhoneNumber"/></font></td>
                        </tr>
                        <tr>
                        <td width="50%" height="21"></td>
                        <td width="50%" height="21"></td>
                        </tr>
                        <tr>
                        <td width="50%" height="21"><b>Contact Details</b></td>
                        <td width="50%" height="21"></td>
                        </tr>
                        <tr>
                        <td width="50%" height="20"><font face="Verdana">Mobile Phone Number</font></td>
                        <td width="50%" height="20"><font face="Courier"><xsl:apply-templates select="MobileTelephone"/></font></td>
                        </tr>
                        <tr>
                        <td width="50%" height="20"><font face="Verdana">Email Address</font></td>
                        <td width="50%" height="20"><font face="Courier"><xsl:apply-templates select="EmailAddress"/></font></td>
                        </tr>
                        <tr>
                        <td width="50%" height="21"></td>
                        <td width="50%" height="21"></td>
                        </tr>
                        <tr>
                        <td width="50%" height="21"><b>Academic Information</b></td>
                        <td width="50%" height="21"></td>
                        </tr>
                        <tr>
                        <td width="50%" height="20"><font face="Verdana">Entry Grades</font></td>
                        <td width="50%" height="20"><font face="Courier"><xsl:apply-templates select="EntryQualifications"/></font></td>
                        </tr>
                        <tr>
                        <td width="50%" height="20"><font face="Verdana">Year of Entry</font></td>
                        <td width="50%" height="20"><font face="Courier"><xsl:apply-templates select="YearOfEntry"/></font></td>
                        </tr>
                        <tr>
                             <td width="50%" height="21"><font face="Verdana">Year of Graduation</font></td>
                        <td width="50%" height="21"><font face="Courier"><xsl:apply-templates select="YearOfGrad"/></font></td>
                        </tr>
                        <tr>
                        <td width="50%" height="21"><font face="Verdana">Current Stage</font></td>
                        <td width="50%" height="21"><font face="Courier"><xsl:apply-templates select="CurrentStage"/></font></td>
                        </tr>
                        <tr>
                        <td width="50%" height="21"><font face="Verdana">UCAS Code</font></td>
                        <td width="50%" height="21"><font face="Courier"><xsl:apply-templates select="UCASCode"/></font></td>
                        </tr>
                        <tr>
                        <td width="50%" height="21"><font face="Verdana">Candidate Number</font></td>
                        <td width="50%" height="21"><font face="Courier"><xsl:apply-templates select="CandidateNumber"/></font></td>
                        </tr>
                        <tr>
                        <td width="50%" height="21"><font face="Verdana">Tutor Code</font></td>
                        <td width="50%" height="21"><font face="Courier"><xsl:apply-templates select="LecturerID"/></font></td>
                        </tr>
                   </table>
         </body>
         </xsl:template>
         <xsl:template match="StudentID">
         <xsl:value-of select="."/>
         </xsl:template>
         <xsl:template match="DCSCentralID">
         <xsl:value-of select="."/>
         </xsl:template>
         <xsl:template match="FirstName">
         <xsl:value-of select="."/>
         </xsl:template>
         <xsl:template match="LastName">
         <xsl:value-of select="."/>
         </xsl:template>
         <xsl:template match="DateOfBirth">
         <xsl:value-of select="."/>
         </xsl:template>
         <xsl:template match="TermTimeAddress">
         <xsl:value-of select="."/>
         </xsl:template>
         <xsl:template match="TermTimePostCode">
         <xsl:value-of select="."/>
         </xsl:template>
         <xsl:template match="PermanentAddress">
         <xsl:value-of select="."/>
         </xsl:template>
         <xsl:template match="PermanentPostCode">
         <xsl:value-of select="."/>
         </xsl:template>
         <xsl:template match="PermanentPhoneNumber">
         <xsl:value-of select="."/>
         </xsl:template>
         <xsl:template match="MobileTelephone">
         <xsl:value-of select="."/>
         </xsl:template>
         <xsl:template match="EmailAddress">
         <xsl:value-of select="."/>
         </xsl:template>
         <xsl:template match="YearOfEntry">
         <xsl:value-of select="."/>
         </xsl:template>
         <xsl:template match="YearOfGrad">
         <xsl:value-of select="."/>
         </xsl:template>
         <xsl:template match="CurrentStage">
         <xsl:value-of select="."/>
         </xsl:template>
         <xsl:template match="UCASCode">
         <xsl:value-of select="."/>
         </xsl:template>
         <xsl:template match="CandidateNumber">
         <xsl:value-of select="."/>
         </xsl:template>
         <xsl:template match="LecturerID">
         <xsl:value-of select="."/>
         </xsl:template>
    </xsl:stylesheet>
    Thx again.
    J

    Thanks dvohra
    But in my servlet, I already have the transformer factory defined as follows
    public class JDOMServlet extends HttpServlet {
         private TransformerFactory tFactory = TransformerFactory.newInstance();
         private ResultSet rs = null;
         private StreamSource xsltSource;
         private Templates template;
         public void init(ServletConfig config) throws ServletException {
              super.init(config);
              ServletContext ctx = config.getServletContext();
              try {
                   //Want to cache the stylesheet for future resuse
                   //then it doesnt have to be loaded constantly
                   URL xslURL = ctx.getResource("/WEB-INF/viewStudentDetails.xsl");
                   System.out.println(xslURL);
                   xsltSource = new StreamSource(new java.net.URL(xslURL.toString()).openStream());
                   //xsltSource = new StreamSource(ctx.getResourceAsStream("/Web-inf/viewStudentDetails.xsl"));
                   template = tFactory.newTemplates(xsltSource);
              catch (Exception e) {
                   e.printStackTrace();
    I think the key point is that, this transformation servlet worked fine, when all it was outputting was the xml data, styled in a table. As soon as I enter more table info, (i.e. for the banner and navigation bar), the null pointer exception pops up.
    ....a lost and puzzled jase....
    Thanks again.
    JS

  • Text file to XML integration.

    Hi,
    My Text file is picking from source but not writing to target. Getting "RuntimeException in Message-Mapping transformatio~". But when i test message mapping it showing success. All the fields are mapped properly and Conversion is also correct, what else could be problem.
    Your solution will be apreciated.
    Ranjeeth.

    Hi Ranjeeth,
    1) As per the question, your input is text file. Do you have used content conversion to get the xml file from the text file.
    2) Test the mapping in the repository - take the input from SXMB_MONI(input message) and give this data as a input to your Message mapping.
    /people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
    Regards,
    Moorthy

  • Apex Charts custom XML integration

    Hi All,
    I found a chart in Anycharts.com and downloaded its XML.I wanted to integrate this chart with apex. But the XML,which i downloaded uses data from a .csv file. How to integrate this XML with apex. I found we can edit the default XML in the chart generated by. But How does XML take the values from the query which we write. There is only #DATA# at the end of the chart generated by apex and no clue on how and in what format this Data comes.
    Please help me out.
    Thanks,
    Ajay

    Ajay -
    Others may be able to explain this process better than I but I'll give it my best.
    The #DATA# tag that you see in the default custom xml for a chart is a substitution string. When your page is rendered, APEX runs the queries associated with your chart and then creates XML based on the chart type of the series. Next, it takes this XML that it generated and puts it in the chart custom XML where that #DATA# tag is located.
    There are other ways to get custom data into your chart. You can create the XML yourself in a page item and then insert the contents of that page item into the custom XML of the chart. This can be an advanced topic, but it really isn't too bad once you get the hang of it. The following link contains some pretty good examples of the things you can do. It even shows you how to format your SQL to obtain similar results. Custom XML generation is in the MISC tab. http://apex.oracle.com/pls/apex/f?p=36648:1:2979429292819853::NO I am not responsible for putting this page together, another forum member is, and perhaps they will chime in.
    Hope this helps
    Austin

  • XML integration: SOAP Runtime Exception

    Hi, and a happy new year to all of you.
    I'm quite in trouble right now: I'm trying to process an XML flow into BW, but I receive the following error when trying:
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
    <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Server</faultcode>
    <faultstring>Internal Server Error</faultstring>
    <detail>SOAP Runtime Exception: CSoapExceptionInternal : XML kernel processor cannot prepare function call ( kernel rc=2 ) </detail>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body></SOAP-ENV:Envelope>
    The strangest thing is:
    - I don't see any XML error
    - When I try to send the flow into another system (Without the right datasource name), i get the same error
    - When I add an error in my XML code, I still have the same error
    - When I try another flow for another DataSource on the target system... it works quite well
    It should mean that something wrong with my xml file, but I really don't see what. Could someone help me there?
    <?xml version="1.0" ?>
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP:Body>
    <rfc:_-BI0_-QI6AZtX_ST_UPFRONT_TOOLS_RFC xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
      <DATASOURCE>6AZX_ST_UPFRONT_TOOLS</DATASOURCE>
      <DATA>
        <item>
          <LONUM></LONUM>
          <DOCNUM></DOCNUM>
          <BDLST></BDLST>
          <BU></BU>
          <BD></BD>
          <PARZC></PARZC>
          <COUNTRY></COUNTRY>
          <CREATEDON></CREATEDON>
          <DOCRY></DOCRY>
          <SOLDNUM>1000000001</SOLDNUM>
          <CUACCREQ></CUACCREQ>
          <CUCTAGGN></CUCTAGGN>
          <CUPOLAMD></CUPOLAMD>
          <CPOD></CPOD>
          <BPBSTKD>TESTLFH210</BPBSTKD>
          <CPORCVD></CPORCVD>
          <CAEATBPD></CAEATBPD>
          <DTCAED></DTCAED>
          <LABPD></LABPD>
          <LAEDCAED></LAEDCAED>
          <TVRDTD></TVRDTD>
          <FVRDTD></FVRDTD>
          <SVRDTD></SVRDTD>
          <FFHAGO>A</FFHAGO>
          <INCOCODE></INCOCODE>
          <INCOSITE></INCOSITE>
          <KTEXTSO></KTEXTSO>
          <IDNUM>10CAELA1</IDNUM>
          <IDLAV></IDLAV>
          <PARZK></PARZK>
          <TVRDTN></TVRDTN>
          <FVRDTN></FVRDTN>
          <SVRDTN></SVRDTN>
          <PARZO></PARZO>
          <ORCAT></ORCAT>
          <ORCREAV></ORCREAV>
          <PARZP></PARZP>
          <RQDATE></RQDATE>
          <FIRSTDT></FIRSTDT>
          <PARZA></PARZA>
          <SALESGRP></SALESGRP>
          <SHIPRES></SHIPRES>
          <SCTDESC></SCTDESC>
          <SELUNIT></SELUNIT>
          <SCWWBU></SCWWBU>
          <LACTV></LACTV>
          <CUPOTST></CUPOTST>
          <TOOLNUM></TOOLNUM>
          <BPROJET></BPROJET>
          <AMOUNT></AMOUNT>
          <UPDMOD></UPDMOD>
          <LBD></LBD>
          <LBGRP></LBGRP>
          <SOLANM>L-A</SOLANM>
          <SOCAENM></SOCAENM>
          <SORDNM></SORDNM>
          <FHAGO>10LA3</FHAGO>
        </item>
      </DATA>
    </rfc:_-BI0_-QI6AZX_ST_UPFRONT_TOOLS_RFC>
    </SOAP:Body>
    </SOAP:Envelope>
    Thanks a lot, and please be gentle with the humble beginner I am.
    Sylvain

    upfront i can see one erro is that your SOAP message is not a valid XML format.
    the start tag
    (rfc:_-BI0_-QI6AZtX_ST_UPFRONT_TOOLS_RFC) dosent match with the end tag (rfc:_-BI0_-QI6AZX_ST_UPFRONT_TOOLS_RFC)
    this may be a typo?
    also since you are getting internal error, there is a chance that it might have created a ABAP dump. check in transaction ST22.
    Regards
    Raja

  • Indesign Javascript, find  xml tag from cursor position

    Hi All,
    I have a single textframe with multiple xml tags within formated by paragraph and character styles.
    I want to access the xml tag attribute of the xmltag, related to my first 5 characters....
    How to do it?
    Or second approch, i need to find first and last xml tag on the page.

    Try this (second approach),
    Select any text frame and try the below code:
    alert(app.selection[0].lines[0].words[0].associatedXMLElements[0].markupTag.name)\\first XML tag
    alert(app.selection[0].lines[-1].words[-1].associatedXMLElements[0].markupTag.name)\\second XML tag
    Vandy

  • Html integration rather than xml integration

    Can oracle interconnect http adapter 'get' and 'post' to external web servers to integrate at the html web page level?
    TIA
    Tom

    Did you ever try Windows Safe mode to check if some security software (firewall, anti-virus) is causing this problem?
    Did you try to disable all Firefox extensions?
    You can create a new profile as a test to check if your current profile is causing the problems.
    See "Creating a profile":
    *https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
    If the new profile works then you can transfer some files from an existing profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over the problem.
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    You can remove all data stored in Firefox from a specific domain via "Forget About This Site" in the right-click context menu of an history entry ("History > Show All History" or "View > Sidebar > History") or via the about:permissions page.
    Using "Forget About This Site" will remove all data stored in Firefox from that domain like bookmarks, cookies, passwords, cache, history, and exceptions, so be cautious and if you have a password or other data from that domain that you do not want to lose then make a note of those passwords and bookmarks.
    You can't recover from this 'forget' unless you have a backup of the involved files.
    It doesn't have any lasting effect, so if you revisit such a 'forgotten' website then data from that website will be saved once again.

  • Oracle 11i XML integration - how?

    We are trying to integrate to Oracle 11i Financials. Does Oracle already have APIs built that we can hook up to?
    If not, what's the best way to do this?
    Thanks

    Samar,
    See the following links/documents.
    Note: 457566.1 - Oracle Applications Patching FAQ for Release 11i
    Note: 459156.1 - Oracle Applications Patching FAQ for Release 12
    Note: 174436.1 - Oracle Applications Patching FAQ
    Maintaining Oracle Applications Documentation Set
    http://www.oracle.com/technology/documentation/applications.html
    Products and Families and Versions - Oh, My!
    http://blogs.oracle.com/stevenChan/2009/04/products_and_families_and_vers.html
    Regards,
    Hussein

Maybe you are looking for

  • Servlet only gets null values from mobile

    OK, i'm doing a project for college which involves inputting data into an application on a mobile device, sending them to a servlet and updating a database. I've got my mobile app working and sending but the servlet is only receiving null values for

  • SSIS 2012 job hangs dataflow task

    hi all, i have 2 data flow tasks in a package that run based on parameters. the package is being run as a sql agent job using catalog execution model. the job sometimes hangs without reason. also, when i looked at the target sql tables, only few rows

  • No Preview in Folio Overlays panel

    When I click Preview in the Folio Overlays panel, nothing happens.  The screen tip says the Adobe Viewer application must be open in the foreground, but I can only find the viewer for the iPad, not for the iMac. I have the box version of InDesign CS6

  • CST No. & TIN No.

    Dear Friends, I am unable to get the values of CST No.(Taxid1) and TIN No. (Taxid11) related to the ship to address of the customer from the table crd7 in my udf's. I have created two udf's and i am looking forward for a query that whenever i change

  • You Tube Edge vs Wi-Fi Quality

    U have recently noticed on my iPhone that when i use you tube over wi-fi, the picture quality is perfect, but when i use you tube via Edge, the video is blurry and low quality. I have checked the same video with wi-fi and also edge and it comes perfe