Work Context is stored in which XML file

Hi,
we have created a workcontext from the weblogic admin console for our application.
I just wanna know in which xml file/file's the work context related information is stored.
Thanks in advance

hi oscar,
if main work center is stored in CRHD..
then what about work center which under Location Tab

Similar Messages

  • Configuration parameter which are stored in automationBuild.xml file

    Do you know the correct path for below configuration parameter which are stored in automationBuild.xml file which is kept in src folder of osm project?
    <property name="studio.weblogic.home" value=""/>
         <property name="studio.java.sdk.home" value=""/>
         <property name="studio.osm.sdk.home" value=""/>

    Hi Sachin,
    Here is the info,
    studio.weblogic.home=<Weblogic_Installated Dir>/wlserver_10.3
    studio.java.sdk.home= <JDK Installed Dir> +(C:\jdk1.6.0_11, Something like this)+
    studio.osm.sdk.home=<OSM Installed Dir>/SDK
    Thanks,
    Naveen Jabade

  • How can I get the context-parm from a web.xml file using struts?

    Hello:
    I need get the context-param from the web.xml file of my web project using struts. I want configurate the jdbc datasource connection pooling here. For example:
    <context-param>
    <param-name>datasource</param-name>
    <param-value>jdbc/formacion</param-value>
    <description>Jdbc datasource</description>
    </context-param>
    and then from any Action class get this parameter.
    Similar using a simple server can be:
    /** Initiates new XServlet */
    public void init(ServletConfig config) throws ServletException {
              for (Enumeration e = config.getInitParameterNames(); e.hasMoreElements();) {
                   System.out.println(e.nextElement());
              super.init(config);
              String str = config.getInitParameter("datasource");
              System.out.println(str);
         public void doPost(HttpServletRequest req, HttpServletResponse res)
              throws ServletException, IOException {
              // res.setContentType( );
              System.out.println("Got post request in XServlet");
              PrintWriter out = res.getWriter();
              out.println("nada");
              out.flush();
              out.close();
    but only this works for init-params, if I use
    <servlet>
         <servlet-name>MyServlet</servlet-name>
         <display-name>MyServlet</display-name>
         <servlet-class>myExamples.servlet.MyServlet</servlet-class>
         <init-param>
         <param-name>datasource</param-name>
         <param-value>jdbc/formacion</param-value>
    </init-param>
    </servlet>
    inside my web.xml. I need something similar, but using struts inside the action class for that I can get the context-params and call my database.
    Thank you

    To get context parameters from your web.xml file you can simply get the ActionServlet object from an implementing action object class. In the perform (or execute) method make the following call.
    ServletContext context = getServlet().getServletContext();
    String tempContextVar =
    context.getInitParameter("<your context param >");

  • Under which xml file would contacts be filed in on a back up folder?

    lost contacts while doing a back on my iphone i want to know which file would the contacts fall in because i dont feel like going through 10 million files if somebody actually knows which one would be it.

    or if anyone will know which xml files contain the contacts app

  • Storing data in XML file

    Hi,
    I am a student and very new to XML. I know what it is but I never had developed anything in it.Now I am doing an assignment for which I need your help.
    I have to store Customer data in XML file after he enters it in GUI.Customer is having the following fields:
    String name1=BuyerGui.name.getText().trim();
    String street1=BuyerGui.street.getText().trim();
    int zipcode1=Integer.parseInt(BuyerGui.zipCode.getText().trim());
    String city1=BuyerGui.city.getText().trim();
    String country1=BuyerGui.country.getText().trim();
    String email1=BuyerGui.eMailAddress.getText().trim();
    I may have to update it some times.
    I am working in Java 4.2. I heard that I can use JAXP but no idea how to do it.
    Anybody help me with sample code because I dont have verymuch time for my assignment.
    Thanks in advance,
    Sai Ram

    Here is sun's tutorial on JAXP with samples:
    http://java.sun.com/xml/tutorial_intro.html
    -jay

  • Storing data from XML files in Oracle DB

    Hi!
    I just started to work with XML and need to save data from XML files into Oracle database. I tried to run sample from Oracle web site. The code was following:
    public class xmlwritedb
    public static void main(String args[]) throws SQLException
    String tabName = "EMP"; // Table into which to insert XML data
    String fileName = "emp.xml"; // XML document filename
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    // Initialize a JDBC connection
    Connection conn =
    DriverManager.getConnection("jdbc:oracle:oci8:scott/tiger@");
    // Insert XML data from file (filename) into
    // database table (tabName)
    OracleXMLSave save = new OracleXMLSave(conn, tabName);
    URL url = save.createURL(fileName);
    int rowCount = save.insertXML(url);
    System.out.println(" successfully inserted "+rowCount+
    " rows into "+ tabName);
    conn.close();
    But it does not work.
    OracleXMLSave object does not see file name.
    Please, help me solve this problem. Also,where is it possible to find any documentation on oracle.xml.* classes API.
    Thank you.
    Maya.
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by sudeepk:
    If a java exception is thrown probably during ur install u might have forgotten
    grant javauserpriv to scott;
    grant javasyspriv to scott;
    Thanks
    [email protected]
    <HR></BLOCKQUOTE>
    Thank you!!!

  • Reading Large XML Files

    Hi All,
    I am trying to read an XML file which is around 6.4 GB which has around 1000 million records in it.
    I need to travel through all the elements and take out the values which matches my criteria.
    For Example the XML Looks like :
    <ss>
    <s>
      <m>00:11:22:33:44:55</m>
      <o>1244548353223</o>
      <f>1244548354223</f>
    </s>
    <s>
      <m>00:11:22:33:44:56</m>
      <o>1244548353223</o>
      <f>1244548354223</f>
    </s>
    </ss>I need to get the <s> node which has the <m> value is 00:11:22:33:44:55. It may have around 1024 occurences per file.
    I tried XPath, XQuery apis for java and nothing helped me in reading such a huge file.
    The actual task is to read 2 to 30 huge files concurrently.
    Can anyone help me in this?
    Thanks in advance.
    Kousik Rajendran

    I tried XOM. It worked fine for 102.4 MILLION data stored in a xml file which has size about 5.5GB.
    Checkout [XOM Home Site|http://www.xom.nu/]
    Or dowload Zip File with all necessary Zip and Sample file : [XOM Complete Zip|http://www.cafeconleche.org/XOM/xom-1.2.1.zip]
    Try out the Sample which uses Streaming Method.

  • When playing a particular Shockwave (swf) file, the shockwave program stops playing when trying to read XML files. How do I fix this?

    The shockwave program accesses data that is stored in multiple XML files.

    You know what's odd?
    Yesterday I said it wasn't working and gave up on it. I read this message and I know I had all my animations set to 0.125 - thanks to some past forum questions you've answered- to which I double checked within InDesign.
    Anyway, I went to check the saved folio preview - the one that didn't work- and now it works.
    I didn't' change anything from when I gave up on it yesterday.
    I guess this is answered, although I do not know what happened to the same folio that didn't work yesterday, to work today.
    -Shawn

  • Creating large XML files

    I have been working with DOM parser for creating XML files but as the size of the XML file increases, the memory allocated to the JVM gets consumed at a high rate. So i needed to find another parser that can make my life much easier. SAX parser is not a solution for me as it gives problems with doc manipulation and a lot of complex coding will be involved in callback functions.
    Thank you in advance

    vivek_kumar_kohli wrote:
    I have been working with DOM parser for creating XML files Eh? The parser is for reading xml files, not creating them. You can create them using from a DOM using the Transformer mechanism, but that's not about the parser.
    but as the size of the XML file increases, the memory allocated to the JVM gets consumed at a high rate. So i needed to find another parser that can make my life much easier. SAX parser is not a solution for me as it gives problems with doc manipulation and a lot of complex coding will be involved in callback functions.
    It's the nature of the beast, either you build the whole document tree in memory, in which case you need the whole thing stored and lots of RAM, or you process it looking at a small part at a time, which is going to be more complicated.
    Using SAX isn't that complicated, basically I just use a different ContentHandler for each significant element type. You work with a stack of content handlers, pushing a new one on the stack when a tag opens, and popping it off when the element closes.
    This kind of code replaces code which walks the DOM tree, and it's really not all that different in overall structure.
    Outputting XML isn't that hard to do with simple println calls.

  • How can I read an XML string that's not from an XML file?

    I've got a script I'm trying to setup that communicates over a socket to retrieve different directions from a custom built Java program.  The Java program listens to requests from the Adobe scripting engine (in my case it's a Photoshop script) on a socket and immediately responds with the next set of directions.  These directions are currently in XML format.  The issue I'm having is that I can't parse the XML data since it's entered into a new XML object from a string rather than being read from a file.  Even without the socket code, you can see the issue by doing the following:
    var xml = new XML("<test><data>hey!</data></test>");
    alert(xml.test.data);
    alert(xml);
    The first alert "should" return "hey!" (without quotes, of course), but it doesn't, while the second alert returns what you would expect it to:
    <test>
        <data>hey!</data>
    </test>
    It works fine if read from an XML file, but from a string, like shown above, it just presents an empty alert box when attempting to access "xml.test.data".  Any ideas on how to fix this issue?  Can it be fixed?  Has it been fixed in newer versions (I'm currently using CS4)?
    Thanks in advance for any help!

    Duh... found my error... I was attempting to access the data by referencing the created "root" element.  Since <test> is the very first element tag, it's setup as the root element, which you don't need to reference.  Changing the alert to alert(xml.data); fixed it.
    Now I just feel dumb, lol...

  • Using an XML file for server URL instead of hard coding

    I can't find a good example.
    Could someone give me an example of using a local XML file to set a server url variable so i don't have to hard code url's?
    This works and i can trace the xml file but how do i access the individual xml data nodes?
    protected function initApp():void
         var loader:URLLoader = new URLLoader(new URLRequest("config.xml"));
         loader.addEventListener(Event.COMPLETE,configLoadComplete);
    private function configLoadComplete(event:Event):void
         trace(event.target.data);

    Hi,
    <a href="foobar.xml">right click and select save as from the context menu</a>
    or
    write your xml data or a copy of it with a different extension (text) so that it is not parsed as application/xml-xhtml
    or
    Use AJAX to retrieve the xml file and display it as the textContent of a <textarea>
    window.open wraps the xml markup in html tags for display purposes.
    Rob^_^

  • How do I create an XML file through a JSP?

    I want to have a JSP which allows the user to create an account with password and this is stored in an XML file. I would like to b e able to amend this XML file with future users of the JSP but I'm not sure how to do this. I can do it using a database converting that to XML and then save the user input but I don't want to use a DB this time. Can some body give me an example. It the closing XML tag I have trouble with. I could amend the file but the previuos entry would close the XML file and then the newest entry would add on in effect an new XML file to the previous. Hope you can understand what I'm saying?!
    I have a file with:
    <topic>
    <--- this is where I want to store my data!
    </topic>
    Michael

    Use JDOM ... Here's a tutorial where you create a DOM and save it to an xml file ...
    http://www.topxml.com/tutorials/main.asp?id=jdom&page=15

  • Finding and retrieving an XML file from an application and an applet

    I have a problem.
    I have data stored in an XML file. I want to be able to call that file and store it into a document object from an application standing alone on a computer as weel as from an applet that would be running over the web.
    I don't know how to do this.
    When I use a relative path name for the application it attaches the path of the folder that contains java.exe. I could do something with the class path but this wouldn't help the end user of the application on a different computer. For similar reasons I don't want to hard code because I don't know where the final applet will be stored.
    I have a table that holds, sorts and filters the data so I want the table to collect the data, I don't want to dictate the path from the applet or the application, I want a method that is consistant with both scenarios.
    Can anyone offer some advice?

    I've just finished trying it out, here is what I did:
    String xmlDocName="filename.xml";
    java.net.URL fileURL=this.getClass().getResource(xmlDocName);
    private final String fileName = fileURL.toString().substring(6);
    The substring removes the "file:/" from the URL.
    This works fine in the IDE, I have even stored the xml file in a lower folder e.g. package_folder/xml_folder/filename.xml and replaced the xmlDocName with "xml_folder/filename.xml" and it worked fine.
    I haven't tried it in an applet because I'm running IE and as you are well aware there are problems with swing and IE applets. But you answer deserves the Duke Dollars, thank you very much.

  • Accessing config information in XML file in a Weblogic web service (JWS)

    Problem:
    I have implemented a web service for sending emails and pages via Java Mail and SNPP respectively using WebLogic Workshop on the BEA WebLogic 8.1 platform. In the service, I use certain pieces of information that are currently stored in an XML file on disk. Also, in its current state, the web service is implemented with public methods directly in the .jws Java file and not as a session bean. The file read from disk is performed every time the web service operation to send a message is invoked. As we all know, the I/O files access is very expensive and a performance bottleneck, especially when it is incurred on every invocation of the web service ‘sendMessage’ [operation.
    Without radically re-writing the application, I am looking for a way to improve the performance of the web service and can only come up with the following 2 ways:
    1) Move the code out of the sendMessage operation: Here, the main question I have is 'to where should I move it to'? I have seen in the WebLogic Workshop documentation that WebLogic Server maintains only a single instance of a Java class that implements a Web Service operation, and each invoke of the Web Service uses this same instance. In that case, I should be able to put the code in the constructor so that the files is read only at the time the class is instantiated, but a constructor in the .jws file that contains the web service operations itself does not seem to be invoked by the container (I tried to put a breakpoint in the constructor, but it seems that the constructor code never gets called)
    2) Move the configuration variables into some type of standard configuration file of WebLogic, something like web.xml or wlw-config.xml or jws-config.properties files. But I found that these XML files have an associated schema to conform to and do not provide any custom elements or attributes that I could add for my application(is that true?). Also, if I can somehow put the configuration information into any of these standard files, how do I access it from within the application 'without' doing a file read from disk? Are these configuration file items available in memory for access and use by the web service and if they are, what API can I use to access and use them?
    Any and all ideas are welcome!
    Thanks!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    I have been looking into a similar problem. Since web services are by design stateless, they aren't good for 'remembering' information between calls. Aside from a file read, the only other solution I have found is to use a database. You can make use of an entity bean or simply make some kind of JDBC call. I don't know if you need to stick with the config file, but if so maybe you could read the config data into a database once and then you might have faster access than reading from a file. I'm not sure about which would have better performace, but its all I have come up with so far. What parser are you using to read your XML file? Have you tried others to see if they have better performance?

  • Draw a picture from a XML file

    Hi,
    the problem I have is the following.
    We have a UI (JNET) where you can create a data model which later on will be analyzied for data conistency. All details of the data model are stored in an XML file. To document what we did we need to create a word report. This word report should also contain a pricure of the data model which should be included automatically. The creation of the report itself is not a problem but I have no idea how I can include the picture of the data model.
    Is there a way of drawing/ a picture (jpg, gif, png, etc.) from a XML file using ABAP?? 
    I attached an example of the data model. It is also the target which should be displayed from the XML file.
    Thanks for your support.
    Best regards,
    Niklas

    Hi,
    Thanks for the reply.I got the solution for my problem.Actually i wanted to delete only a particular element.
    The solution to this is after using
    Element element = (Element)document.getElementsByTagName("job").item(r-2);
    element.getParentNode().removeChild(element);
    writeXmlFile(document,"xmlfilename");.

Maybe you are looking for

  • Disabled item in plot legend when scrollbar is visible

    Problem is that plot legend shows only the plots being displayed correctly, while plot legend scrollbar is not being displayed, which is being controlled using LegPlotMin and LegNumRows properties. But when plot legend scrollbar is enabled (when numb

  • All of a sudden for once Delta DTP acts like a Full DTP

    Hello SCNer's, Delta DTP has been running fine for a while fetching only the unloaded requests from the source cube to the target cube but at one instance last week it actually loaded all the available requests again from the source which were alread

  • Display color bug "blue tint" color issue

    I've been all too familiar with the color bug since the first week i got my led macbook pro.. back then i was using fast user switching, and noticed it.. then did some research leading to the dmproxy fix, that tuaw wrote up an applescript for. http:/

  • Template Reference

    I have an .html page that uses a dreamweaver template.  I can't figure out looking at the code what exact template is being called or where the template is.  The only references to .dwt files in the .html are in places that are commented out and I tr

  • Heeelp me!!!

    hi i have a iphone 4 and after i have opgradet to ios 7 can i get that music i have buy i itunes from my computer to my iphone some one there can help me with that