Xml document transfer from JSP app to an ASP app

Hello,
The client has an existing Active Server Pages application. In-house we have built another application in JSP. We need to send an xml document that we are generating in Java Server Pages along with session login data to the existing ASP application.
In turn, the ASP application will use XSLT to render the xml on the web browser.
The JSP web interface consists of a final results screen which contains a hypertext link that links up to the existing ASP application. When a user clicks the hypertext link, the page gets redirected to the Index.asp.
Do you have any insight as to how I can transfer that xml document from the JSP application to the ASP application along with the session data?
Thanks for your time.

Hello,
I am also interested in this... can you provide an example. Assume I know how to actually create the xml file (which isn't true yet... but I think I know where to go to find out)... what would the jsp (or servlet) code look like to include that xml file as a parameter.
Thanks
Eric-

Similar Messages

  • Getting xml document out from clob

    Hi All,
    How could we get the xml document according to the user queries if we store the xml document as it is to the clob.
    Can I use the XSU to store the xml document to the clob and retrieve xml from the clob according to user queries.Is it possible?
    How could intermedia help me in solving this problem.
    Thanks in advance
    Dinu Varghese.
    null

    OTN has some sample apps that might interest you:
    [list]
    [*]Customizing Web Content
    [*]B2B with XML
    [list]
    Regards,
    -rh

  • Using an XML document in several JSP Pages

    I am using a certain XML document in several different JSP pages (I have several JSP pages in which I need to get data from and save data to the document)
    I'd thought about using it as a bean so that I don't have to reopen it in every page, but I can't since the "Docuemnt" object is actually an interface.
    This is the code I'm using to open the document:
    final String fileName= "./doc/config.xml";
    int listLength, listLengthAuthors;
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    factory.setValidating(true);
    DocumentBuilder builder = factory.newDocumentBuilder();
    File xmlFile = new File(fileName);
    xmlDoc = builder.parse(xmlFile);
    Any ideas?

    I'd thought about using it as a bean so that I don't have to reopen it in every page, but I can't since the "Docuemnt" object is actually an interface.Use it as a bean. The Document "class" is an interface, but the object you get from DocumentBuilder is an object just like any other object, and there are no restrictions on how you can use it. Try it.

  • Submitting a XML Publisher Report from JSP page

    Hello,
    We have need to submit a XML Publisher report from Quoting/iStore module in Oracle Ebusiness. The out put should be viewable in PDF format and user should be able to print. can anyone pls help on how this can be achieved.
    TIA

    Really appreciate your response. Can you pls give little more details.
    1] Are there any standard API's which I can use to submit XML publisher report from the JSP pages
    2]Is there any sample code snippet for any of the options that I can refer to..or pls let me know the API's, I will check on them
    Appreciate any help

  • Read a .dot (MS Word Document Template) from jsp

    Hi,
    I have a link to a .dot (MS Word document Template file on the jsp page. While trying to access it from a link on the browser, the file is getting displayed in binary format.
    If I try a normal word document or excel document, I am able to open/save the document.
    I tried adding the following lines in the web.xml too with the same results.
    <mime-mapping>
    <extension>dot</extension>
    <mime-type>application/msword</mime-type>
    </mime-mapping>
    and tried with this also
    <mime-mapping>
    <extension>dot</extension>
    <mime-type>application/vnd.ms-word</mime-type>
    </mime-mapping>
    Can anybody help me on this ?
    Thanks n advance, Sajiv

    As you had directed, I tried a sample jsp with just
    the link to the document. When I click on the link,
    it allows me to open/save the document and the
    default type it gives is with the extension.doc.
    I am able to save the file as a .dot itself.
    So, if this is coming from an application in a
    server, is there any particular reason why it is not
    functioning properly ?I don't fully understand if the problem is already solved or not?
    When you mean by UserAgent, what do you actually
    mean?An useragent is just a client application which can access network sources. In this case it is likely a web browser, for example Internet Explorer or Firefox. It might be useful to try as many useragents as possible so that you can exclude the useragent's default behaviour.

  • Document transfer from SRM to DMS through content server

    Hi Everybody,
            In one of scenarios we need to transfer documents attached to the shopping cart line items in SRM to R/3.
           For that we followed the following procedure.
           1.In the SRM to R/3 system, the attachments are driven by the BADIs.
           2.In the BADI, if we define DMS_C1_ST as the storage category for R/3 Database, the DMS should work
           3.The existing DMS, the customized content server is Z_DMS.
          4.Using SRM (with Z_DMS)we are able to create the Document Info Record
          5.The attachments are not reflected in DMS (driven through SRM)
          6.When the attachments are added in the DMS manually, DMS works perfect
         I am thinking there might be some configuration required in content server for the conversion of original application files.
         If anybody have the solution for this please post here.
    Thanks,
    Rajesh.

    Hi
    <b>Please refer to the links below -></b>
    Re: Attachments in PR and PO
    Re: Sending attachments from SRM to SAP Purchase Requisition
    Re: Transfer  SC attachment from srm 5.0 to backend R/3
    Re: Attachments to backend
    Re: Attachments in PR and PO
    Re: URL vs. document attached in back end EBP 4.0 Classic/4.7 E
    http://help.sap.com/saphelp_47x200/helpdata/en/41/648838ab4e8a11e10000009b38f8cf/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/49/b32640632cea01e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/d6/806c39917d423ee10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/9b/c2b9375e62545ce10000009b38f889/frameset.htm
    Do let me know incase you still have any queries.
    Regards
    - Atul

  • Document transfer from Solution Manager into ARIS

    We have sucessfully transfer projects content from Solman into ARIS. Unfortunatelly links to documents cannot be found. To my knowledge links from General documentation answell as from Project documentation should be able to find in ARIS after the transfer. Has anybody any ideas about this.
    Kind regads

    Hi,
    Yes, either link to both "Gen. Documentation" and "Project Documentation" should be accessible. Or else, atleast either one of them should be accessible.
    Some configuration is missing in ARIS side, which allows you to access this link from ARIS diagram.
    best regds,
    Alagammai.

  • Document type definitions for xml documents exported from SBO?

    I am looking for DTD or XSD specifications for the documents that are exported from SBO via the DI API. It seems that this information is not available with the standard DI API documentation. Does anyone have a clue about where to look for these specifications ?
    Best regards,
                Henry Nordströ

    The DI Company object has a GetBusinessObjectXmlSchema method which allows you to retreive the schema details.
    Below is the sample from the DI help file.
    Dim XMLStr As String
    Dim domDoc As DOMDocument
    Set domDoc = New DOMDocument
    XMLStr = vCmp.GetBusinessObjectXmlSchema(oInvoices)
    domDoc.loadXML (XMLStr)
    domDoc.save ("C:\ XMLFiles \MyXML2.xml")
    Regards,
    John.

  • Options for large XML file - downloading from the app hangs browser

    I am using 5.6.3 in EBS.
    My users want to create files that can be uploaded into another system. The system will take XML files so my original idea was to create a data definition and have the user simply save the xml output (using View XML option). A .rtf template is also required for a pdf output - a summary of what was sent in the extract. This idea worked fine until I got a large file (37+ MB) and the View XML crashed my browser. Other than moving the files to a directory on the server that my user has access to, is there any other way to get at that raw XML?
    Updated:
    I have been doing some more reading and I am wondering if both an etext template and a pdf template would have been the better solution. This way I could submit once with the etext template and republish same data with the pdf template. Has anyone tried this successfully? I am not sure though that this would eliminate my problem with the large files (100,000+ records) crashing the browser. When you use an etext template, how do you get at that file? Is it using the 'View Output' button on Request Form or do I have the option to send it somewhere directly (i.e. server or email)?
    Any tips would be appreciated.
    Edited by: Tam_11 on Jan 14, 2011 1:38 PM

    Hi,
    using etext, the text output will still be in the usual directory at $APPLCSF/$APPLOUT.
    The text output will be smaller than the XML output so I'd be surprised if it still crashes your browser so you shouldn't need to get the XML.
    What format is needed for the target system?
    Cheers
    Kofi

  • Document Transfer from FI to Profitability Analysis

    Dear ALL,
    I have transferred the some FI accounting documents to PA by T Code:KE4SFI as this dosuments were missed in COPA
    System shows that documents transferred in KE4SFI.
    But when I execute the KE24-Account BASED Report ,the system doesn't show the transferred documents.
    Can anybody throw some light on this as it is little urgent as accurate profitability reports could not be generated.
    Regards
    Su

    Hi,
    if KE4SFI  reports that the docs. have been posted, they are transferred to CO-PA (if there was no update termination). You can cross-check this by doing a KE4SFI testrun again for the same documents using the "check for existing records" flag, the documents will not be posted to CO-PA again as they are already there.
    So check your KE4S selection screen "KE24-Account BASED Report " guess the solution can be found here. Don't now your number of CO-PA docs per day, but select only currency type / record type "B" / date created / company code, you should find the documents.
    BR Christian

  • XSLT from XML document

    Hello all you XML gurus
    I have written and ABAP as a client to connect to external web services which return an XML response and I now need to write and XSLT in order to transfer the data into my ABAP structure. Is there an easy way to write and XSLT transformation program using the XML as a base?
    Take a look at the XML document returned from the webservice
    <?xml version="1.0" encoding="utf-8"?>
    <SchedRemote xmlns="http://scheduall.com/webservices/">
      <Response>
        <ClientDetails ERRCODE="0" ERRMSG="Ok">
          <Field CL_ID="1127823" />
          <Field PID="0" />
          <Field NAME="Anthonys test client" />
          <Field ADDRESS="" />
          <Field CITY="" />
          <Field STATE="" />
          <Field ZIP="" />
          <Field COUNTRY="" />
          <Field PH1="0836078881" />
          <Field PH2="" />
          <Field FAX="0114674054" />
          <Field NTS="" />
          <Field SNTS="" />
          <Field TAX1="" />
          <Field TAX2="" />
          <Field RATE_ID="0" />
          <Field TAXCODE="0" />
          <Field TERMS_ID="0" />
          <Field STAT="0" />
          <Field EXEC_ID="0" />
          <Field SHORTNAME="" />
          <Field CLIENTTYPE="0" />
          <Field EXTID="" />
          <Field T_SINCE="1/1/1970 12:00:00 AM" />
          <Field BILLPARENT="0" />
          <Field INHOUSE="0" />
          <Field CRLIMIT="0" />
          <Field POREQUIRED="0" />
          <Field DISCOUNT="0" />
          <Field LAST_MOD="4/16/2007 2:44:54 PM" />
          <Field BADDRESS="" />
          <Field BCITY="" />
          <Field BSTATE="" />
          <Field BZIP="" />
          <Field BCOUNTRY="" />
          <Field GMT_OFFSET="0" />
          <Field EMAILADDR="" />
          <Field LATECHARGE="0" />
          <Field GROUP_1="0" />
          <Field GROUP_2="0" />
          <Field GROUP_3="0" />
          <Field GROUP_4="0" />
          <Field GROUP_5="0" />
          <Field GROUP_6="0" />
          <Field GROUP_7="0" />
          <Field GROUP_8="0" />
          <Field GROUP_9="0" />
          <Field GROUP_10="0" />
          <Field GROUP_11="0" />
          <Field GROUP_12="0" />
          <Field BILLATT="" />
          <Field ALTEMAILAD="" />
          <Field EXEC_ID2="0" />
          <Field NOSENDSTMT="0" />
          <Field SHIP_INST="" />
          <Field PROD_ID="0" />
          <Field CREATEDBY="ANDRE" />
          <Field DATECREAT="4/16/2007 2:44:54 PM" />
          <Field MOD_BY="ANDRE" />
          <Field SHIP_VIA="" />
          <Field SHIP_ACC="" />
          <Field MB_NOBILL="0" />
          <Field OT_EXEMPT="0" />
          <Field USE_NIGHT="0" />
          <Field CL_COLOR="0" />
          <Field ASSOCFILE1="" />
          <Field AUTOSELPRJ="0" />
          <Field SALUTATION="" />
          <Field CURR_ID="0" />
          <Field LDR_PREFIX="" />
          <Field TAX3="" />
          <Field F_PRIMARY="0" />
          <Field URL_SUPID="0" />
          <Field TIMEZONE="0" />
          <Field LOCSRCE_ID="0" />
          <Field LOCDEST_ID="0" />
          <Field DSTC_ID="0" />
          <Field UTC_OFFSET="0" />
          <Field AKA_FOR="0" />
          <Field CRDLIMCHK="0" />
          <Field TRAFF_STAT="0" />
          <Field INS_EXPIR="1/1/1970 12:00:00 AM" />
          <Field DEFSHADRID="0" />
          <Field CXL_ID="0" />
          <Field LIB_NOTES="" />
          <Field USEMARKUP="0" />
          <Field MARKUPPCT="0" />
          <Field LNAME="" />
          <Field FNAME="" />
          <Field PLANTID="" />
          <Field PRCHGRPID="" />
          <Field B_NOBILL="0" />
          <Field BARCODE1="" />
          <Field BARCODE2="" />
          <Field EXTID2="" />
          <Field PENINVONLY="0" />
          <Field CONTR_REQD="0" />
          <Field NO_INVEXP="0" />
          <CL_USER>
            <Field CL_ID="1127823" />
            <Field USER1="User field 1" />
            <Field USER2="" />
            <Field USER3="" />
            <Field USER4="" />
            <Field USER5="" />
            <Field USER6="" />
            <Field USER7="" />
            <Field USER8="" />
            <Field USER9="" />
            <Field USER10="" />
            <Field USER11="" />
            <Field USER12="" />
            <Field USER13="" />
            <Field USER14="" />
            <Field USER15="" />
            <Field USER16="" />
            <Field USER17="" />
            <Field USER18="" />
            <Field USER19="" />
            <Field USER20="" />
            <Field USER21="" />
            <Field USER22="" />
            <Field USER23="" />
            <Field USER24="" />
            <Field USER25="" />
            <Field USER26="" />
            <Field USER27="" />
            <Field USERFLAG1="0" />
            <Field USERFLAG2="0" />
            <Field USERFLAG3="0" />
            <Field USERFLAG4="0" />
            <Field USERFLAG5="0" />
            <Field USERFLAG6="0" />
            <Field USERDATE1="1/1/1900 12:00:00 AM" />
            <Field USERDATE2="1/1/1900 12:00:00 AM" />
          </CL_USER>
        </ClientDetails>
      </Response>
    </SchedRemote>
    I have the following structure in my ABAP program which I would like a way of developing the XSLT in order to populate the results of each field into my program
    data: begin of gs_clientdetails.
              include structure zclient. " Contains all the CLIENT fields from Scheduall
              include structure zcluser." Contains all the CL_USER fields from Scheduall
    data: end of gs_clientdetails.
    Any suggestions??

    Hi,
    I am not a XSLT expert but Tobias wrote some nice blogs about it. Read them here:
    /people/tobias.trapp/blog
    You might want to start with this one:
    /people/tobias.trapp/blog/2005/05/04/xml-processing-in-abap-part-1
    cheers
    Thomas

  • TS3899 Hi. How do I attach more than one document to an email on the iPad, especially if they come from different apps? When writing an email on the iPad there's no option for attachments.

    Hi. How do I attach more than one document to an email originating from my iPad, especially if the documents come from different apps? When starting an email there's no option for attachments, unless you send the document from inside an app like iBook and then you can only send one at a time.

    How to add, send and open iPad email attachments
    http://www.iskysoft.com/apple-ipad/ipad-email-attachments.html
     Cheers, Tom

  • XML Document from XML Schema Bug

    When an XML document is generated from an XML Schema the XML document does not have all the elements specified in the XML Schema. The XML document only has the root element.
    1. Register an XML Schema.
    2. Create an XML document with File>New>General>XML>XML Document from XML Schema. The "Generate only Required Elements" is unchecked.
    3. The XML document has only the root element.
    In JDeveloper 10.1.3 all the elements in the XML Schema get generated.

    Also, the component palette for the XML document generated from the XML Schema does not list all the elements in the XML Schema, only the root element is listed. Even if elements are specified as required in the XML Schema with minOccurs="1" and the "Generate only Required Elements" checkbox is selected only the root element gets generated.

  • XML document from parser

    Generally , parsers are used to parse XML document.
    Is it possible to create XML document/file from a parser

    A parser such as javax.xml.parsers.DocumentBuilderis used to parse an XML document with the parsemethods. Theparsemethod returns a org.w3c.dom.Documentfrom which elements/attributes may be obtained with the get methods. A document may be created with the newDocument() method of the DocumentBuilder class.
    The elements/attributes are created with createElement and createAttribute methods in the Document interface.
    http://java.sun.com/j2se/1.5.0/docs/api/javax/xml/parsers/DocumentBuilder.html
    http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Document.html

  • How to read xml from jsp?

    i hav written database into xml file .
    now i want to read that xml file data from JSP
    pls help me out.

    Now is a good time to start reading about XML parsers and some OOP principles. It's not a good idea to mix all the xml parsing logic within a JSP. Try a Google search for XML parsers and find out which is the best way for you to go about.

Maybe you are looking for