Connect interface with XML File in jdeveloper

Hello;
i want to design a webservice that take an employee ID , and return all employee's data (like his name ,departement, phone,email....)
i want to make interface and connect it with XML file wich has all employees data
how can i connect the interface ( input text box and output button) with XML file (taking the Id and searching inside the file and getting the data out in table as output)
i want to deploy it to get the WSDL file and URL to deploy it at application server to use it in webcenter>>>

up 2 find an answer
i want the right way to do it?

Similar Messages

  • How do I generate XML File Using JDeveloper 9.0.3

    Hi All
    I want to generate a XML file against the data in one of my Oracle table,,,, This is the first time I am doing this Task, so please let me know whether I am going through the correct path, or if not appreciate if you could put me to the correct system of doing this please���..
    OK , Well I am working to a publishing company in Australia and we have Oracle 8i (Release 3 ) database and I have Oracle JDeveloper (9.0.3 -Preview ) version in my personal computer.
    I have a Table(ONIXT4) with three Columns( ISBN,Author,Price) in Oracle as follows:
    ISBN     Author     Price
    2512456321     Peter     14.50
    7445854127     Ray      21.75
    What I want to generate a XML File using JDeveloper as below with respect to data in above Table.
    <ISBN>2512456321</ISBN>
    <ProductInfor>
    <Author>Peter</Author>
    <Price>14.50</Price>
    </ProductInfor>
    <ISBN>7445854127</ISBN>
    <ProductInfor>
    <Author> Ray </Author>
    <Price>21.75</Price>
    </ProductInfor>
    I created the database connection within JDeveloper to Oracle those working fine,, my major problem is,, the Tag <ProductInfor>, since this is not a Column Name of the Table I don't know how should I incorporate this with the file.
    What I did so far with the JDeveloper:
    1.Create the Workspace and the Project
    2.File -- New -- XML -- XSQL
    3.Then I Selected Query from the Component Palette,, Property Values were NOT changed, and gave 'Select * from ONIXT4'
    Whole Untitled3.xsql file look likes below
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!--
    | Uncomment the following processing instruction and replace
    | the stylesheet name to transform output of your XSQL Page using XSLT
    <?xml-stylesheet type="text/xsl" href="YourStylesheet.xsl" ?>
    -->
    <page xmlns:xsql="urn:oracle-xsql" connection="Connection1">
    <xsql:query max-rows="-1" null-indicator="no" tag-case="lower">
    Select * From OnixT4
    </xsql:query>
    </page>
    Then the Result comes as:
    <?xml version="1.0" encoding="windows-1252" ?>
    - <!--
    | Uncomment the following processing instruction and replace
    | the stylesheet name to transform output of your XSQL Page using XSLT
    <?xml-stylesheet type="text/xsl" href="YourStylesheet.xsl" ?>
    -->
    - <page>
    - <rowset>
    - <row num="1">
    <isbn>2512456321</isbn>
    <author>Peter</author>
    <price>14.5</price>
    </row>
    - <row num="2">
    <isbn>7445854127</isbn>
    <author>Ray</author>
    <price>21.75</price>
    </row>
    </rowset>
    </page>
    How do I format the outcome to obtain the my requirement??
    Welcome all comments of donig this ....

    To format your XML to the requiered output you'll use a stylesheet and XSLT
    As it says in your output:
    - <!--
    | Uncomment the following processing instruction and replace
    | the stylesheet name to transform output of your XSQL Page using XSLT
    <?xml-stylesheet type="text/xsl" href="YourStylesheet.xsl" ?>
    -->
    A nice tutorial on XSLT is available on the XML technology center in OTN:
    See Transforming XML with XSLT
    http://otn.oracle.com/tech/xml/learner.html

  • .tmp files genrated along with XML files

    Hi all,
    Here my Interfaces are type of RFC- XI - FTP.
    these are running successfully past long time and creating XML files in the target directory of FTP aplication system. Along with XML files this time abnormally .tmp files were generated in the Target directory of FTP application system. This was occured only one time few days back.
    The generated XML files in target FTP system as usually read by Application system and processed in the sytem.
    And tmp files generated are as XI_ftp_XI_ftp_0c200300-704c.tmp
    could you all please let me know what could be the reason for happening this like generation of .tmp files abnoramally in Target FTP application system.
    Thanks in advance...
    Regards,
    Siva

    Hi, thanks for reply.
    The Write mode is "Use temporary file"
    But we have not got these .tmp files earlier and we have not mentioned any temporary file name sceme too.
    Could any body please explain will .tmp files are generated randomly?
    If i keep 'Directly' mode, will it keeps only the XML files in target directory?
    Please advise.
    Thanks,
    Siva

  • Java interface with xml communication

    Hello everybody,
    For a project i need to make a java interface with xml communication.
    For example ; from 1 laptop I press on a java button and then i need to get a text message on the other laptop.
    The java interface is already created now the xml code for communication.
    I hope someone can help me how to start with the xml code.
    Are there any templates that i can use?

    I need to use XML for this, cause it is in the
    assignment.As far as communication is concerned, it doesn't matter that you are sending XML. You can send any kind of data. So first find out how to send data, then send data which is XML.
    I only want to know if its possible to send data/text
    from 1 laptop (windowsxp prof) to the other laptop
    (also windows xp prof).Provided the other laptop is running a server that can receive that data.
    Maybe its easier if I send data to a specific IP
    address?Provided there is a server running at that IP address that can receive that data. You can use an IP address to connect to a server but that has nothing to do with sending the data.
    Its important that the communication between 2 system
    is in XML language.XML is not a programming language. XML is a format for storing data. You can certainly send XML-formatted data between two computers.
    So i hope u have a solution for my problem.The solution would be for you to learn how communication between two computers works in the real world. If you have an assignment that says you have to make communication work, surely there was something taught to you before about how to do it?

  • TrueTime Card and how to interface with dll file!?

    I am trying to interface with a PCI-SG 2U (IRIG) timing card (Used to made by TrueTime, now Symmetricom).  Does anyone have a solution for this card in LV 2009?  
    If not, can anyone give advice on writing code to interface with .dll file?  I am not sure how to pass through the "GENERIC_READ | GENERIC_WRITE" into the function to open the device. The function says to open it is: 
    TT_OpenDevice(boardID, GENERIC_READ | GENERIC_WRITE, &hDevice)
    No clue on how to pass this in.  Can anyone help?
    Thanks - 
    Tom

    Thanks Mike.  I do have the .h file and the sdk information.  I went through and used the Import>Shared Library Tool and was able to find all the header information that way.  I guess that my problem/question is, the documentation says that it is a DWORD to pass as an input, but LabVIEW says it is a uint32.  I guess the real question is, what the heck do I pass in to the dll function?  Should it be the string "GENERIC_READ | GENERIC_WRITE" or something else?
    Thanks - 
    Tom

  • Problem when load more swf files work with xml files into my movie

    hi ;
    I have one flash file & more of swf files which work with xml files .
    when I load one swf file into my flash file  and remove it and load anther one on the same movieclip in my flash file it load the old swf file.
    when i load one on movieclip and remove it and load anther swf  on anther movieclip the file doesn`t work  and stoped.
    when test my flash file to load and remove swf files without xml file it work fine but when repleaced the swf files with other work with xml files the problem hapend.
    thanks;

    YOu should trace the names of the files that are being targeted for loading to see if they agree with what you expect.  If you want help with the coding you will need to show the code that is relevant to your problem (not all of it)

  • Oracle reports problem in distribution with xml file

    Hi ,
    I am having problem while I am trying to distribute the file with specifing the destination details in the xml. If I am giving the destination details in url then it is working.
    Ex.
    This is Working
    http://bryxh91:8889/reports/rwservlet?report=devlopersuit/reports/test.jsp&userid=anju/[email protected]&desformat=pdf&destype=file&desname=devlopersuit/reports/output_file.pdf
    Not working :
    http://bryxh91:8889/reports/rwservlet?report=devlopersuit/reports/test.jsp&userid=anju/[email protected]&DISTRIBUTE=YES&destination=devlopersuit/reports/dis_test.xml
    xml file
    <destinations>
    <file id="test" name="output_file.pdf" format="pdf">
    <include scr="mainSection"/>
    </file>
    </destinations>
    Error : REP-34304: Distribution failed to complete; review the distribution lists
    Its been week I tried many things , but not working.
    Right now I am trying to distribute to single file but my goal is to burst and distribute on basis of account number.
    This is the first stage of the project.
    Thanks a lot for the help
    Anju

    Hello
    see answer in Oracle reports problem in distribution with xml file
    Regards

  • How can I set connection to external XML file with Dreamweaver to buiild AIR app?

    Hello,
    I try to do simple AIR app in dreamweaver. It's not problem
    to use static data. But I'd like to use dynamic data from external
    XML file. I try to use Spry and evrything works fine in web browser
    but i have problem with loading external XML data into my app in
    AIR. Can I simply transform my spry based html app into AIR?
    What should I add to do this?
    Pawel

    Daniel Lichtenwald wrote:
    What are the requirements and steps for arranging to receive this large file using File Transfer Protocol (FTP)?
    Usually, we don't speak of "receive" when using FTP, since the file is transferred from server to client, so it's more of a case of "download".
    At your end, it's simple. You use an FTP client; under SL, that includes Finder and Safari, so you don't even need to get any additional software.
    At the other end, it's more complicated; the 'sender' must set up an FTP server on his machine.
    Alternatively, you can set up your own Mac as an FTP server, and have the 'sender' connect to you with an FTP client and upload the file; but, if your Mac lives behind a router, then you have more work to do with the router settings.
    That's why it's much easier to use the file sharing services mentioned above -- if they are available in both sender's and receiver's locations. (Keep in mind that some countries block access to all those mentioned -- except perhaps <www.transfer.ro>, of which I know absolutely nothing.)

  • HTTP POST Request with XML file in

    Hi @ all,
    I would like to send an HTTP Request with an XML File in the body to an SAP System
    I have the target URL and the a XML File.
    Now the question is. Is it possible to use something like the HTTP_POST FuBa to send an url post request with an xml file?
    If yes can anybody give me a hint?
    I have a php script which exactly do this coding. But to integrate it all in one system it is necessary to transform it into ABAP and call it there.
    // compose url and request and call send function
    function test($productID, $categoryID) {
         // create url
         $PIhost = "XXX.wdf.sap.corp";
         $PIport = "50080";
         $PIurl = "/sap/xi/adapter_plain";
         $PIurl .= "?sap-client=800";
         $PIurl .= "&service=XXX";
         $PIurl .= "&namespace=XXX";
         $PIurl .= "&interface=Frontend_Interface";
         $PIurl .= "&qos=EO";
         $PIurl .= "&sap-user=XXX";
         $PIurl .= "&sap-password=XXX";
         // create xml
         $request = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
         $request .="<n1:FrontendInbound_MessageType xmlns:n1=\"http://crmpiebay.com\">\n";
         $request .= "\t<FrontendInbound>\n";
         $request .= "\t\t<ProductName/>\n";
         $request .= "\t\t<ProductCategory>".$categoryID."</ProductCategory>\n";
         $request .= "\t\t<ProductID>".$productID."</ProductID>\n";
         $request .= "\t\t<MessageID/>\n";
         $request .= "\t</FrontendInbound>\n";
         $request .= "</n1:FrontendInbound_MessageType>";
         // send http request
         postToHost($PIhost, $PIport, $PIurl, $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"]."/".$_SERVER["PHP_SELF"], $request);
    // send post request to PI server
    function postToHost($host, $port, $path, $referer, $data_to_send) {
      $fp = fsockopen($host, $port);
      if($fp) {
           $res="";
           fputs($fp, "POST $path HTTP/1.1\r\n");
           fputs($fp, "Host: $host\r\n");
           fputs($fp, "Referer: $referer\r\n");
           fputs($fp, "Content-type: text/plain\r\n");
           fputs($fp, "Content-length: ". strlen($data_to_send) ."\r\n");
           fputs($fp, "Connection: close\r\n\r\n");
           fputs($fp, $data_to_send);
           while(!feof($fp)) {
               $res .= fgets($fp, 128);
           fclose($fp);
           return $res;
    Would be great if anybody could give me a hint how to solve such a HTTP Post request with XML body data.
    Thanks in advance.
    Chris
    Edited by: Christian Kuehne on Feb 26, 2009 4:32 PM

    hi friend could you please share your solution regarding this query if u got it already?

  • Connect ActionScript With XML Link

    Hi,
    Please if somebody can help me with this issue.
    I have Flash Movie (with multiple movie symbols) file that parses XML file(gallery.load("gallery.xml") with this
               <image>
                <date>03.31.06</date>
                <title>View of Seattle</title>
                <desc>View of Seattle</desc>
                <thumb>seattle5.jpg</thumb>
                <img>seattle5.jpg</img>
            </image>
            <image>
                <date>03.31.06</date>
                <title>View of New York</title>
                <desc>View of New York</desc>
                <thumb>New York.jpg</thumb>
                <img link="http://www.newyork.com">New York</img>
            </image>
    Action Script places first image in Flash File new movie symbol (new window).
              this.onRelease = function()
              showFullImage(this.imgToLoad, this.imgDesc);
    My problem is:
               i need to connect to image or to http
               depending on the tag in xml.
               In first example <thumb>Seattle5.jpg</thumb> button click will send image to Flash movie new window while
               <thumb>New York.jpg</thumb> click will open http://www.newyork.com
              this.onRelease = function()
              showFullImage(this.imgToLoad, this.imgDesc);
              i need to diferentiate here to let the ActionScript know that there is link present in XML
             getUrl(Link, "_blank");
    How can i make this split in Actionscript.
    Thank you

    I am not an xml expert in the least, but if I were faced with what you want to do I would probably have two separate fields in each image set for those two things... <img>  and <link>  and I would be checking if the img tage was assigned a null value or not when making the decision how to code each one...
    if(<img> is not null) code to show the large image
    Just to mention, the code you are showing is AS2, not AS3, so you may want to move your inquiries to the AS2 forum if you aren't planning to use AS3.

  • How do i use a flash gallery with xml file

    Hi there....
    I am trying to include a flash banner template i have downloaded into my webpage using dreamweaver CS5.
    the template comes with an XML file with it in which you can reference your own images etc..
    I understand how to inclued the Flash object into my webpage by insert-swf- and then navigating to the .swf file...
    what i am having trouble with is understanding how this refereces the XML file in the download pack as i cant find any references to it in the code??
    I am just getting the grey flash box with no images appearing when i hit play etc..
    sorry if this is a really silly question!!
    mart

    If you are using DW to insert the Flash, that could be the problem.  It is not reliable resource in that respect (my opinion, but a shared one). I normally only use Flash to create the code and copy/paste it into my html page.  Did you get an fla file with the set, and do you have Flash?
    What you should do is test the swf file by itself to make sure it works.   Normally you can link directly to the swf file to check that out.  Just type in the url to the swf file and see if it plays.  There may be some other setup required that maybe an accompanying set of instructions might explain.
    Also, if you have a link to the html file you uploaded, providing it here may help in getting things resolved.

  • Creating a Link with XML Files

    Hi,
    I am trying to import a XML file in a table structure following instructions from the Adobe help file (could only find a CS3 one, I am using CS4, the link to it: http://www.adobe.com/designcenter/indesign/articles/indcs3ip_xmlrules.pdf). Now the import works fine and my table is displayed correctly. My plan for this is to have XML files created from a database so when they get overwritten it will automatically update the tables in the file. While importing it I chose the "Create Link" option and I can see it in the links panel. All that seems fine. My problem is from this point if I do any changes to this file it gets added into my template along with the original with no formatting. So normally imported it looks like:
    code
    description
    unit
    price
    10000
    Product A
    Each
    5.00
    and if I edit it it then looks like this:
    5.00
    Each
    Product A
    10001
    PRICE
    UNIT
    DESCRIPTION
    CODE
    code
    description
    unit
    price
    10000
    Product A
    Each
    5.00
    And all I edited was the code value to be 10001 on the link yet it makes all these changes. Now if I edit the original XML file again it will crash Adobe CS4 and it freezes and says encountered error and closes. Does anyone have any advice on this situation? Is there a simple way to get XML tables inserted into a document that will change in the document if I edit the original file. If I have to change the XML that is fine as I can output it from the database pretty much whichever way I want.
    Here is the code for the XML file:
    <Table xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/" aid:table="table" aid:trows="2" aid:tcols="4">
    <Cell aid:table="cell" aid:theader="" aid:crows="1" aid:ccols="1" aid:ccolwidth="130">CODE</Cell>
    <Cell aid:table="cell" aid:theader="" aid:crows="1" aid:ccols="1" aid:ccolwidth="59">DESCRIPTION</Cell>
    <Cell aid:table="cell" aid:theader="" aid:crows="1" aid:ccols="1" aid:ccolwidth="130">UNIT</Cell>
    <Cell aid:table="cell" aid:theader="" aid:crows="1" aid:ccols="1" aid:ccolwidth="130">PRICE</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="130">10000</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="130">Product A</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="130">Each</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="130">5.00</Cell>
    </Table>
    Any help would be appreciated.

    I wasn't using "Edit Original" before, but now that I do, I'm still unable to duplicate your result. When I edit and save, the results are just as one would expect. What application are you using to edit the XML? I am using Text Wrangler. What platform are you one? I've been testing this on a Mac, but could try it on Windows of that's what you are using. Also, out of curiosity, what does your XML structure look like? Here's mine:
    <Root>
      <Article>
        <Story>
          <Table xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/" aid:table="table" aid:trows="2" aid:tcols="4">
            <Cell ..... (your cell nodes here)
          </Table>
        </Story>
      </Article>
    </Root>    

  • Problem filling in a form with xml file

    I have two forms that are used to inform people in town via the web of items needed in a food bank. The first form is filled out by the caretaker and has a "print" and "submit" button at the bottom. The second form is identical to the first but does not have a submit button since it is published on the web and readers can print it out to take with them shopping. Last month I was able to fill the second form with  data from the first that was exported as a xml file and inported into the second. For some unknown reason other that my program was updated this no longer works. Is there a way for this to still function?

    There is no built-in date picker available for forms created in Acrobat. There are some third-party solutions involving JavaScript (either a large collection of fields or a custom dialog) though. Also, text fields with date formatting will use a wheel type date picker on Android/iOS devices with Adobe Reader.

  • Help on creating a ServerSession in Eclipse with XML file

    Hi,
    I am using Toplink in Eclipse with Tomcat/Apache (or at least trying to :)
    I am trying to make the following code work:
    Project myProject = XMLProjectReader.read("myproject.xml");
    Server serverSession = myProject.createServerSession();
    but I get an exception:
    {color:#ff0000} +"7099", "The deployment project xml resource {0} was not found on the resource path. Check that the resource name/path and classloader passed to the XMLProjectReader are correct. The project xml should be included in the root of the application's deployed jar, if the project xml is deployed in a sub-directory in the application's jar ensure that the correct resource path using \"/\" not \"\\" is used."+ {color}
    - I think the project cannot find the xml file in my project - but I was never sure where this should go in any case - I put it in the META-INF folder but made no difference. Where should I put these xml files?
    Any help much appreciated

    Simon,
    Hi, I assume you are deploying a WAR to Tomcat. The following tutorial on running TopLink using the org.eclipse.persistence.jpa.PersistenceProvider is pure JPA but deals with the same deployment issues.
    In particular note that there are two META-INF directories - we want to use only the one off of src.
    "Make sure that your persistence.xml (and optionaly orm.xml) file is placed off of the src/META-INF directory and not the default WebContent/META-INF dir so that it gets picked up by the servlet classloader from the classes directory."
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/Tomcat_Web_Tutorial#persistence.xml
    thank you
    /michael
    http://www.eclipselink.org

  • InsertHTML won't work with XML files

    I am trying to create a command that writes text to an open
    XML file. The command I've created works fine under some
    circumstances but not others.
    It works if I open an XML file and apply the command without
    editing the file. If I make any edits to the file manually and then
    apply the command, it doesn't insert anything.
    It works fine with HTML files in design view, but in code
    view, if I make any edits and then run the command, nothing
    happens. If I switch to design view and back again, the command
    then works fine.
    I tested the built-in Dreamweaver command "Flash Text" on an
    XML file (after editing it so it could be used with an XML file),
    and the same problem occurs with this command when using it on an
    XML file. The problem didn't occur with HTML in code view, though.
    Below is the .JS file for my command. The corresponding HTML
    file contains only an empty form.
    function canAcceptCommand() {
    return(true);
    function isDOMRequired() {
    return false;
    function commandButtons()
    return new Array( MM.BTN_OK, "cmdOK(); "
    , MM.BTN_Cancel, "cmdCancel();");
    function cmdOK()
    var theDOM = dw.getDocumentDOM('document');
    theDOM.insertHTML("test", true);
    window.close();
    function cmdCancel()
    window.close();

    I need a function, though, that will insert text at the
    cursor location in an open file.
    I'm also discovering that the command I created above
    functions erratically even when it does deign to insert the text in
    an XML file. The text is usually inserted somewher other than where
    the cursor is located.

Maybe you are looking for

  • FSCM-COL program FDM_COLL_SEND_ITEMS checks business partner in KNA1

    We have a requirement to create a Business partner in FSCM-COL without creating any Customer master in FI (KNA1 table).  For each Customer invoice we have populated the Business partner (UDM_BP) in a free field (BSEG table).  Say customer ABC invoice

  • How to put header and footer information in excel chart

    I modified the create chart.vi, I got from this site and able to create a chart from *.xls file. Now I want to print the filename as header and date and time the chart created as footer in the excel chart. Any idea is appreciated. Thank you MM Attach

  • How To : FCP preview editing result realtime on HDTV?

    Hi, I have a used 19" HD Ready TV from Samsung.I wish to use it as my Editing Monitor.BTW ,i shoot in Panny SD100. And edit on MacBook Pro. Question: How s'ld i connect the 19' monitor (HDMI? AV? RCA?) with my editing software through MacBook Pro? Th

  • Embedding an image into Mail

    How exactly do you embed images (.jpeg) into a mail message so that it does not come up as an attachment? Gmail, outlook, yahoo mail, etc. all read attachments as an attachment that needs to be opened and only through Apple Mail can users see an atta

  • How do you make a dreamwever code show where a file is stored if that changes?

    OK so if a website is built all offline and so the code shows the files being hosted on your computer and not your hosting account is there any easy way to change it to the hosting account and perserve the site in dreamwever?