Addning new properties in customization file of OSB

Hi,
We have option to find and replace few properties of proxy and business services in OSB through customization files.
Our requirement is to have few additional properties like client certs, https enabling which are not available when a customization file is created OOTB.
Any pointers on customizing customization file will be more helpful.
Thanks,
Sowmya

Hi,
the structure is not very interesting because I'm flexible :-)
But for excample like this:
<MyData>
<val1>abc</val1>
<val2>def</val2>
</MyData>
<MyData>
<val1>uvw</val1>
<val2>xyz</val2>
</MyData>
To write such a file is not really the problem. But I don't want to parse the XML structure with String command.
Thanks,
Armin

Similar Messages

  • Create Customization File in OSB 10g with WLST script

    Is it possible to create a customization file the same as created from the OSB console with a WLST script?
    Can someone show me the syntax to do this? I need to turn this request around quickly and don't have time for a lot of trial and error.
    Edited by: DoubleT on Sep 29, 2009 6:44 PM

    I resolved my problem. The solution is follow (Java language):
    Set<Ref> domainRefs = alsbConfMB.getRefs(businessServiceQuery);
         EnvValueQuery evquery = new EnvValueQuery(null, // search across all
                   // resource types
                   envValueTypesToSearch, domainRefs, // search only in found refs.
                   false, // Search all resources
                   null, // the string we want to replace
                   false // not a complete match of URI.
    Collection<QualifiedEnvValue> founds = alsbConfMB.findEnvValues(evquery);
         List<QualifiedEnvValue> qualifiedEnvValueList = new ArrayList<QualifiedEnvValue>();
         for (QualifiedEnvValue qev : founds) {
              if (qev.getEnvValueType().equals(EnvValueTypes.SERVICE_URI)) {
                   qualifiedEnvValueList.add(qev);
         EnvValueCustomization projectEnvValsCustomization = new EnvValueCustomization("Customizations File for businss services ", qualifiedEnvValueList);
         List<Customization> customizationList = new ArrayList<Customization>();
         customizationList.add(projectEnvValsCustomization);
         OutputStream fileOutputStream = new FileOutputStream("testCustomization.xml");
         Customization.toXML(customizationList, fileOutputStream);
         fileOutputStream.close();

  • OSB Customization files 2 set Retry Application Errors and Timeout props

    I know it's possible to set Endpoint URI, Retry Count and Retry Iteration Interval properties using customization files, but what about other properties? I am particularly interested in setting Retry Application Errors and Timeout for a HTTP business services. If it's not possible to do with customization files is there another way of setting them without having to go though each service in the console?
    Edited by: user1019490 on Sep 23, 2010 2:45 AM

    Yes, I guess this can be done as there is provision in ALSBCustomizationFile.xml. Below is the snippet from ALSBCustomizationFile.xml
    <cus:envValueAssignments>
    <xt:envValueType>Service URI Table</xt:envValueType>
    <xt:location xsi:nil="true"/>
    <xt:owner>
    <xt:type>BusinessService</xt:type>
    <xt:path>TestProject/BusinessService/TestBS</xt:path>
    </xt:owner>
    <xt:value>
    <tableElement xmlns="http://www.bea.com/wli/sb/transports">
    <URI>http://www.test.com/testService.asmx</URI>
    <weight>0</weight>
    </tableElement>
    </xt:value>
    </cus:envValueAssignments>
    <cus:envValueAssignments>
    <xt:envValueType>Service Retry Count</xt:envValueType>
    <xt:location xsi:nil="true"/>
    <xt:owner>
    <xt:type>BusinessService</xt:type>
    <xt:path>TestProject/BusinessService/TestBS</xt:path>
    </xt:owner>
    <xt:value xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema">0</xt:value>
    </cus:envValueAssignments>
    <cus:envValueAssignments>
    <xt:envValueType>Service Retry Iteration Interval</xt:envValueType>
    <xt:location xsi:nil="true"/>
    <xt:owner>
    <xt:type>BusinessService</xt:type>
    <xt:path>TestProject/BusinessService/TestBS</xt:path>
    </xt:owner>
    <xt:value xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema">0</xt:value>
    </cus:envValueAssignments>
    Regards,
    Karthik

  • When I click to open anything I get a box saying open link in new window, open link in new tab, download linked file etc.  When I go to close anything I get hide toolbar, customize toolbar.  It takes  3-5 clicks and it will finally close.

    When I click to open anything I get a box saying open link in new window, open link in new tab, download linked file etc.  When I go to close anything I get hide toolbar, customize toolbar.  It takes  3-5 clicks and it will finally close.

    In Firefox Options / Privacy be sure "Remember download history" is checked. To see all of the options on that panel, "Firefox will" must be set to "Use custom settings for history".
    To find your OS information, on your Windows desktop, right-click the My Computer icon, choose Properties, under System on that small window is info about your OS.
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • 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.

  • 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

  • Modify OSB Proxy "HTTPS required" setting through customization file

    Is it possible to modify the "HTTPS Required" setting on the OSB Proxy service? We have different settings to be used for different environments like . DEV, IT, UAT, PROD etc
    My understanding of the OSB customization is as below, and I get a feeling that its not possible through the customization.
    There are 3 types of customizations possible: EnvVariables, FindAndReplaceString, ReferenceType
    EnvVariables allows only pre-defined set of variables to be changed thru the customization file. , HTTPS setting is not there in the list.
    Allowed variables are listed @ http://docs.oracle.com/cd/E23943_01/admin.1111/e15867/customization.htm
    FindAndReplaceString: it’s possible to change the value of the xml elements in the proxy file, but since its boolean value for HTTPS, we cannot use this option, it would replace other settings as well.
    ReferenceType: is used to refer to alternate references like xquery or business services in the proxy service.

    I know that ALSB used to provide APIs for SOME customizations, monitoring and control of services. I have not tried APIs in OSB for a long time and dont know if the APIs are still the same or if some of them have been deprecated. But I can say that the APIs for customization of end point values will definitely be available.
    However, I do not think there will be an API for marking HTTPS as enabled in proxy configuration, that you will need to do using the sbconsole UI or by importing an updated version of service.
    You can find the APIs here:
    http://docs.oracle.com/cd/E23943_01/apirefs.1111/e15033/toc.htm
    http://docs.oracle.com/cd/E23943_01/admin.1111/e15867/app_apis.htm#OSBAG739
    If you do need more info then search for ALSB APIs and you will get older docs but they might have more details.

  • I18n JSTL / How to connect to new JAR holding new properties file?

    Hi there
    This is concering i18n and how (on earth;) JSTL knows where to find the according properties files that hold all the textual information.
    Okay. I have a piece of software that works fine and has the i18n mechanism running very nicely.
    I found the properties files in WEB-INF/lib/i18n.jar in a folder 'resources/bundle/'. They all prefix 'i18n' so JSTL makes use of them like this:
         <fmt:bundle basename="resources/bundles/i18n">
              <fmt:message var="thumbnailText" key="thumbnail.label" />
    So, we work on a new project right now based on this software. How can I add new project-related properties files?
    What I did:
    1) I created a new properties files having new textual information on new labels, etc.
    2) Put this in a folder of the new project JAR, which is in WEB-INF/lib now.
    3) Referenced the basename of fm:bundle according to this folder (including correct file prefix).
    -> Doesn't work.
    Is it that by convention all i18n information will be searched for in a JAR that must be named 'i18n.jar'?
    I'd greatly appreciate any hints
    Cheers
    André

    First, a sidenote to the SUN team: Before beeing able to reply, the forum denied me access unless I comitted to a screen name. Using my 'AndreKuhn' screen name got me 'Already in use'. Yes, of course. By me! So I had to pick AndreKuhn2 which is a little annoying. There seems to be something wrong with your system.
    Okay, back to the issue.
    Thanks evnafets for your notions! I have 2 JARs having i18n information. One had already been in use (successfully) by the underlying system. It's the one mentioned above ('i18n.jar'). Now there is a second one. Actually used the same way (technically) with different folders and namings. It goes like this:
    <fmt:bundle basename="resources/i18n/bdficp">
              <fmt:message var="titleText" key="publishLink.config.title" />
    With additional i18n information in 'WEB-INF/lib/<PROJECT-NAME>.jar'. Precisely in a file 'resources\i18n\bdficp_de.properties' having the line:
    publishLink.config.title=Just\ another\ title.
    Which should be the one referenced in the snippet above. Still the app gives me: ???publishLink.config.title???
    Any clue? I'd greatly praise your name across the rooms here!
    Cheers
    André

  • Websphere is not loading new properties file

    I am using Websphere Application Server 5.1 on WindowsXP.
    My application is on Struts. I create a war file and deploy it.
    I am getting all the text displayed from ApplicationResources.properites file.
    I changed some key-values in that file..but the websphere is loading the page with old values..
    I thought the problem could be with browser cache..I changed the JSP content to check if it loads the new jsp..It is loading the new jsp..(so the problem is not with cache)but old properties file..
    I uninstalled my application and reinstalled it..stilll it did not work..
    I checked the path "C:\Program Files\WebSphere\AppServer\installedApps\PC560\WMOS_war.ear\WMOS.war\WEB-INF\classes" where my war is getting extracted...
    (so my latest propeties file is available to websphere)
    it is showing the new properties file..but if i see the 'view source' of the page..it is showing old values..
    Is it some kind of optimization of websphere? If it is so, where to change it?
    Thanks

    If that doesn't work, try repackaging your application into a new WAR file, with the new property files, and redeploy it. WebSphere tries to be "clever" and caches/copies files from your application into another folder when you deploy it, and will not look at these files in your application's folder within the "installedApps" folder. I learned this lesson the hard way, when I wasted days trying to understand why WebSphere wasn't recognizing changes made to my web.xml file.

  • How to configure OSB Tracing level from Customization File?

    Hi,
    I want to configure the OSB Tracing level from the customization file rather than from the console.
    I check the oracle documentation for OSB tracing and could not find anything related to OSB tracing property that we could configure from OSB workshop.
    Is it possible to do so ?
    Any pointers will be highly helpful.
    Thanks,
    Anugoonj
    Edited by: Anugoonj Ranjan on Jan 20, 2011 1:27 PM

    Customization file is for replacing environment values that differ between domains and NOT for changing Operational Settings. You may use "Configuration" section of OSB Dashboard to effectively change Operations Settings for resources instaed of doing it one-by-one on console -
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15867/configuration.htm#CACGEFAE
    Regards,
    Anuj
    Edited by: Anuj Dwivedi on Jan 20, 2011 6:10 PM

  • OSB 12c Customization Files

    Is there a way we can change the  JCA file properties  like “SchemaName” in DB adapter JCA file  using the Customization file.
    Thanks
    Matt

    I do not think you can change that with customization.

  • [svn:fx-trunk] 12871: More new Spark acc impl files were missing svn: eol-style and svn:mime-type properties.

    Revision: 12871
    Revision: 12871
    Author:   [email protected]
    Date:     2009-12-11 15:53:28 -0800 (Fri, 11 Dec 2009)
    Log Message:
    More new Spark acc impl files were missing svn:eol-style and svn:mime-type properties.
    QE notes: None
    Doc notes: None
    Bugs: None
    Reviewer: None
    Tests run: checkintests
    Is noteworthy for integration: No
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ButtonBarBaseAccImpl.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ListAccImpl.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/TabBarAccImpl.as
    Property Changed:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ButtonBarBaseAccImpl.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ListAccImpl.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/TabBarAccImpl.as

  • OSB customization file

    Hi All,
    Can anybody help,by using customization file I am able to change the target server but In customization file for each business service we have some envValueAssignments
    like Service URI and Service URI Table.
    <cus:envValueAssignments>
    <xt:envValueType>Service URI</xt:envValueType>
    <xt:location>0</xt:location>
    <xt:owner>
    <xt:type>BusinessService</xt:type>
    <xt:path>HelloWorld/BusinessService/DevBS</xt:path>
    </xt:owner>
    <xt:value xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema">http://dev_localhost:8011/helloworldservice/helloworld</xt:value>
    </cus:envValueAssignments>
    <cus:envValueAssignments>
    <xt:envValueType>Service URI Table</xt:envValueType>
    <xt:location xsi:nil="true"/>
    <xt:owner>
    <xt:type>BusinessService</xt:type>
    <xt:path>HelloWorld/BusinessService/DevBS</xt:path>
    </xt:owner>
    <xt:value>
    <tableElement xmlns="http://www.bea.com/wli/sb/transports">
    <URI>http://dev_localhost:8011/helloworldservice/helloworld</URI>
    <weight>0</weight>
    </tableElement>
    </xt:value>
    </cus:envValueAssignments>
    I replaced in both Service URI and Service URI Table it working file.Even if I replaced only Service URI also it is working fine.Please conform it requires in both place or one required.
    Regards
    Mani

    Mani,
    You can use both Service URI and Service URI Table, to update your business service url.
    But when the customization file contains both, the Service URI related settings override the Service URI Table settings. You can test this by just commenting out the service URI section and executing the file.
    It is up to you decide how you would like to maintain your env configurations you would like to use for your business service.
    Use one of the below options:
    1. Use both the service URI and service URI table and keep them in sync in the customization file
    ( Adv - You have the master copy of the customization file, which you can modify later to suit your needs in the future, like adding more urls, weighted urls, etc..
    Disadv - having the same details in multiple places in the file might cause confusion at times.)
    2. Use only one of the above and remove the other to avoid confusion.
    ( Adv - You have the stripped down version of the customization file that has just the stuff you need.
    Disadv - If you need to add additional configuration, then you might have to regenerate the customization file again.)
    Hope this helps.
    Thanks,
    Patrick
    It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts).
    https://forums.oracle.com/forums/ann.jspa?annID=893

  • How to access System properties in xml file

    hi,
    i want to read system properties in my xml file using ${} .
    I tried it but did not find any way.But when i use log4j if i set some variable in
    System properties that properties is read by the log4j.properties .
    I am writing a simple program that read a xml properties file file
    try {
                props   = new Properties();
                fis     = new FileInputStream(xmlFile);
                props.loadFromXML(fis);
    }before reading this file i set some properties and accessing this properties from that xml .but i cant.
    Thanks

    sabre150 wrote:
    fun_with_java wrote:
    can you give some example?Not really - I would have to write the code for you and I'm not getting paid for writing your code.Thanks for your kindness.
    I dont ask you to write the code.Need some help to start it .Actually i dont have knowledge that
    whether xml file automatically read it or i have prase the system property manually. Now i got the way to
    access system property in xml..
    Ok thanks again..
    Thanks & Regards

  • Help creating project specific ALSB Customization file using WLST

    I asked this question in August in another forum and was redirected here, but never followed up. I'm hopeful someone has done this...
    Is it possible to create an ALSB CUstomization file for a single project using WLST?
    If so, does anyone have an example they would be wiling to share. I've been beating my head against the wall for almost 2 days (well, months now...) , and I'm REALLy starting to get a headache from it now....
    We're running WLS 9.2 MP2 and ALSB 2.6 RP1
    Any help is greatly appreciated,
    Brian

    Brian, OSB specific questions are best directed in the SOA Suite forum:
    SOA Suite
    It looks like there is an ALSBConfigurationMBean with a customize method, but I have not worked with it and it does not sound like that will give you precisely what you want:
    http://edocs.bea.com/alsb/docs261/javadoc/com/bea/wli/sb/management/configuration/ALSBConfigurationMBean.html#customize(java.util.List)

Maybe you are looking for

  • F-48 TDS on Base Amount Excluding Service Tax+Edu Cess+H.ecess (194J)

    Hi Expert, We want at the time Advance Payment against PO. thru T.Code F-48, when i go to give the amount after Deduct TDS 10% on Professional System calculate all three Item i.e Service Tax 10%, Educational Cess 2% on Service Tax, and Secondary & Hi

  • Help with site issues in IE 9 and Firefox

    I have a personal website home page that looks fine in IE 8 and below, it also looks fine in the latest version of Chrome.  However, it has issues with IE9 and the last couple versions of Firefox.  In IE9 and Firefox, there are thin black borders aro

  • Varray of Objects: Initializing, Instantiation, Constructors, ORA-06531

         This is supposed to fill a varray with ten objects, calling methods in those objects and populating the objects from queries, then display fields from the objects via methods.  Error message is in comment at bottom.  Any ideas? -- Enable screen

  • Can I Transfer My Harddrive Into Another PB Without Erasing and Installing?

    Hello kind people. I have a new PB 12" on the way and I will be wanting to put my current 120GB in to it. If I remember right, in the old days with Wallstreet and Pismo, I would have to erase and reinstall the system software because the OS didn't li

  • DME File returning junk characters when download to PC

    Hi Experts, I am facing problem while downloading the DME file. My file contains russian characters but downloaded file showing junk characters. I have already set codepage for russia in my profile as 1500. I have also installed russian language in m