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

Similar Messages

  • 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

  • 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

  • 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

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

  • 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();

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

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

  • Modify the contents of xquery resource using customization file

    I have a xquery resource that stores constants that are environment specific.
    Is there a way to use the 'customization file' feature in OSB to replace the contents of the file instead of having separate xquery resources for each environment ?

    You cannot do this using the customization feature..

  • [OSB] Customize proxy with variable string

    Hi all,
    I've got this scenario:
    I need that my proxy service append a enviroment string to the output. I'm thinking to add this enviroment string on customization file. Is possible do this?
    For example i call a webservice that give me a link (ex. http://oracle.org), and i need that the proxy return link concat my string ("http://oracle.org" + mystring)
    Regards

    I got the same error with $accinfo/*:OutputParameters --->> BEA-382107: No value could be bound to variable: accsinf
    *$accinfo goes like this:*
    <get:OutputParameters      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:get="http://xmlns.oracle.com/pcbpel/adapter/db/SMS/GET_ACCOUNT_INFO/">
         <get:RESULTRECORDSET>
         <get:RESULTRECORDSET_Row>
         <get:BRANCH>87400</get:BRANCH>
    the XSLT:
    xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/db/SMS/GET_ACCOUNT_INFO/"
    <!-- Where the variable is defined -->
    <xsl:param name="v_accinfo"/>
    <xsl:template match="/">
    <inp1:something>
    <accounts>
    <!-- Here's how I use the variable: -->
    <xsl:for-each select="$v_accinfo/ns1:OutputParameters/ns1:RESULTRECORDSET/ns1:RESULTRECORDSET_Row">
    <xsl:if test="(ns1:BRANCH = $br) and ((ns1:ACC_NUM = $ac) and (ns1:CURRENCY = $cr))">
    <acc_description1>
    <xsl:value-of select="ns1:TYPE"/>
    </acc_description1>
    </xsl:if>
    </xsl:for-each>
    I tested the XSLT in JDeveloper. I just used the content of the $accinfo and $body from "Invocation Trace" (OSB Console > Proxy Service >Test) and the transformation works Fine. But I have problems when I use it in the Proxy Service's flow in OSB.
    Edited by: 849874 on Apr 5, 2011 6:43 AM

  • Defining polling interval on customization file

    Hello everyone,
    I have a requirement: define a polling interval (in this specific case for a email polling proxy, however it would be useful for a file polling proxy as well) in a customization file.
    It seems a simple task, however i could not find a way to perform...
    I've searched here in the forums and have found nothing (if someone finds a thread about this please provide the link).
    I've googled a bit as well, and the result was the same...
    In this blog post http://wesselj.blogspot.pt/2012/01/oracle-service-bus-good-bad-and-ugly.html we can read:
    "+(...) Customization files. Inflexible, verbous and complex to maintain. Not everything can be customized with the customization files, some like passwords are reasonable, *but things like polling interval for file integration would be nice to be able to change between environments*.+"
    And in this document http://docs.oracle.com/cd/E11036_01/alsb30/pdf/consolehelp.pdf , in the customization topic (page 29-1), there is nothing mentioning polling interval...
    The environment installed is OSB 11gR1.
    Any suggestions on how to perform this task?

    Any ideas?

  • CustomiZation FIle for an XQuery resource

    Hi,
    When I make a customization file for XQuery then using this customization file can I change a particular text(which is environment dependent) in my Xquery, with other value. I know this can be done for MQ Connections etc but I wanted to this with my XQuery file. Please help.
    Rgds,
    Rahul

    I think a custom XPath function using java would be the easiest solution.
    http://download.oracle.com/docs/cd/E21764_01/doc.1111/e15866/custom_xpath.htm
    just write a Java class with a function
    public static String loadKey(String key) [
    ResourceBundle res = ResourceBundle.getBundle("MyResource");
    String value = (String) res.getObject(key);
    return value
    (sorry I don't have curly braces on this keyboard)
    and then you expose it to OSB by providing an XML with a "function" entry for the function (it's all very well explained in the Oracle documentation)

  • How to enable chunked streaming mode using OSB config file

    Hi All,
    Is there way through which we can enable and disable the chunked streaming mode option in Business service (of OSB) through OSB configuration file?? If yes, please let me know.
    Thanks,
    Aditya

    Hi Aditya,
    I don't think it can be done dynamically the way you described... But I believe you can create two business services, one with chunked=on and the other with chunked=off and route to one of them dynamically according to your configuration...
    Cheers,
    Vlad

Maybe you are looking for

  • Using a .iso File for Installing Windows

    Before you get any ideas- I DID purchase Windows legally. The disk wouldn't work/load in my computer for some odd reason, but I wrote a .iso file of it, and that seems to work. I can't find a way to use a .iso in Boot Camp Assistant. I burned a disc

  • Macbook Pro 10.6.8 - why am I kicked off internet (wired and wifi) every 5-10 mins? All was fine before.

    Macbook Pro 10.6.8, 2 Ghz intel core i7 - --- Why am I kicked off internet (wired and wifi) every five-ten minutes? All was working fine last time I was using this same wireless and cable... about two weeks ago. Solution is the restart constantly. Or

  • How to work around 200 device limit in AXL ?

    When you send a SOAP request (SelectCmDevice) to retrieve a list of all phones, it only returns 200 devices max. My question is how do you retrieve more than 200 phones. Is there a way to loop through them. If you send multiple requests, does it know

  • Re-authenticate user/ electronic signature

    how do I check user Credentials? This is what I am trying to do: I am validating user after he enters his credentails. He is allowed to do some tasks. He can then approve/reject a process.  I would like to check if the person who is approving/rejecti

  • Starting functions in BPS_WB

    Hi everybody. I need to run a planning function when I open a layout, and when I change any variable values. I know it's possible in Planning Folders, but I don't know how it can be possible in the Web Interface Builder. I also have tried to export m