How to edit weblogic.xml in Jdeveloper web project

Hi, All,
I created a web application in Jdeveloper11.1.1.1 and deployed to weblogic server 10.3, I found there is weblogic.xml under WEB-INF folder in war file.
I try to add something in weblogic.xml, but the problem is I cannot find weblogic.xml in Jdeveloper.
How to edit weblogic.xml in Jdeveloper? Thanks in advanced.
Best Regards,
Bill

The weblogic.xml file is generated at deploy time if it doesn't exist in your application. To create it specifically in your application at design time for editing, select the appropriate project then the New option, from the New Gallery select General -> Deployment Descriptors -> Weblogic Deployment Descriptor, and in the resulting dialog select the weblogic.xml file. It will be added to the project -> Web Content -> WEB-INF directory.
Cheers,
CM.

Similar Messages

  • How to edit an XML format report in Report 10G

    Hi
    Please tell me how to edit an XML format report in Report 10G .
    Regards
    Deepak Gupta
    Edited by: user12299081 on Sep 6, 2010 10:19 PM

    Hi
    Please tell me how to edit an XML format report in Report 10G .
    Regards
    Deepak Gupta
    Edited by: user12299081 on Sep 6, 2010 10:19 PM

  • How to edit employee adress  in CRM2007 web gui

    最近经常做到的一类问题,就是有客户想要去变更employee的地址或者是
    邮件地址,但是发现在web gui上employee的地址是没办法修正的在EMPLOYEE PAGE。这个是CRM2007的系统设计。下边是一个详细解释,我就不翻译成中文了,如果有什么问题的话,希望大家提出来一起学习。
    the fields are disabled in the code as you can edit the
    WORK address of an employee only through ACCOUNT OVERVIEW PAGE not
    through EMPLOYEE PAGE.The work address in the UI refers to the address
    of the Organisation to which the employee is attached .
    And for attaching the employee to an ORG , you have to use TXN PPOMA_CRM
    .The moment you do that , a relationship gets generated and when you go
    to the EMPLOYEE PAGE , you can see the work address as you have
    maintained in the account page for the ORG.
    EVEN in SAPGUI, if you try to attach an Employee to an Organisation via
    the RELN Type TBUR010 IS EMPLOYEE OF ( not TBUR011 Is the Employee
    Responsible For ),it says in the status bar that MAINTENANCE IS POSSIBLE
    ONLY THROUGH ORGANISATION MANAGEMENT.
    This is actually as per the Standard.
    谢谢
    昭杰

    The weblogic.xml file is generated at deploy time if it doesn't exist in your application. To create it specifically in your application at design time for editing, select the appropriate project then the New option, from the New Gallery select General -> Deployment Descriptors -> Weblogic Deployment Descriptor, and in the resulting dialog select the weblogic.xml file. It will be added to the project -> Web Content -> WEB-INF directory.
    Cheers,
    CM.

  • How to Edit a XML data file from AS3 class...

      Hi...
                 I need to edit an XML data file I have at the exit of application.... I have a demo code which is not working....
    This is the code :
    public function UpdateData():void
                   trace("Closing....");
                   var FileData:XML=<Hello>Hai</Hello>
                   var urlLdr:URLLoader = new URLLoader();
                   var urlRqst:URLRequest = new URLRequest ("AppData.xml");
                   urlRqst.data=FileData;
                    urlRqst.contentType = "text/xml";
                   urlRqst.method = URLRequestMethod.POST;
                   urlLdr.load(urlRqst);
    This AppData file already exist and has some data in it.
        Plus :
       How to find the application is exiting.

    use:  fscommand('Quit');
    to exit your app.
    and this is how you would use the urlloader class to save data:
    public function UpdateData():void
             trace("Closing....");
              var FileData:XML=<Hello>Hai</Hello>
    var urlVar:URLVariables=new URLVariables();
    urlVar.fileData=FileData;
                var urlLdr:URLLoader = new URLLoader();
               var urlRqst:URLRequest = new URLRequest ("this must be an executable to parse and write data");
               urlRqst.data=urlVar;
               urlRqst.contentType = "text/xml";
                   urlRqst.method = URLRequestMethod.POST;
                  urlLdr.load(urlRqst);
    but i don't think you can use an executable on a fl4 device so you will need to use a different class.  i don' know how you're storing an xml file on a fl4 device but you should be able to use the sharedobject to read and store xml.

  • How do I send XML to a web service?

    I am brand new to Flex. I am trying to write a program that
    uses web services to send and receive data. I have gotten it so
    that it can receive XML from the web service. However, I also need
    to send it, and I am stuck.
    I have tried the following code:
    <mx:WebService id="MyService"
    wsdl="
    http://localhost/FlexTest/service1.asmx?WSDL"
    useProxy="false"
    result="resultHandler(event)">
    <!-- Input: XML Document...Output: String -->
    <mx:operation
    name="HelloPersonAcceptsXmlDocumentReturnsString">
    <mx:request>
    <personXmlDoc>xmlPerson</personXmlDoc>
    </mx:request>
    </mx:operation>
    <!-- Input: XML Node...Output: String -->
    <mx:operation
    name="HelloPersonAcceptsXmlNodeReturnsString">
    <mx:request>
    <personXmlNode>
    xmlPerson.Person
    </personXmlNode>
    </mx:request>
    </mx:operation>
    <!-- Input: String (XML Format)...Output: String -->
    <mx:operation
    name="HelloPersonAcceptsXmlStringReturnsString">
    <mx:request format="xml">
    <personXmlString><p1:Person xmlns:p1="
    http://impact-tech.com/schemas/FlexTest"><p1:ID>f1bd45fc-544b-489d-83cf-349d1f9740ec</p1:I D><p1:FirstName>Joe</p1:FirstName><p1:MiddleName>C.</p1:MiddleName><p1:LastName>Blow</p1:L astName><p1:BirthDate>2006-09-11T14:03:04.4755443-04:00</p1:BirthDate><p1:IsMarried>false< /p1:IsMarried><p1:NumChildren>0</p1:NumChildren><p1:NetWorth>100000</p1:NetWorth></p1:Pers on></personXmlString>
    <!--<personXmlString>{xmlPerson.toXmlString()}</personXmlString>-->
    <!--<personXmlString>{txInput.text}</personXmlString>-->
    </mx:request>
    </mx:operation>
    </mx:WebService>
    In the first operation,
    "HelloPersonAcceptsXmlDocumentReturnsString", I try to send an XML
    object. In the second operation,
    "HelloPersonAcceptsXmlNodeReturnsString", I try to send the root
    node, xmlPerson.Person. In both cases, what actually gets sent is
    literally the text that I put in the <request>node, not the
    object that text is referencing. So for the first, "xmlPerson" gets
    sent to the target, not the XML doc that it refers to.
    In the third operation, I tried three different things, and
    two are commented out. I tried to reference the XML object using
    the toXmlString() method, but again, it literally sent the text
    "xmlPerson.toXmlString()". I tried the curly-brace binding, but
    then nothing gets sent to the web service. I also tried building
    the actual XML document node by node, with values, but I get an
    error from the web service saying it can't be parsed because there
    is an illegal character at Line 1, Position1. The only thing which
    has worked has been to add an Input Text box, copy-and-paste the
    exact same XML structure as I tried to manually build, and then use
    binding to the text property of the InputText control. Then it
    works fine. But I can't actually do that, it's just for testing.
    So my question is how to make a <request> node that is
    part of the web service operation that references an object and
    sends the value of that object to the web service, not literally
    whatever text is typed in that node. I looked at the Web Services
    and Data Binding sections of the help, and didn't see any examples
    covering this. Everything was far more simplistic with binding to
    controls. Can anyone help a newbie, please?

    I don't understand how this isn't a Flex Builder question,
    since it has to do with how Flex Builder interacts with web
    services and how objects are used in binding in MXML.
    But at any rate, I got this code to work, for future
    reference of anyone else looking in this forum:
    Declaring a custom class in MXML was key to allow proper
    binding:
    <CustomClasses:Person id="testPerson" xmlns:local="*"/>
    <mx:WebService id="MyService"
    wsdl="
    http://66.129.123.211/FlexTest/service1.asmx?WSDL"
    useProxy="false"
    result="resultHandler(event)">
    <!-- Input: XML Document...Output: String -->
    <mx:operation
    name="HelloPersonAcceptsXmlDocumentReturnsString">
    <mx:request>
    <personXmlDoc>{testPerson.GetXmlDoc()}</personXmlDoc>
    </mx:request>
    </mx:operation>
    </mx:WebService>

  • How to edit an XML file?

    Guys, I have a podcast in iTunes, I want to start to promote it. In order to do this, I think I will have to put tags in the XML file for different sites and I would like to know how to edit this. Does anyone have any good places for me to check out how to do this?
    Thanks!

    Vinnie, thanks for getting back to me on this, I am pulling my hair out!
    What FAQ are you speaking of? The one in iTunes or someplace on this board?
    By claim, what I mean is this. Lets say I try to add my podcast to Podcast Alley's directory. If I copy and paste my RSS feed in there, it says that it needs me to add their "tag" or whatever in my RSS so they know it is my podcast. They need me to add this line in the XML file I think to "claim" my podcast so it will show up in their directory. This seems to be a common thing with other sites as they give me some XML code to add to my RSS also.
    Make sense at all?

  • How to update weblogic.xml

    i create user programmatically.(not using administration tool). user gets added.
    But i cannot login as a new user. problem is because of no entry in weblogic.xml
    for that user.
    when i manually add entry i can login.
    My question is are there any way by which i can update this entry
    programmatically.
    thanks in advance
    Mahesh

    <security-role-assignment>
    <role-name>employee</role-name>
    <principal-name>employeeGroup</principal-name>
    </security-role-assignment>
    and then programmatically add them to the group "employeeGroup"
    Cameron
    "Mahesh" <[email protected]> wrote:
    >
    Thanks for your reply Griffin
    my weblogic.xml looks like this
    <security-role-assignment>
    <role-name>employee</role-name>
    <principal-name>scott</principal-name>
    <principal-name>john</principal-name>
    <principal-name>peter</principal-name>
    </security-role-assignment>
    But when i add new employee(programmatically) lets us say 'mark' i want
    weblogic.xml
    to be updated for 'mark' also. Actually i can see new employee in admin
    portal.
    But weblogic.xml will not be updated.
    How to this programmatically. Any suggestions.
    Thanks
    Mahesh
    Phil Griffin" <BEA> wrote:
    Mahesh,
    I assume you're talking about adding a <principal-name> in weblogic.xml?
    Consider using a group name as principal, or using <role-name> instead.
    That will give you more flexibility.
    -Phil
    >>
    "Mahesh" <[email protected]> wrote in message
    news:4047f4a8$[email protected]..
    i create user programmatically.(not using administration tool). usergets
    added.
    But i cannot login as a new user. problem is because of no entry inweblogic.xml
    for that user.
    when i manually add entry i can login.
    My question is are there any way by which i can updatethis
    entry
    programmatically.
    thanks in advance
    Mahesh

  • How to make and build a dinamic web project

    hi people, i just downloaded the flex 2 beta 3, and installed
    this "separated" of the eclipse application, but my question is ..
    how i have to create a new dinamic project, that contains the
    Web-Inf folder and Meta-Inf folder..?? off course that i have the
    java sdk installed, the eclipse and the flex environment....
    can anybody help me with this?? i will really really
    apreciate this!!
    thanks in advance!!
    JP.

    quote:
    Originally posted by:
    ntsiii
    Also, you will be using Tomcat and Java on the server to
    provide data to your client-side application.
    it´s rigth..
    quote:
    You have several options, including RemoteObject,
    Webservices(Axis?), or HTTPService(it is very simple to use JSP to
    save and retrieve data and send it to the Flex client)
    All this options, in what tool are implemented?
    quote:
    Post again if you get stuck.
    By the way, General Flex questions should be posted in the
    General Discussion forum. This one is for Flex Builder questions.
    Tracy
    yes, i know, i searched the site looking for a tutorial or
    something that refer how to related a website and a data in a
    database.... in order to make a form to manage the data..
    thanks a lot!!!

  • How to edit an XML file in ios5.1 ?

    Hi,
    I have an large xml file . I need to split it into 3 small ones .For reading the XML i am using NSXMLParser . How to write xml file ? If there is need of edit some tag , how to do it ?Please guide me ....
    Thanks
    Amiya

    I don't know what your model is but if I assume a straighforward tree-structured model PresetInfo > Modality > Body, this code is the design pattern I usually use.  If you don't actually need to load a model, but instead just extract a specific data element, look at the XPath query in PresetInfo.parseXmlElement, and how I get attribute and element values in the other parseXmlElements.
    The model interface.  I used arrays for the lists, if you need keyed access to list elements, you could use dictionaries.  The top-level class PresetInfo contains methods to read the XML from a file.
    @interface ModelBase : NSObject
    - (id)initWithXmlElement:(GDataXMLElement *)element;
    - (void)parseXmlElement:(GDataXMLElement *)element;
    @end
    @interface PresetInfo : ModelBase
    @property NSMutableArray *modalities;
    - (id)initWithPath:(NSString *)path;
    - (id)initWithXmlString:(NSString *)xmlString;
    @end
    @interface Modality : ModelBase
    @property NSString *type;
    @property NSMutableArray *bodies;
    @end
    @interface Body : ModelBase
    @property NSString *part;
    @property NSInteger ww;
    @property NSInteger wl;
    @end
    The model implementation.
    @implementation ModelBase
    - (id)initWithXmlElement:(GDataXMLElement *)element
        if (self = [self init]) {
            [self parseXmlElement:element];
        return self;
    - (void)parseXmlElement:(GDataXMLElement *)element {
        [NSException raise:NSInternalInconsistencyException format:@"You must override %@ in a subclass", NSStringFromSelector(_cmd)];  // Objective-C has no abstract methods
    @end
    @implementation PresetInfo
    - (id)init
        if (self = [super init]) {
            self.modalities = [[NSMutableArray alloc] init];
        return self;
    - (id)initWithPath:(NSString *)path
        NSError *error = nil;
        NSStringEncoding *usedEncoding = nil;
        NSString *xmlString = [NSString stringWithContentsOfFile:path usedEncoding:usedEncoding error:&error];
        if (!xmlString)
            NSLog(@"Error reading XML file: %@", [error localizedDescription]);
        return [self initWithXmlString:xmlString];
    - (id)initWithXmlString:(NSString *)xmlString
        NSError *error = nil;
        GDataXMLDocument *xmlDoc = [[GDataXMLDocument alloc] initWithXMLString:xmlString  options:0 error:&error];
        if (!xmlDoc)
            NSLog(@"Error creating XML document: %@", [error localizedDescription]);
        return [self initWithXmlElement:xmlDoc.rootElement];
    - (void)parseXmlElement:(GDataXMLElement *)element
        NSError *error = nil;
        NSArray *nodes = [element nodesForXPath:@"presetinfo/modality" error:&error];
        if (!nodes) {
            NSLog(@"Response not found: %@", [error localizedDescription]);
            return;
        for (GDataXMLElement *element in nodes)
            [self.modalities addObject:[[Modality alloc] initWithXmlElement:element]];
    @end
    @implementation Modality
    - (id)init
        if (self = [super init]) {
            self.bodies = [[NSMutableArray alloc] init];
        return self;
    - (void)parseXmlElement:(GDataXMLElement *)element {
        GDataXMLNode *node = [element attributeForName:@"type"];
        if (node) self.type = node.stringValue;
        NSArray *nodes = [element elementsForName:@"body"];
        for (GDataXMLElement *element in nodes)
            [self.bodies addObject:[[Body alloc] initWithXmlElement:element]];
    @end
    @implementation Body
    - (void)parseXmlElement:(GDataXMLElement *)element {
        GDataXMLNode *node = [element attributeForName:@"PART"];
        if (node) self.part = node.stringValue;
        node = [element attributeForName:@"WW"];
        if (node) self.ww = [node.stringValue integerValue];
        node = [element attributeForName:@"WL"];
        if (node) self.wl = [node.stringValue integerValue];
    @end
    Example of loading your XML into the model and showing the data.  This assumes the containing class (for example a view controller) has a property PresetInfo *presetInfo and the XML you posted is in a file presetinfo.xml.
    // load the XML into the model
    NSString *path = [[NSBundle mainBundle] pathForResource:@"presetinfo" ofType:@"xml"];
    self.presetInfo = [[PresetInfo alloc] initWithPath:path];
    // verify the model loaded correctly
    for (Modality *modality in self.presetInfo.modalities) {
        for (Body *body in modality.bodies) {
            NSLog(@"Modality Type = %@; Body Part = %@; WW = %d; WL = %d", modality.type, body.part, body.ww, body.wl);

  • How to send a xml to a web service

    Hi All
    I've generated a xml report that I need to send to a web site that I could imagine have a web service to receive the report.
    The question is: how should I send my xml file ??
    I've tried to find docs about it but there are a lot of complex examples and I need to do just this simple job...
    Any idea, example or help will be appreciated...
    Thanks in advance
    <jl>

    You can do anything as simple as a socket all the way up to using a web services protocol like SOAP.
    - Saish
    "My karma ran over your dogma." - Anon

  • How to Edit the xml node value using flex from the front end UI

    Hi All,
    I am having a use case with flex 4.6
    1> To read the external xml file
    2> Display the tree structure in the front end UI
    3> Edit the node values of the xml file from the front end UI and save it back
    How to go about the above use case, any blogs or links on the above case will be help
    Thanks,
    Alok

    Check this is example:
    http://blog.flexexamples.com/2009/07/23/deleting-nodes-from-an-xml-object-in-flex/

  • How to edit existing site in iDisk/web/site/iWeb ??

    I have a site saved on my iDisk that I had previously deleted from the iWeb program on my laptop. Now I would like to go in and edit it and I cannot figure out how to get it back into my iWeb on my laptop. Any thoughts??

    You cannot do this. If the site has been deleted from iWeb and you do not have a backup of the Domain file that exists at username/Library/Application Support/iWeb before you deleted the site, then you must restart from scratch.
    You can use the old site to cut and paste content back into iWeb to create a new site.
    Michael
    iMac 20" Intel Core Duo 2GHz

  • Can Oracle Express Edition be used for Internet Web Projects?

    Hi,
    If we have a simple WWW application accessible from internet via WEB server and Web server uses Oracle Express Edition as a "data storage", can Oracle XE be used without violating license (XE limitations)?
    Thank you!

    Don't see why not, although a quote from the Oracle Technology Network Developer License Terms for Oracle Database 11g Express Edition page at the License Rights section, "developing, prototyping and running your applications for your own internal data processing operation..." so that might be leaning into a bit of a grey area. A bit.
    But with something available on the web you'll want to be sure to stay up to date with security patches- and unfortunately XE can not be patched. Just because something can be done, and even works for its intended purpose, doesn't necessarily mean that it is a "good thing to do".
    Nothing wrong with trying something out for learning and figuring out how things work- apex is a nifty development platform, although I've not kept up with the details of the last couple of versions. Too many other things on the "got to learn this, got to do that" list(s).

  • How can i change the last frame in a trailer i have converted.  everything else is fine but the wording is wrong on the final "credits" and don't know how to edit after converting it to a project.  Thanks to All.

    looking to edit the final frame which is the the "credits" section.  I have already  converted the trailer.  Is it too late to correct some nserts in the credits?
    Thanks to all.

    If by "converted" you mean that you've converted the trailer to a normal project using the menu option File>Convert to Project, then YES it is still possible to edit the Credits Title.
    In the converted project, double-click on the blue Title bar that sits above the background clip. In the Viewer, double-click on the text you wish to change (or highlight text by dragging over it). Now you can replace the highlighted text by typing in the new text. You can also change fonts and font colours.
    It's always good practice to duplicate the Trailer before converting it. To do this, while in Project Library view, click on the Trailer name in the Library then select File>Duplicate Project. A copy will appear in the Library with the same name as the Trailer, but with the number 1 appended. You can rename this copy as desired. Now, convert the duplicate to a standard project and continue with your editing as required. You now have the original Trailer in template form (which can be further edited), and can duplicate it again if required.
    John
    EDIT: Regarding my first sentence - just noticed that you did mention "converting it to a project" in you topic header. Sorry!
    Message was edited by: John Cogdell

  • How to Edit perticular node in XML

    How to edit Perticular XML node ?
    <root>
    <node1>
    <data1>   dsfs  </data1>
    <data2>   dsfs  </data2>
    <data3>   dsfs  </data3>
    <data4>   dsfs  </data4>
    </node1>
    </root>What should i do to change data3 value, means edit data of <data3> ??
    help me

    Retriece data3 node with XPath or DOM. Set node value with setNodeValue() method.

Maybe you are looking for