OSB HowTo: Adding an endpoint using the customization file.

Hi Guys,
I want to add a new endpoint URL using the OSB customization file. My use case is, that we have single endpoints in the test environment but multiple (cluster) endpoints in the integration environment. So I though i can use the following Snippet to do so:
<cus:envValueAssignments>
     <xt:envValueType>Service URI</xt:envValueType>
     <xt:location>1</xt:location>
     <xt:owner>
          <xt:type>BusinessService</xt:type>
          <xt:path>service/BusinesService</xt:path>
     </xt:owner>
     <xt:value xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema">http://myAdditionalClusterURL</xt:value>
</cus:envValueAssignments>
But I get the Error: "URI index 1 is not valid" which makes perfect sense. It is invalid, because I want to ADD and not EDIT it.
So my question is, what is the right approach to achieve this.
Kind Regards

Hi,
You have to add the new endpoint in "SERVICES URI TABLE":
<cus:envValueAssignments>
<xt:envValueType>Service URI Table</xt:envValueType>
<xt:location xsi:nil="true"/>
<xt:owner>
<xt:type>BusinessService</xt:type>
<xt:path>YOUR_BUSINESS_PATH</xt:path>
</xt:owner>
<xt:value xmlns:tran="http://www.bea.com/wli/sb/transports">
<tran:tableElement>
<tran:URI>endpoint_0</tran:URI>
<tran:weight>1</tran:weight>
</tran:tableElement>
<tran:tableElement>
<tran:URI>http://myAdditionalClusterURL</tran:URI>
<tran:weight>0</tran:weight>
</tran:tableElement>
</xt:value>
</cus:envValueAssignments>
The configuration plan must contain all endpoints, new and previously endpoint added.
Regards.

Similar Messages

  • OSB::Operational Settings in the Customization File

    Hi,
    In OSB, I was wondering is there any way to put in the Operational Settings (like Monitoring and Aggregation Interval) as well as SLA Alerts in the Customization File that we generate from the sbconsole.
    I dont seem to be getting the values as <Monitoring> is enabled or not, in the Customization File that we create.
    Hope the question is clear.
    Regards

    Hi,
    You can use customization files to make changes to environment values as well as to change references within resources. It is not meant to change the Operational Settings or any other configuration.
    Regards,
    Anuj

  • How would I go about adding multiple rectangles using the same lines of code?

    How would I go about adding multiple rectangles using the same lines of code? I would prefer to just run through a set of code every time I need a polygon. If I just have to create multiple polygon adding statements that's fine but I'd prefer just 1.

    >>How would I go about adding multiple rectangles using the same lines of code?
    You could create a method that creates and returns x number of Rectangle elements:
    public IEnumerable<Rectangle> CreateRectangles(int numberOfRectsToCreate)
    for (int i = 0; i < numberOfRectsToCreate; ++i)
    Rectangle rect = new Rectangle();
    rect.Fill = Brushes.Blue;
    rect.Width = 100;
    rect.Height = 100;
    yield return rect;
    ..and then call this method from anywhere in your code:
    IEnumerable<Rectangle> rects = CreateRectangles(5);
    foreach (Rectangle rect in rects)
    //add to StackPanel or do whatever with the Rectangle elements:
    yourStackPanel.Children.Add(rect);
    >>If I just have to create multiple polygon adding statements that's fine but I'd prefer just 1.
    When adding Point objects to a Polygon you can only add one per call to the Add method but you could call the Add method inside a loop, e.g:
    for(int i = 0; i < 10; ++i)
    //add to StackPanel or do whatever with the Rectangle elements:
    Polygon p = new Polygon();
    p.Points.Add(new Point());
    Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question. Please don't post several questions in the same thread.

  • When I try to use the customize feature for toolbars, the toolbars themselves disappear as soon as I click "customize." Ideas?

    When I try to use the customize feature for toolbars, the toolbars themselves disappear as soon as I click "customize." This happens whether I choose "customize" from the drop-down menu, or use the "control-click" option. I don't remember having this problem before, since I've customized the toolbar previously, although not for a while.
    I'm running Firefox 17.0 on an iMac with OS 10.6.8

    Hello rheahirshman
    check it in [https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode#os=mac&browser=fx17 Safe Mode], in Safe Mode window select '''''"Start in Safe Mode"''''' and see if this happen again, '''''if not''''' see: [https://support.mozilla.org/en-US/kb/troubleshoot-extensions-themes-to-fix-problems#os=mac&browser=fx17 Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

  • How can i use the ACL file to control the access from the other website?

    Hello all~
    My Sun one is 6.1 sp3 on Windows 2003 SE, and I am try to use the ACL file to control the access.
    My ACL file is below:
    version 3.0;
    acl "path=my_path_on_HD";
    deny absolute (all)
    (user = "anyone") and
    (dns = "*.my_site.com");
    deny absolute (all)
    (user = "anyone") and
    (dns = "*.other_site.net");
    Once I add the "deny", anyone include my site is decline for vist the path specify in the ACL file. But if remove the "deny", everyone include other one's website can access the file.
    Can anybody tell me how to make it work?

    I think you've misunderstood what the dns attribute is for. The dns attribute returns the hostname of the client accessing your website, not the hostname of the website that linked to your website.
    For example, when someone using the Comcast ISP goes to a malicious website at example.com that loads images from your website at www.amigoo.net, the dns attribute will be something like "c-1-2-3-4.ca.comcast.net", not "example.com". ACLs are used for authentication and authorization of clients (not the websites those clients chose to visit), and they don't provide the functionality you're looking for.
    If I understand correctly, you want to prevent websites other than amigoo.net from linking to files in your d:/webserver/imat/pics_upload directory. You can achieve this adding the following lines to your obj.conf configuration file:
    <Object ppath="d:/webserver/imat/pics_upload/*">
    <Client referer="*~*amigoo.net">
    PathCheck fn="deny-existence"
    </Client>
    </Object>

  • Account in the Customization File

    Hi,
    I'm working on a project in which we need to configure an Account when the Customization File is executed. But whenever I try to generate a Customization File , having selected the Accounts as one of the elements to be in it, it ignores them an generates a Customization File without any Account configuration. Would you know if there is an automatic way to set the configurations of an Account?
    I'm using AquaLogic Service Bus - BEA Workspace Studio.
    Thanks in advance
    Edited by: user151564158 on Mar 17, 2010 6:19 AM

    You can't have Account customized through customization file. This is simply not supported. Try searching forum. It has already been discussed here.

  • Instead of using the make file can you build nirlpk.sys using MS WDK 8.0 on VS2012?

    After downloading the NI nimhddk_windowsWDM-2 and -1
    Instead of using the make file I built nirlpk.sys using MS WDK 8.0 on VS2012
    I copied the source files out of the dir /nirlpk to the MS template for WDM drivers
    It built after turning warnings as errors off.
    After uninstalling the NI_DMX driver I tried to install the RLP driver that consisted of nirlp.inf and nirlpk.sys
    I got this message:
    Windows found driver software for your device but encounted and error while attempting to install it.
    PCI-6602 RLP WDM
    Driver is not intended for this platform
    Is the nirlp.inf file correct for loading on Windows 7 64 bit?
    Any ideas?

    I have now altered the example along lines
    suggested by ghaneman*, who pointed out that
    a trusted application did not need to use the
    FileOpenService/FileContents just to get an
    InputStream.
    * Mentioned on 'File associations / sandboxed app.'
    http://forum.java.sun.com/thread.jspa?threadID=785224
    The altered code is..
    /** Load a file into the editing area.
    @param path A string representing the path to the desired file. */
    public void loadFile(String path) {
        // first try as if this were a trusted application..
        if (!path.equals(".")) {
            try {
                FileInputStream inputStream = new
                    FileInputStream(path);
                loadFile(inputStream);
            } catch (Exception e) {
                // we do not have trust, use the FileOpenService
                loadFileByFileService(path);
        } else {
            // we only have a directory, use the FileOpenService
            loadFileByFileService(path);
    public void loadFileByFileService(String path) {
        try {
            if (fileOpenService==null) {
                fileOpenService = (FileOpenService)ServiceManager.
                    lookup("javax.jnlp.FileOpenService");
            fileContents = fileOpenService.openFileDialog(path, xtns);
            // the user may have cancelled the action..
            if (fileContents!=null) {
                loadFile( fileContents.getInputStream() );
        } catch(UnavailableServiceException use) {
            use.printStackTrace();
        } catch(IOException ioe) {
            ioe.printStackTrace();
    }If the user launches the trusted version, and
    selects 'always trust' for the (self signed)
    certificate, the end user can thereafter double
    click a file and see it appear in the application's
    editing area with no further user interaction.

  • How can I auto export a PDF File using the "Smallest File Size" preset and set the Exported File Name based on information from an Imported PDF?

    Greetings all,
    I am trying to create a script to automate a PDF export process for my company for inDesign. I’m fairly new to inDesign itself and have no previous experience with javascript, although I did take C++ in high school and have found it helpful in putting this code together.
    We have an inDesign template file and then use the Multi-page PDF importer script to import PDF files. We then have to export two version of each file that we import, then delete the imported file and all of the pages to reset the template. This has to be done for nearly 1000 pdf files each month and is quite tedious. I’m working on automating the process as much as possible. I’ve managed to piece together code that will cleanup the file much quicker and am now trying to automate the PDF exports themselves.
    The files are sent to us as “TRUGLY#####_Client” and need to be exported as “POP#####_Client_Date-Range_North/South.pdf”
    For example, TRUGLY12345_Client needs to be exported as POP12345_Client_Mar01-Mar31_North and POP12345_Client_Mar01-Mar31_South.
    There are two templates built into the template file for the north and south file that are toggled easily via layer visibility switches. I need to get a code that can ideally read the #s from the imported Trugly file as well as the Client and input those into variables to use when exporting. The date range is found in the same place in the top right of each pdf file. I am not sure if this can be read somehow or if it will have to be input manually. I can put North or South into the file name based on which template layer is visible.
    I am not sure how to go about doing this. I did find the following code for exporting to PDF with preset but it requires me to select a preset and then type the full file name. How can I set it to automatically use the “Smallest File Size” preset without prompting me to choose and then automatically input some or preferably all of the file name automatically? (If the entire filename is possible then I don’t even want a prompt to appear so it will be fully automated!)
    PDF Export Code (Originally from here: Simple PDF Export with Preset selection | IndiSnip [InDesign® Snippets]):
    var myPresets = app.pdfExportPresets.everyItem().name;
    myPresets.unshift("- Select Preset -");
    var myWin = new Window('dialog', 'PDF Export Presets');
    myWin.orientation = 'row';
    with(myWin){
        myWin.sText = add('statictext', undefined, 'Select PDF Export preset:');
        myWin.myPDFExport = add('dropdownlist',undefined,undefined,{items:myPresets});
        myWin.myPDFExport.selection = 0;
        myWin.btnOK = add('button', undefined, 'OK');
    myWin.center();
    var myWindow = myWin.show();
    if(myWindow == true && myWin.myPDFExport.selection.index != 0){
        var myPreset = app.pdfExportPresets.item(String(myWin.myPDFExport.selection));
        myFile = File(File.saveDialog("Save file with preset: " + myPreset.name,"PDF files: *.pdf"));
        if(myFile != null){
            app.activeDocument.exportFile(ExportFormat.PDF_TYPE, myFile, false, myPreset);
        }else{
            alert("No File selected");
    }else{
        alert("No PDF Preset selected");
    So far my code does the following:
    1) Runs the Multi-Page PDF Import Script
    2) Runs PDF Export Script Above
    3) Toggles the Template
    4) Runs #2 Again
    5) Deletes the imported PDF and all pages and toggles template again.
    It’s close and much better than the original process which was almost 100% manual but I’d like to remove the Preset prompt from the PDF script and have it automatically select the “Smallest File Size” preset. and then if there’s a way to have it auto-fill in the file name so no user input is required at all other than selecting each file to import. (If there’s a way to setup a batch action for the multi-import script that would be even better!)
    Thanks in advance and if there’s anything else I can provide that would help please let me know! Even a nudge in the right direction will be a big help!

    If you hold down the option key, it will typically show the location. Or you can often hit option-return on the file and it will reveal the file in the Finder, instead of opening it.
    Final option is to open it, and just option-click the filename in the toolbar of Preview and it should show you the location.
    It's probably an attachment to an email you've received. If you have Mail set to cache emails and their attachments it'll be stashed in a subdirectory of ~/Library/Mail. Which is fine.

  • HT1766 I have an iphone 4.I upgraded it to 5.0.1 and so I have lost all the data from my iPhone,but i have a backup in my computer.How do I use the backup file ? i.e How will i get that backup file in my iPhone ?

    I have an iphone 4.I upgraded it to 5.0.1 and so I have lost all the data from my iPhone,but i have a backup in my computer.How do I use the backup file ? i.e How will i get that backup file in my iPhone ?

    Connect phone to computer.
    Select Restore.
    Tell iTunes which of the available backup files to use, let iTunes restore it.
    Also, try reading the User's Guide as it answers questions like this.

  • How to use the Microsoft File Copy dialog box  in Java ??

    Can anyone tell me if it is possible to use the Microsoft File Copy dialog box (the one with the animated gif of the paper flying from one folder to anaother) in a Java.
    Many thanks

    And in any case, in any version of Windows that I've looked at, the file copy animation is an AVI, not a GIF.
    db

  • Importing multiple files using the Import File menu.

    For some reason I am never able to add more the 5 mp3 files using the Import File menu. All of my files are located on the NAS device and if I select the Import Folder menu all the files in the folder will be imported. However, time after time I add more files to the same folder and then need to import just the new files to iTunes. For that I am using the Import File menu. If select more then 5 files, only 5 files will be imported. Some times I have 100 new files that I want to add, and moving 5 files a time is time consuming and painful. I try opening the folder, selecting all files and dropping them into iTunes, but that did not work. Is there a way to import more than 5 files at a time, or iTunes is not capable doing that?

    I am often surprised how many ways there are to add songs to iTunes. Selecting a number in the open file dialog must have a maximum string length for the file names. I bet that the path and file name are long on those songs and that is why you can only load 5 at a time from your NAS. What I have had luck with and is very easy is to select a group of songs and right click and "play" them. My iTunes is set to import and organize on play. The first song starts playing and they all load. I routinely do this with entire albums without problem.
    Paul

  • Trying to use the new file features in Flash 10

    Hi there, I'm now trying to use the new file features in Flash 10 but I'm getting this error when I try something like
    fileRef.load();
    ReferenceError: Error #1069: Property load not found on flash.net.FileReference and there is no default value.

    It's tough to tell without seeing more of your code, but it might be that you're missing these lines of code at the top of your actions window:
        import flash.net.FileFilter;
        import flash.net.FileReference;

  • HT4796 i have successfully migrated the music but it just shows up in my files and has not updated my iTunes library which is still getting the music from iCloud and is not using the migrated files. Any ideas?

    I have successfully used windows migration software to move my music library from a PC to my MacBook Air.
    However the music files are just stored in my file system and have not updated my itunes files. Itunes is still getting the music down from icloud instead of using the music files.
    Any ideas?

    If you're using Windows Movie Maker and HP Photo to build slide shows, this is not an iPod touch issue (nor an iTunes issue), so I'd suggest you take up the problem on a web site that deals with Movie Maker or HP Photo issues. It's really not something we can help with in this forum.
    If you're building this slide show on your iPod, please post back and tell us what app(s) you're trying to use, and whether the iPod app on your iPod touch shows and plays your songs correctly. Knowing the specific model of iPod you have and the version of iOS it's running will probably also help.
    Regards.

  • What are the steps for using the backup files to reload data to my blackberry curve (8310, i think)?

    What are the steps for using the backup files to reload data to my blackberry curve (8310, i think)?

    Connect BB to PC. On 'Desktop Manager'>Backup & Restore tab>Click Restore. Double click .ipd file (backup file created from Desktop Manager).

  • How can I use the "open file" alarm on an iPhone?

    In the iCal program on a Mac, I can set an alarm to open a webpage at a specified time each morning automatically by using the "open file" feature in iCal and using a .webloc file for the URL.  However, the event, when synced through iCloud, does not open the webpage on my iPhone.  Is there a way for me to use the "open file" feature on my iPhone?
    If not by using the "open file" feature, is there a way (through an app or other setting) for me to open a website or a program at a specified time each morning?  Thanks!

    timl006 wrote:
    Hi all,
    I have an iPhone 4, running the latest IOS 4.x revision.  Like many of you, I have installed 3rd party apps to replace the existing default apps from Apple in order to get improved functionality.  Chief among them is the calendar app "Week Cal".  I had already switched to my various Google calendars for my appointments exclusively.  I then made my principal Google calendar my default calendar on both my iPhone and iCal on my Mac.
    The problem is that even though I deleted all local calendars on my mac and told the default iPhone Calendar app to hide all calendars, occasionally it somehow "finds" my Google calendar. Once found, the Calendar app is the one that pops up upon calendar alerts and not Week Cal.  The switch does not seem to be linked to syncing.
    Question #1:  How can I tell my iPhone what my default apps are?  Do I need to do something on my Mac as well?
    I'm guessing that Week Cal has some sort of setting that you use to point it to your calendar, yes?
    If so:
    #1 make sure that Sync iCal Calendars is unchecked in iTunes.
    #2 on your iPhone... Settings > Mail, Contacts, Calendars > turn OFF Calendars for all accounts.
    Now the iOS should no be looking to make contact with any data for Calendar.

Maybe you are looking for

  • Performanc​e measuremen​ts

    Hello. I'm trying to verify the CMRR specifications for the NI PXI5922 Digitizer using the two channels in differential mode, but I don't reach the specification. The signal source is a PXI 5441 AVG.  The CMRR is measured by applying the same signals

  • Mac Mini-A Huge Mistake!!!

    i decided to try a mac mini and boy am i sorry. i have had it 2 days now and it hasn't worked properly yet. i purchased a model: mac mini 1.83/2x256/80/SD/AP/BT Hardware Overview: Model Name: Mac mini Model Identifier: Macmini1,1 Processor Name: Inte

  • Apple T.V Streaming

    i can stream movies from my mac to my apple T.V without interruption. but when I try to play T.V shows it quits with the message "iTunes is currently unavailable". Whats going on?

  • XML Schema Element any

    Is there any workaround or planned support for the XML any tag in future for PI 7.1?

  • I just bought a movie via itunes and every time I try to watch it the whole system crashes. Help?

    I just bought a movie on itunes, my first time doing that actually.  When I first went to play it just went and stayed black when I hit play.  I did need to update itunes so I thought that was the problem.  I think it made it worse, every time I try