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;
}

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

  • 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

  • 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 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

  • 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>

  • 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

  • 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

  • XML escaping issue in ABAP during XML file transfer to App. Server.

    Hello Partners:
    I was going through some work of XML integration of SAP with a third-party. But came across an issue:
    The text descriptions we are sending within an XML tag has certain special characters like '&'. But the XML parser is not escaping it. Hence its replacing '&' with "&amp;" in the XML data string. So now I need to understand how can we implement escaping via ABAP for generated XML strings? Can you all please help me to understand which methods to use and how?
    It will be much appreciated.
    Thanks in advance.
    Vivek Singh.

    Hello SAP Friends!
    I'm facing the same problem concerning special chars in XML. I've tried to unescape the '&' sign with methods of if_ixml_ostream
       l_ostream->set_ignore_escaping( ignore_escaping = '&' ).
    the character is set and can be called by
      l_str = l_ostream->get_ignore_escaping( ).
    After the rendering was done and the download has finished the xml document can be loaded in EXCEL but the special characters are replaced by & a m p;
    Has anybody found a method to avoid the behaviour?
    My original problem is, the the data have to be in one cell in excel. I know at present no method to download data (text including line feeds) from SAP to excel into one cell.
    Maybe you have found a way to use  ignore_escaping in correct way!
    Thanks a lot in advance!!!

  • Problems embedding HTML into XML with CVIXMLSetElementValue - unwanted &lt and &gt

    I'm using the CVI XML functions. When I try to insert some pre-exsting HTML as the element value with CVIXMLSetElementValue, it dutifuly converts all the HTMLangle brackets into &lt and &gt, which is NOT what I want.
    (I can protect the XML integrity by wrapping it in [CDATA[ ....]] but that does not solve the conversion issue here.)
    Any suggestions?
    Thanks,
    Ian
    Solved!
    Go to Solution.

    To explain a bit further, below is a code snippet and the unwanted result that I see. Does this behavior - even with CDATA - make good design sense?
    From my perspective CVIXMLSetElementValue should respect CDATA elements. Am I right? Or just biased?
    stat = CVIXMLSetElementValue (test1_element, "Hello");
    stat = CVIXMLSetElementValue (test2_element, "<p>Hello</p>");
    stat = CVIXMLSetElementValue (test3_element, "<! [CDATA[<p>Hello</p>]] >");
    // Problematic Output:
    // <?xml version="1.0"?>
    // <root>
    // <test1>Hello</test1>
    // <test2>&lt;p&gt;Hello&lt;/p&gt;</test1>
    // <test3>&lt;! [CDATA[&lt;p&gt;Hello&lt;/p&gt;]] &gt;</test1>
    // </root>

  • XML namespace Problem

    Hi All,
    I'm usign the following code:
    Namespace javaworldNS = Namespace.getNamespace("http://www.javaworld.com");
    Element myElement = new Element("article", javaworldNS);
    myElement.addContent(new Element("title")
                       .setText("Easy Java/XML integration with JDOM"));
    Document doc = new Document(myElement);and it is producing this when i write it the doc object onto a file:
    <article xmlns="http://www.javaworld.com">
      <title xmlns="">Easy Java/XML integration with JDOM</title>
    </article>Now if you see inside title element, an extra empty namespace comes automatically. What i want is the following:
    <article xmlns="http://www.javaworld.com">
      <title>Easy Java/XML integration with JDOM</title>
    </article>So how can i omit this namespace entry from the child element?
    thanks in advance!

    You have the question backwards. In the first example, the <title> element is NOT in the default namespace, because it explicitly says so. In the second example, the <title> element IS in the default namespace, because it inherits the namespace from its parent element.
    An XML element always inherits its parent element's namespaces unless it explicitly says otherwise.
    So if you want the second example as your output, you must declare the <title> element to be in the default namespace just as you declared the <article> element.

Maybe you are looking for

  • Clearing Product History?

    trying to run a report on who still has gw7 still on their machine, the problem is, according to zcm more users than we actually have still show having gw7 and we know at least half got gw8. ideally we'd like to see about clearing the history, we rea

  • Trying to sync with desktop (Local PC), searches but never finds connected PC

    trying to sync with desktop (Local PC), searches but never finds connected PC. How to manually sync?

  • Upgrade BPC 7.53 to BPC 10.0

    Hello, we are running on BW 7.3 with BPC Version 7.53 (not 7.50), which is necessary one for a NW 7.3 system. We would like to upgrade to BPC 10.0, but unfortunatelly SAP provides no explicit information about this scenario. Does somebody know if thi

  • 17 in Macbook Pro Speaker upgrade

    Okay. I'm a proud owner of the last rev of the 15 in Powerbook and I love it. I also realize that I need to upgrade to the intel chip in the future (the distant future). I happen to love me some music and while reading the specs on the new 17 inch I

  • Eprintcent​er and snapfish accounts wont sign in....

    I am trying to use the Savings Center but HP asks me to sign in first. When I do, I enter my HP sign-in information and then it takes me to another screen asking me to link my Snapfish and HP accounts together because they are the same email. When I