Using Property files in Apache Axis

Hi guys...
I have done a lot of search, but i cant figure out where to place the property files in Axis Application..
I deployed my web service application as a JAR file in lib directory of Axis.. everything is working fine.. now i want to add property files and wanna use ResourceBundle..
anyone has any idea where should I place my Property files?
Thanks in advance..

anyone??

Similar Messages

  • How to use property file - sql query define in property file

    Hi All,
    Anybody please tell me how to use property file.
    I have placed sql query in propery file and I have to access this in my file.
    well so far this is my code but don't know how to implement in the following ...
    pstmt = con.prepareStatement("select * from registration where username=?");
    instead of writting the query I want to use the property file.
    so far I have developed the following code...
    FileInputStream fis = new FileInputStream("querysql.property");
    Properties dbProp = new Properties();
    dbProp.load(fis);is the code correct... or is there another way to access property file
    Please help.
    please reply soon....
    Thanks

    Before answering, check if it's already been done here http://www.jguru.com/forums/view.jsp?EID=1304182

  • Unable to find property file in Apache

    Hi,
    I developed an application in JDeveloper and i try to deploy in Apache(Oracle Http) server.I am getting the exception like this
    unable to find the package8_package8ModuleLocal.properties file.
    I placed all the property files in the classes directory of Apache.I include the path of this property file in jserv.properties (file).Still i am getting the same exception.
    Can anybody tell the solution for this.
    Thanks
    Srik

    Hi,
    Thank you both for your help. Installed the plugins and now the proxy is running very nicely. Configuration was really very simple.
    Would like to ask one nore thing. The system i'm configuring now is supposed to cater a very heavy load in terms of connections. We know the application can take it as right now the Weblogic HTTP proxy is what is failing and that's when we decided on Apache. Any recomendations on the Apache side ??
    Thanks once more,
    Anup.

  • Using property files into an EAR Project? How?

    Hi there,
    I'm pretty new to j2ee development, so i hope i'm not asking a silly question.
    So what I have done / wanna do:
    - I created a ejb module project with several ejbs and several java classes in it
    - I created an ear application project to deploy the ejb module project
    - I am succesfully deploying my ear on my j2ee server
    So after all, I want to load different properties of some java classes through properties files (*.properties). How do I do that in this situation? Is there a way to use properties files altough the whole ejb project (containing the properties files) is packed into one file (the ear file)?
    I hope someone can help me an I'm pleased for every message
    Thank you all.
    Regards
    Daniel

    poissble with:
    getResourceAsStream(String)
    Regards

  • Problem accessing Application Ejb Jar files from Apache Axis jars

    I have deployed an EAR application, with a structure as shown below,
    MyApp.ear
    |____ MyApp_Ejb.jar
    |____ axis.war
    |_____ WEB-INF
    |_____ lib (This contains all axis specific jars)
    The application deploys just fine. But when i goto happyaxis.jsp and try to view all the web services that have been deployed. I get an exception "No provider type matches QName '{http://xml.apache.org/axis/wsdd/providers/java}SDL".
    Here SDL is a custom provider that i have written and all the required files for the provider are available in MyApp_Ejb.jar.
    I do not get as to why the axis.jar is not able to find classes in MyApp_Ejb.ear, when both these are in the same ear.
    Now i know i can add a utility jar to a war files classpath by adding a classpath line in the War file MANIFEST.MF. But since MyApp_Ejb.jar is defined as a Web Module this solution too doesnt help.
    Separating the provider related files from MyApp_Ejb.jar is not possible since there is too much dependance of other files within that jar.
    So i am looking for a solution where in i can continue to have MyApp_Ejb.jar as my ejb module as well as the axis related jars can find the required classes within MyApp_Ejb.jar. some way of sharing the ejb jar across to axis jars.
    Thanks in advance.
    Vicky

    I have deployed an EAR application, with a structure as shown below,
    MyApp.ear
    |____ MyApp_Ejb.jar
    |____ axis.war
    |_____ WEB-INF
    |_____ lib (This contains all axis specific jars)
    The application deploys just fine. But when i goto happyaxis.jsp and try to view all the web services that have been deployed. I get an exception "No provider type matches QName '{http://xml.apache.org/axis/wsdd/providers/java}SDL".
    Here SDL is a custom provider that i have written and all the required files for the provider are available in MyApp_Ejb.jar.
    I do not get as to why the axis.jar is not able to find classes in MyApp_Ejb.ear, when both these are in the same ear.
    Now i know i can add a utility jar to a war files classpath by adding a classpath line in the War file MANIFEST.MF. But since MyApp_Ejb.jar is defined as a Web Module this solution too doesnt help.
    Separating the provider related files from MyApp_Ejb.jar is not possible since there is too much dependance of other files within that jar.
    So i am looking for a solution where in i can continue to have MyApp_Ejb.jar as my ejb module as well as the axis related jars can find the required classes within MyApp_Ejb.jar. some way of sharing the ejb jar across to axis jars.
    Thanks in advance.
    Vicky

  • Property file usage help please !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1

    hi there
    i need some help on using property file, please. i have a package that contains many directories and classes. in one the directory, there is a property file: properties. and some of the classes need to access information in the file. how can i use ResourceBundle or Property objects to read the file? this is my guessing :
    //code....................................
    ResourceBundle.getBundle("D:\\tomc\\wowExchangeProject\\soaptest\\src\\com\\wowgao\\uddi\\db\\properties.properties").getString("implementation");
    and:
    //code....................................
    File f=new File( configFile );
    if( f.exists()) {
    Properties props=new Properties();
    props.load( new FileInputStream(f));
    DBClassName = props.getProperty("implementation");
    i must use absolute path for the file. what if i need to distribute the package on other machine that does not have D drive. how can change it so that i can deploy it on any machine? thanks

    hi there
    i need some help on using property file, please. i
    have a package that contains many directories and
    classes. in one the directory, there is a property
    file: properties. and some of the classes need to
    access information in the file. how can i use
    ResourceBundle or Property objects to read the file?
    this is my guessing :
    //code....................................
    ResourceBundle.getBundle("D:\\tomc\\wowExchangeProject\
    soaptest\\src\\com\\wowgao\\uddi\\db\\properties.proper
    ies").getString("implementation");
    and:
    //code....................................
    File f=new File( configFile );
    if( f.exists()) {
    Properties props=new Properties();
    props.load( new FileInputStream(f));
    DBClassName =
    ame = props.getProperty("implementation");
    i must use absolute path for the file. what if i need
    to distribute the package on other machine that does
    not have D drive. how can change it so that i can
    deploy it on any machine? thanksHi!
    Let�s say you have the following structure:
    - com/props/props.properties
    You can use any class inside the classloader that loaded this package to do the following:
    InputStrean in = <classname>.class.getResourceAsStream("/com/props/props.properties");
    Properties props = new Properties();
    props.load(in);
    Hope this can help you. Any doubts just ask!
    MSB

  • Calling getResourceAsStream to locate property files

    I'm attempting to create a link between Oracle and an external application using an API provided by the vendor.
    This APi has a number of settings that I'd rather keep as properties so I don't have to compile custom code for dev / test / prod.
    I'm attempting to use the getResourceAsStream function locate the prop file. It works fine as a stand alone - but when I run it out of OJVM - can't locate the prop file.
    Load Java shows the prop file in my user_objects list - I just can't seem to get OJVM to let my code know where it is.
    Here's part of the constructor of the class doing the heavy lifting:
    Properties settings = new Properties(default);
    try {
    InputStream sf = this.getClass().getResourceAsStream("ll_util.properties");
    settings.load(sf);
    Any help appreciated!

    Hi Guys,
    I am trying to connect to mysql/oracle database using property file "jdbc.properties" to provide information like driver, url, user name, password etc
    When i put this file within the same package ( com.db in this case ) : I can successfully connect to the database ,
    But when I put this file somewhere else say C:\resources\jdbc.properties I could not locate the property file
    I am using following line of code
    When property file withing the same directory as Class
    InputStream in = QueryTest.class.getResourceAsStream("jdbc.properties");
    Works
    So what's your problem?
    But
    When property file is at C:/resources/ folder
    Why would you want to put it here?
    InputStream in = QueryTest.class.getResourceAsStream(PATH);
    getting null value in InputStream object 'in'
    I think i am not correctly putting the PATH. Can anybody help me with the Java way of putting the PATH to locate
    resource file at C:/resources/ folder
    Thanks in Advance :)
    You haven't mentioned whether you are using named packages or the default, unnamed one.
    The getClass().getResourceAsStream(propfile) method of java searches all files in the current directory as well as the jar file in which the class file resides.Presumable C:\resources doesn't fit in the first category (it obviously doen't fit in the second).
    In any event, since properties files usually contain the initial configurations for an application, they are essential to the app and should be loaded in the jar, along with the class files, unless there are other compelling reasons.

  • How to use h:message to display HTML code in message from property file

    I am using <h:message for="somecomponentid"/> to display the error message for a validator attached to a component and the error message which resides in message property file contains HTML elements like <br> and
    The HTML doesnt get displayed properly and the code <br> etc is displayed instead.
    Is there a method to get h:message to display HTML elements correcly.
    [I know there is an h:outputFormat which has an escape parameter to allow HTML to be rendered correcly but it has no for parameter to specify the component id whose validation error message I want to display]
    eg.
    <h:message for="somecomponentid"/>
    to display from errormessages.properties
    com.somecompany.thevalidationerrormessage=You have an error<br> Please click here to return to homepage

    Hello Ivan,
    Fortunately I have just recently found a solution to my problem by using code by a developer who had already had this problem in the past and who provided a patch on the Apache MyFaces jira site.
    See following link for the solution I downloaded and then used :
    http://issues.apache.org/jira/browse/MYFACES-155
    I believe they are intending to eventually release this in a future release of MyFaces extensions on this site.
    I used the escape attribute on the tag to allow 'escaped' html code in error messages to be used.
    Hope it solves your problem too..
    Suhel

  • Validation Using a MessageResources Class Instead of a Property File

    We have a WL 8.1 portal application that performs XML-based validation as described here:
    http://e-docs.bea.com/workshop/docs81/doc/en/core/index.html
    It works fine. Each jpf specifies the validation error messages like this:
    * @jpf:message-resources resources="Validation.Validations"
    This pulls the error messages from the Validations.properties file, as expected.
    We'd like to move the validation error messages out of the property file and into the WL content store.
    Has anyone successfully done something similar with a portal application?
    I've done some research and there are a number of examples that show how to do this with a Struts application. For example, the DBMessageResources looks like a step in the right direction.
    http://sourceforge.net/project/shownotes.php?release_id=320056&group_id=49385
    Modifying those files to produce ContentMessageResourcesFactory and ContentMessageResources gives us access the WL content store.
    The piece that I'm missing is this:
    How can we get the XML-based validation to get its messages using ContentMessageResources rather than the property files specified by the @jpf:message-resources annotation?
    According to the documentation (and just to show that I made an attempt to read the fine manual), both the @jpf:message-resources annotation and the netui-data:declareBundle tag can be used to reference property files. I'm looking for instructions on getting XML-based validation to use a MessageResources class, instead.

    Problem solved. Here's the solution in case someone else has a similar question in the future.
    I added the following to strutsValidator-merge-config.xml and confirmed that constructors for both ContentMessageResources and ContentMessageResourcesFactory are called when the application is accessed for the first time.
    <message-resources
    factory="com.carlson.lss.common.util.ContentMessageResourcesFactory"
    key="org.apache.struts.action.MESSAGE"
    parameter="300"/>
    Using a key of "org.apache.struts.action.MESSAGE" is critical to making this work. I found that tidbit here:
    http://forums.bea.com/bea/click.jspa?searchID=600352721&messageID=600044412
    I removed the @jpf:message-resources annotation but left the following annotation in the JPF:
    * @jpf:controller nested="true" struts-merge="/WEB-INF/strutsValidator-merge-config.xml"
    Triggering a validation error results in calls to the getMessage method in the ContentMessageResources class.
    W^5 (which was what we wanted)

  • How to use an equal sign as a part of the value in a property file

    say I have this line in a properties file:
    args = -Xms512m -Xmx512m -XX:MaxPermSize=256m
    obviously I can't use the (=) as is. What should I do to make it work?
    I tried to use \= and \:, but it doesn't work as well.
    thanks.

    A property file contains "key" lines or "key=value" lines the '=' character loses its special meaning after a key is read so you can use '=' characters in the 'value' part of a property.
    kind regards,
    Jos

  • Problem calling BPEL process using apache axis client

    We have a BPEL process which we are trying to call from apache axis client. The problem is when we execute "call.invoke(new Object[] { xmlStr }) ", it adds an "argo" element to the message, and the xpath is unable to evaluate the message.
    We are able to call the process fron .Net and VB 6 using soap toolkit without any problem, so it seems odd we are not able to do so from apache axis.
    Here is how it should be received by the BPEL process:
    <inputVariable>
         <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
              <Request xmlns="http://e1.oracle.com/IAM">
                   <MessageHeader>
                        <Operation>update</Operation>
                   </MessageHeader>
                   <MessageDetail xmlns="">
                        <szSecondaryUoM_UOM2/>
                   </MessageDetail>
              </Request>
         </part>
    </inputVariable>
    But this is the way it is received having been sent from apache axis (notice the arg0 element) :
    <inputVariable>
         <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
              <arg0 xsi:type="xsd:string" xmlns="http://xmlns.oracle.com/InventoryAdjustment" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                   <Request xmlns="http://e1.oracle.com/IAM">
                        <MessageHeader>
                             <Operation>update</Operation>
                        </MessageHeader>
                        <MessageDetail xmlns="">
                             <szSecondaryUoM_UOM2/>
                        </MessageDetail>
                   </Request>
              </arg0>
         </part>
    </inputVariable>
    Any insight as to how to approach this would be appreciated. The WSDL and java code follow.
    WSDL:
    <?xml version="1.0" encoding="UTF8" ?>
    <definitions name="InventoryAdjustment" targetNamespace="http://xmlns.oracle.com/InventoryAdjustment" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://xmlns.oracle.com/InventoryAdjustment" xmlns:ns1="http://e1.oracle.com/IAM" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partnerlink/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://schemas.oracle.com/bpel/extension" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:client="http://xmlns.oracle.com/InventoryAdjustment">
    <types>
    <schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/InventoryAdjustment" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://e1.oracle.com/IAM" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partnerlink/" xmlns:client="http://xmlns.oracle.com/InventoryAdjustment" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://schemas.oracle.com/bpel/extension">
    <element name="InventoryAdjustmentProcessRequest">
    <complexType>
    <sequence>
    <element name="input" type="string" />
    </sequence>
    </complexType>
    </element>
    <element name="InventoryAdjustmentProcessResponse">
    <complexType>
    <sequence>
    <element name="result" type="string" />
    </sequence>
    </complexType>
    </element>
    </schema>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://e1.oracle.com/IAM" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partnerlink/" xmlns:client="http://xmlns.oracle.com/InventoryAdjustment" xmlns:ns2="http://schemas.oracle.com/bpel/extension">
    <xsd:import namespace="http://e1.oracle.com/IAM" schemaLocation="http://tigger:7777/orabpel/xmllib/InventoryAdjustmentRequest.xsd" />
    </xsd:schema>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://e1.oracle.com/IAM" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partnerlink/" xmlns:client="http://xmlns.oracle.com/InventoryAdjustment" xmlns:ns2="http://schemas.oracle.com/bpel/extension">
    <xsd:import namespace="http://e1.oracle.com/IAM" schemaLocation="http://tigger:7777/orabpel/xmllib/InventoryAdjustmentResponse.xsd" />
    </xsd:schema>
    </types>
    <message name="InventoryAdjustmentRequestMessage">
    <part name="payload" element="ns1:Request" />
    </message>
    <message name="InventoryAdjustmentResponseMessage">
    <part name="payload" element="ns1:Response" />
    </message>
    <portType name="InventoryAdjustment">
    <operation name="process">
    <input message="tns:InventoryAdjustmentRequestMessage" />
    <output message="tns:InventoryAdjustmentResponseMessage" />
    </operation>
    </portType>
    <binding name="InventoryAdjustmentBinding" type="tns:InventoryAdjustment">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    <operation name="process">
    <soap:operation style="document" soapAction="process" />
    <input>
    <soap:body use="literal" />
    </input>
    <output>
    <soap:body use="literal" />
    </output>
    </operation>
    </binding>
    <service name="InventoryAdjustment">
    <port name="InventoryAdjustmentPort" binding="tns:InventoryAdjustmentBinding">
    <soap:address location="http://tigger:7777/orabpel/default/InventoryAdjustment/1.0" />
    </port>
    </service>
    <plnk:partnerLinkType name="InventoryAdjustment">
    <plnk:role name="InventoryAdjustmentProvider">
    <plnk:portType name="tns:InventoryAdjustment" />
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    java code:
    import javax.xml.namespace.QName;
    import javax.xml.rpc.JAXRPCException;
    import javax.xml.rpc.ParameterMode;
    import javax.xml.rpc.Service;
    import javax.xml.rpc.ServiceException;
    import javax.xml.rpc.ServiceFactory;
    import javax.xml.rpc.encoding.XMLType;
    import javax.xml.rpc.soap.SOAPFaultException;
    import org.apache.axis.client.Call;
    public class PostMessageClient {
         private static QName SERVICE_NAME;
         private static QName PORT_TYPE;
         private static QName OPERATION_NAME;
         private static String SOAP_ACTION;
         private static String STYLE;
         private static String THIS_NAMESPACE = "http://xmlns.oracle.com/InventoryAdjustment";
         static {
              SERVICE_NAME = new QName(THIS_NAMESPACE, "InventoryAdjustment");
              PORT_TYPE = new QName(THIS_NAMESPACE, "InventoryAdjustmentPort");
              OPERATION_NAME = new QName(THIS_NAMESPACE, "process");
              SOAP_ACTION = "process";
              STYLE = "message";
         public static void main(String[] args) {
                   try {
                        ServiceFactory serviceFactory = ServiceFactory.newInstance();
                        Service service = serviceFactory.createService(SERVICE_NAME);
                        Call call = (Call) service.createCall(PORT_TYPE);
                        call
                                  .setTargetEndpointAddress("http://tigger:7777/orabpel/default/InventoryAdjustment/1.0");
                        call.setProperty(Call.SOAPACTION_USE_PROPERTY, Boolean.TRUE);
                        call.setProperty(Call.SOAPACTION_URI_PROPERTY, SOAP_ACTION);
                        call.setProperty(Call.OPERATION_STYLE_PROPERTY, STYLE);
                        call.setOperationName(OPERATION_NAME);
                        String xmlStr = "<Request xmlns=\"http://e1.oracle.com/IAM\"><MessageHeader><Operation>update</Operation></MessageHeader><MessageDetail xmlns=\"\"><szSecondaryUoM_UOM2/></MessageDetail></Request>";
                        System.out.println("PostMessageClient - calling");
                        String ret = (String) call.invoke(new Object[] { xmlStr });
                        System.out.println("ret = " + ret);
                   } catch (SOAPFaultException e) {
                        System.err.println("Generated fault: ");
                        System.out.println(" Fault Code = " + e.getFaultCode());
                        System.out.println(" Fault String = " + e.getFaultString());
                   } catch (JAXRPCException e) {
                        System.err.println("JAXRPC Exception: " + e.getMessage());
                   } catch (ServiceException e) {
                        System.err.println("Service Exception: " + e.getMessage());
                   } catch (Exception e) {
                        System.err.println("Service Exception: " + e.getMessage());
    }

    Just a tip: Use a tool as SoapUI to findout the correct SOAP request and related attributes for the SOAP request.
    Marc
    http://orasoa.blogspot.com

  • [svn:bz-trunk] 17010: Bug: Watson #2652870 - use a property file to drive the custom configuration tokens as opposed to setting it in the command line

    Revision: 17010
    Revision: 17010
    Author:   [email protected]
    Date:     2010-07-22 02:52:41 -0700 (Thu, 22 Jul 2010)
    Log Message:
    Bug: Watson #2652870 - use a property file to drive the custom configuration tokens as opposed to setting it in the command line
    QA: Yes
    Doc: Yes - in custom tokens section, talk about the new token.file option
    Checkintests: Pass
    Details: Changed TokenReplacer to look for a token.file JVM option. If it's specified (eg. -Dtoken.file=/User/matamel/Desktop/token.properties), then TokenReplacer looks for a properties file where token name and values are specified. This allows someone to specify a file for custom tokens. Custom tokens can still be specified as straight JVM option and in case where a token is defined both as a JVM option and in a token properties file, JVM option takes precedence.
    Modified Paths:
        blazeds/trunk/modules/common/src/flex/messaging/config/TokenReplacer.java

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

  • How to know if a property file that I use in my program is updated

    Hi everyone,
    I was wondering how my program can know as soon as the property file/any file that I'm intersted in, has been updated at runtime. Something like JBoss descriptor etc, as soon as we make a change the app server knows of that change ?
    I need this technique for updateing my static variables in memory as soon as there was a manual change to any properties at runtime.
    Any help will be appreciated.
    Thanks,
    - Liju P.Oommen.

    One way to do it would be to wrap the process used to update the property file itself. For example if you provided a GUI that people used to change the properties and this GUI also notified your program when the properties changed you could maintain consistency.

  • Where to put property files used by XSLT extensions?

    Still fighting with Java XSLT extensions. I have narrowed the
    problem down: my XSLT extension cannot find its property file,
    which I use to store JDBC connect strings etc.
    What is the proper directory to put this file so the XSLT
    extension class can find it? I am using Oracle HTTP Server with
    XDK 9.0.

    Thanks for the answer, Steve!
    Depends on what call you're using in your extension function to
    read your properties.Maybe I tried a too simplistic approach. I'm just using this:
    Properties props = new Properties();
    try {
    props.load(new FileInputStream("/foo.properties"));
    etc.
    This (with the slash) works if the properties file is in the root
    directory of the filesystem, but it's a kludge.
    If you read your properties as a resource using
    getResourceAsStream(), then where the classloader expects to
    find your file depends on the resource name that you specify.So maybe I should use getResourceAsStream() then? What if I put
    the properties file inside the JAR with the extension classes?
    Or is there any way to reference the web root?
    --Jere

  • EAS7.1 aso dimension property change using rule file.

    I have a outline having 1 dimension "Terms" as a account type and data storage as "data store".Now i am trying to load members using rule file.
    Outline: ABC (Active Alias Table: Default)
    Scenario Stored <2>
    Currency Stored
    Terms Accounts
    Now i have ceated a rule file using source file like
    "Terms","T1","Terms Hierarchies","~O","",""
    "T1","TOT"," ","~O","",""
    "T1","OTH","","~O","",""
    "OTH","Loaded Days","","~","",""
    "OTH","Loaded FX","","~","","Loaded.FX",""
    "TOT","R99"," ","~ "," "," "
    "R99","R90","","+ "," "," "
    "R90","R901","","+ "," "," "
    i am using parent child relationship and i hav cheched the option s
    like "allow property changes" and allow formula changes....in dimension build settings..the rule shows valid ..but during dimension member load it is giving me the folowing error
    "\\Outline verification errors:
    \\Member Terms has no value source. Aggregate storage outlines require non level-0 members in accounts dimension to be either non-stored members or have internal/external formula.
    \\Member [Terms] has an unspecified error.
    but if i am removing "~O" property with "O" only in data source file then the dimension member load is suuccessful...
    wat i feel is anyhow the "dimension property change is not being set"...
    can any one please tellme wat option i m missig to check in rule file..??
    your opinion and suggestion will be highly appreciated.....

    The documentation explains the difference with examples, now I was going to post the link but I might as well post the info from the link.
    Joining Fields
    You can join multiple fields into one field. The new field is given the name of the first field in the join. For example, if a data source has separate fields for product number (100) and product family (-10), you must join the fields (100-10) before loading them into the Sample.Basic database.
    Creating a Field by Joining Fields
    You can join fields by placing the joined fields into a new field. This procedure leaves the original fields intact. Creating a field is useful if you need to concatenate fields of the data source to create a member.
    For example, if a data source has separate fields for product number (100) and product family (-10), you must join the fields (100-10) before you load them into the Sample.Basic database. If, however, you want to preserve the two existing fields in the data source, you can create a field (100-10) using a join. The data source now includes all three fields (100, -10, and 100-10).
    For other rule options read - http://download.oracle.com/docs/cd/E17236_01/epm.1112/esb_dbag/ddlfield.html
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for