Using only part of a variable value

I have a variable in my Flash that relates to a date. The
variable values are always in the form of mmyy. Therefore a value
of 0407 refers to April 2007, a value of 0505 refers to May 2005,
and so on.
I'm trying to figure out how to take the variable value and
use only the first two digits to create a new variable with the
value of the corresponding month.
So for example, say the original variable is:
issueDate = 0407
I would like to find a way to have actionscript take the
first two digits in the value (04) and create a new variable
(issueMonth) with the value of the corresponding month (April). So
the final result would be:
issueMonth = "April"
That way, if the value of the issueDate variable was 0405,
0410, or 0420, the value of the new issueMonth variable would
always just be April.
The whole point of this is so that I can take that original
variable and create dynamic text like this:
confirmation.text = "Thank you for reading our" + issueMonth +
"issue.";
Any help would really be appreciated.

If it's a string, then first you should look at the String
class in Help.
There you'll find that the slice method should do just what
you need:
var p = "0406";
trace(p.slice(0,2));
04
trace(p.slice(2,4));
06
You can then use parseInt to turn those into numbers. And use
the month
number as an index into a months array:
var p = "0406";
var mos =
["January","February","March","April","May","June","July","August","September","October", "November","December"];
var monthIndex = parseInt(p.slice(0,2)) - 1;
trace(mos[monthIndex]);
April
Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/

Similar Messages

  • Using only part of a song in iMovie?

    I've been using iMovie for a while and it's great but one thing I haven't been able to figure out yet is an easy way to use just a portion of a song.
    I want to use about six or seven different songs in my iMovie project, but only use certain parts of those songs (a 20 second portion in the middle of the song for example). I don't see any way to "trim" audio like you can with video or to specify to iMovie "only play from 1:20 to 1:50 in this audio track".
    What I have been doing is cutting the portion of the song in QuickTime Player 7 and exporting as a new MP3, but there's gotta be an easier way than that I hope?

    Good Tutorial for how Audio works for iMovie 08 is [here.|http://www.apple.com/findouthow/movies/imovie08.html#audioclips]
    The same principle applies for iMovie 11.

  • Application inside an application and using URL parameter to pass variable  values

    hello
    My requirement is to create a design studio dashboard that will have 2 applications and I should be able to pass variable values from application 1 to application 2. All this should happen in 1 dashboard application.  I have tried using open document functionality
    Application1.openNewWindow(URL link to application 2) . It doesn't meet my requirement as I am required to login to the other application in a new window.
    Is it possible to add 2 applications in one dashboard.
    thanks,
    Bhat

    Hi Bhat,
    I don't know if it is possible to open it in the same Page. But you can try using the Opendoc Parameter which allows you to enable you to pass the credentials you have used in the current Dashboard.
    A useful link,
    https://help.sap.com/businessobject/product_guides/boexir4/en/xi4_opendocument_en.pdf
    Regards,
    Fazith Ali Z

  • Using only part of an external hard drive from Time Machine?

    Hi. I have a Western Digital external hard drive that I currently use as back-up for some PC files. Can I partition that external hard drive and use part of it for Time Machine? Apple seems to recommend that the external hard drive be used 100% for Time Machine, but perhaps others have successfully done this? If it is risky, I'll just get another external HD, but I thought I'd first check if I could use the one HD for both PC and Mac. Thanks!

    yes, you can. there is certainly no requirement that the whole drive be dedicated to TM. what IS advisable however is to dedicate the whole partition to TM. You can keep other stuff on a TM partition but I wouldn't recommend it.
    However, keep in mid that the whole drive needs to have correct partition scheme (GUID for intel macs and APM for PPC mac). Your drive is almost certainly partitioned with MBR partition scheme. If that's the case it will have to be completely reformatted before you can use it for TM. you can reformat it and make two partitions. one formatted mac os extended to be used for TM and the other formatted FAT so that you can use it both on a MAC and a PC.
    P.S. Keep in mid that the partition formatted FAT will not be backed up by TM.
    Message was edited by: V.K.

  • Is there anyway to take a song and use only part of it?

    I need to use the intro and solos from a few songs is there anyway to do that?

    If you right click the song in iTunes and select 'Get Info' then click the 'Options' tab, here you can type in what point you want the song to start or finish or both if you wish to get a solo for instance in the middle of a song. If you then load it onto your iPod or play it with itunes it will just play the bit of the song you selected (although the whole file will still be there). Unfortunately this does not actually cut the track it just remembers where you want it to start and stop.
    hope this helps.
    matt

  • Problem to transfer Variable value to Dashboard A to Dashboard B

    Hi,buddies:
         I have a scenario that I have to jump from Total Dashboard(we call it A) to Detail Dashboard(we call it B),I work with Xcelsius directly connect to BW through SAP NetWeaver BW connection ,I can transfer Variable values to B through URL with command like this:
         http://hqbd6.sinopec.com:50000/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?DASHBOARD=R2JN_DASHTESTB
    &BI_COMMAND_1-BI_COMMAND_TYPE=SET_VARIABLES_STATE
    &BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE=G1CALMONTH_DZ_MIS
    &BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING
    &BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING=2011.07
    But at this condition,The variables of Dashboard B are not bound to any cell because they will be set at run time with values passed in the URL.
    My question is can I get the Variable value from the URL in the Xcelsius Designer and put it into a specified cell and link this cell with the query,so that even jump to Dashboard B I can still change the variable values.
    Best Regards
    Martin Xie
    Edited by: Martin Xie Ai Hua on Mar 9, 2012 7:48 AM

    Let me explain the issue in detail.
    In Query Designer, both the year and  month variables are defined by user exit function to read current year and month and can be modified  during the query runtime.
    In WAD, Query1 is  used  to be a table with a table interface to hyperlink a chart which is defined by Query2 with the same variable value of Query1.
    During the runtime of template, if I change the variable value of Query1 , I want the variable of Query2 to be changed automatically with the same new value.
    So in the table interface of Query1 , I write the ABAP code in "SE24" and related source code to the variable is following:
    concatenate
    'function fire_urlJGSP_Col(filter) {'
    Cl_rsr_www_renderer=>c_lf
    'chart_url="' url '" + "&CMD=LDOC'
    '&TEMPLATE_ID=GCCHART_9' "WEB ID of the work book
    '&PAGEID=Graphics'       "Name of the view
    '&CMD=PROCESS_VARIABLES&SUBCMD=VAR_SUBMIT&VAR_NAME=Z2MYEAR&VAR_VALUE_EXT=" + filter'
    Cl_rsr_www_renderer=>c_lf
    'openWindow(chart_url,"chart_window","dependent=yes","600",'
    '"450","true")'
    Cl_rsr_www_renderer=>c_lf
    into l_coding.
    In this way , I can only transfer the year variable value from Query1 to Query2 and not two variables .
    So , how  shall I do to transer the two variable value in the same?

  • I am not getting User Environment Variable Value

    Hi Team,
    I have been Trying to recover variables values using an anonym procedure from Windows XP SP3
    I have already executed following procedure.
    BEGIN
    DECLARE
    gf_filelog UTL_FILE.file_type;
    v_file_log VARCHAR2 (1024) := ' ';
    gv_path_log VARCHAR2 (1024) := ' ';
    gv_path_log2 VARCHAR2 (1024) := ' ';
    gv_file_log VARCHAR2 (1024) := ' ';
    BEGIN
    DBMS_OUTPUT.put_line ( 'obteniendo valores of vars: '
    || gv_path_log
    || ' '
    || gv_file_log
    DBMS_SYSTEM.get_env ('ORACLE_HOME', gv_path_log);
    DBMS_SYSTEM.get_env ('PATH_MODULO', gv_path_log2);
    DBMS_SYSTEM.get_env ('FILELOG', v_file_log);
    DBMS_OUTPUT.put_line ( 'valores vars ORACLE_HOME: '
    || gv_path_log
    || 'PATH_MODULO:'
    || gv_path_log2
                   || ' FILELOG:'
                   || v_file_log
    gv_file_log :=
    v_file_log || TO_CHAR (SYSDATE, 'yyyymmddHH24MISS')
    || '.log';
    DBMS_OUTPUT.put_line ( 'Nombre de Archivo creado'
    || gv_path_log
    || ' '
    || gv_file_log
    gf_filelog := UTL_FILE.fopen (gv_path_log, gv_file_log, 'w');
    DBMS_OUTPUT.put_line ('Archivo creado' || gv_path_log || ' '
    || gv_file_log
    UTL_FILE.put_line (gf_filelog,
    || TO_CHAR (SYSDATE, 'HH24:MI:SSSSS')
    || ']--> '
    || 'Prueba de escritura'
    || gv_path_log
    || ' '
    || v_file_log
    UTL_FILE.fflush (gf_filelog);
    UTL_FILE.fclose (gf_filelog);
    EXCEPTION
    WHEN OTHERS
    THEN
    DBMS_OUTPUT.put_line ( '[reporta_log]Error en :'
    || SQLCODE
    || ' - '
    || SQLERRM
    raise_application_error (-20000,
    '[reporta_log]Error en :'
    || SQLCODE
    || ' - '
    || SQLERRM
    END;
    END;
    I show you data result after procedure was excecuted.
    obteniendo valores of vars:
    valores vars ORACLE_HOME: E:\oracle\product\10.2.0\db_1PATH_MODULO: FILELOG:
    Nombre de Archivo creadoE:\oracle\product\10.2.0\db_1 20111122171625.log
    [reporta_log]Error en :-29280 - ORA-29280: invalid directory path
    BEGIN
    ERROR at line 1:
    ORA-20000: [reporta_log]Error en :-29280 - ORA-29280: invalid directory path
    ORA-06512: at line 55
    I see that only ORACLE_HOME variable value was got, question is why, of course, variable values are already defined as user variables.
    Variables PATH_MODULO and FILELOG was defined using windows maintenance variable method, that is :
    1.- settings
    2.- system
    3.- advanced options
    4.- environment variables
    Here my oracle version
    SQL> select version from v$instance;
    VERSION
    10.2.0.1.0
    SQL>
    Is this an Oracle Issue or variables would be defined in another way?
    ORACLE_HOME VARIABLE was created when oracle engine was installed.
    I have got same result after computer was restart.
    I appreciate wathever clue.

    Ok, that is , I only can read environment variables values, but not variables values at user profile. It happends in unix environment too. So I tried to use another instruction sequence in order to read user variables values.
    Regards

  • How to transfer variable value from one query to another query?

    I create two queries which contain the same variable "Year" and "Month".
    In the wad,Query1 is used to be a table and Query2 is used to show the chart in the condition with the same variable value of Query1
    So I want to transfer the variable  value from query1 to query2.
    Can anyone help me ?

    Let me explain the issue in detail.
    In Query Designer, both the year and  month variables are defined by user exit function to read current year and month and can be modified  during the query runtime.
    In WAD, Query1 is  used  to be a table with a table interface to hyperlink a chart which is defined by Query2 with the same variable value of Query1.
    During the runtime of template, if I change the variable value of Query1 , I want the variable of Query2 to be changed automatically with the same new value.
    So in the table interface of Query1 , I write the ABAP code in "SE24" and related source code to the variable is following:
    concatenate
    'function fire_urlJGSP_Col(filter) {'
    Cl_rsr_www_renderer=>c_lf
    'chart_url="' url '" + "&CMD=LDOC'
    '&TEMPLATE_ID=GCCHART_9' "WEB ID of the work book
    '&PAGEID=Graphics'       "Name of the view
    '&CMD=PROCESS_VARIABLES&SUBCMD=VAR_SUBMIT&VAR_NAME=Z2MYEAR&VAR_VALUE_EXT=" + filter'
    Cl_rsr_www_renderer=>c_lf
    'openWindow(chart_url,"chart_window","dependent=yes","600",'
    '"450","true")'
    Cl_rsr_www_renderer=>c_lf
    into l_coding.
    In this way , I can only transfer the year variable value from Query1 to Query2 and not two variables .
    So , how  shall I do to transer the two variable value in the same?

  • Load Plans Don't Honor Default Variable Values

    The following code uses Package defaults for Global Variable Values. When run as the first step in a Package or as the Scenario of a Package, it works.
    When run as the first step in Load Plan the code fails. Load Plans apparently don't honor Variabel default values.
    import socket
    outsocket = socket.socket(socket.AF_INET,socket.SOCK_DGRAM)
    ContextName = '<%=snpRef.getSession("CONTEXT_NAME")%>'
    if not ContextName: ContextName = 'No Context'
    SessionName = '<%=snpRef.getSession("SESS_NAME")%>'
    if not SessionName: SessionName = 'No Session'
    Message = '<%=snpRef.getOption("Message")%>'
    if not Message: Message = 'No Message'
    outmessage = ' '.join([
         '#PLATFORM'
        ,ContextName
        ,SessionName
        ,Message
    ListenPort = #LISTEN_PORT
    if not ListenPort: raise RuntimeError, 'no listen port'
    ListenHost = '#LISTEN_HOST'
    if not ListenHost: raise RuntimeError, 'no listen host'
    outsocket.sendto(outmessage,(ListenHost,ListenPort))
    outsocket.close()
    [code]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    I know the documentation says Load Plans don't honor Package defaults, but still. . .

  • Read variable value knowing only name

    Is there a way to read a variable value from only knowing the label name? I have Labview 11 and am reading a text file with a list of variable labels and trying to read the value without having to create a case structure of hundreds of variables.
    Solved!
    Go to Solution.

    My first answer was going to be "No", but then I started to think about it.  I'm assuming that the Variables are controls or indicators that are part of the VI or Project of interest.  You could do the following (but it could get messy) --
    Use the AllVIs property of the current Application to get an array of all VI names in memory.
    For each VI name, get a VI Reference, use that to get a Front Panel Reference (property), use that to get Controls[] (property).
    For each Control, get its Label (property).  At this point, I think I'd make two arrays, one of the Control References, the other of the Labels.
    Once your arrays are built, you can use the Array functions to find the index of the variable you want in the Labels array, and use that index to pull the Value out using the appropriate indexed Control Reference.  Note that this doesn't tell you the "Type" of the variable -- this will be left as an Exercise to the Reader.
    Let me know if this works, and is worth the effort.
    BS

  • How to use bind variable value of one VO as initial value for other VO row?

    JDeveloper 10.1.3.3, ADF Faces, ADF BC
    Hi,
    I have two View Objects: one read only with several bound variables and another editable entity based. Correspondingly there are two ADF Faces pages: first contains search form based on the read-only VO and second create form based on the editable VO. The search form has several hidden fields for some of bound variables because they aren't edited directly by user. These fields are updated with PPR when user selects other search criteria from LOV.
    There is a command button in the first page that navigates to the second form. Is there any way to transfer values of bound variables from the first VO to the second VO as initial values of the new row?
    I tried to set custom controller for the second page and retrieve search criteria values from request parameter map but values from hidden fields are missing. I think because that these fields are updated by PPR. Of course I can add custom action method to the navigation button and in the method put these values to request parameter map but I hope there is better solution.
    Thanks,
    Marius

    To summarize, given a bind variable value for one VO, on creating a row in a second VO, for 1 of the attributes of the second VO, you want to use the first VO's bind variable value. Correct?
    A potential solution ADF BC driven:
    1) Ensure you have an AppModuleImpl for your AM
    2) Ensure you have a ViewImpl for your 1st VO (where the bind variable will exist) - lets refer to that VO as "Alpha"
    3) Ensure you have a ViewRowImpl for your 2nd VO (the one you want to default the value in) - lets refer to that VO as "Beta"
    4) For your first VO "Alpha" create the bind variable (say pValue)
    5) In your second VO "Beta" ViewRomImpl add following code:
    @Override
    protected void create(AttributeList attributeList) {
      super.create(attributeList);
      AppModuleImpl am = (AppModuleImpl)this.getApplicationModule();
      String someValue = am.getAlphaView1().getpValue();
      setSecondVOAttr(someValue); // change this code to whatever your setter is for the field you want to initialize.
    }Hope this helps. Let us know how you go.
    Regards,
    CM.

  • Unable to display a variable value in xml through xsl using coldfusion

    Hi ColdFusion Heroes ,
    Is their any one to help me in this issue . I am new to cold
    fusion , XML and XSL .
    Detail Explaination :
    develoment_files.cfm is a .cfm page , which includes an xml
    page .
    development_files_dropdown.xsl is a xsl page .
    develoment_files.cfm : Code is as follows .
    <CFDIRECTORY ACTION="LIST" DIRECTORY="#somepath#"
    NAME="DirContents" FILTER="p*">
    <CFQUERY DBTYPE="query" NAME="Files">
    SELECT *
    FROM DirContents
    WHERE Type = 'File'
    </CFQUERY>
    <CFOUTPUT><?xml version='1.0' encoding='UTF-8'?>
    <?xml-stylesheet type="text/xsl"
    href="../XSL/development_files_dropdown.xsl"?>
    <Test xmlns:xsi='
    http://www.w3.org/2001/XMLSchema-instance'>
    <CFLOOP QUERY="Files">
    <Directory>
    <DisplayName>#Name#</DisplayName>
    <FullPath>#Name#</FullPath>
    </Directory>
    </cfloop>
    </Test></CFOUTPUT>
    This file generates a query resulting files starting with p*
    and then it should be a file and manipulates in xml.
    development_files_dropdown.xsl pages is as follows.
    <?xml version='1.0'?>
    <xsl:stylesheet version="1.0" xmlns:xsl="
    http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="html" indent="yes"/>
    <xsl:preserve-space elements="*"/>
    <xsl:template match="/">
    <xsl:apply-templates/>
    </xsl:template>
    <xsl:template match="Test">
    <B>Script Name: </B>
    <select name="T1_Dev_Script" CLASS="DevInput">
    <xsl:for-each select="Directory">
    <option>
    <xsl:attribute name="value">
    <xsl:value-of select="FullPath/text()"/>
    </xsl:attribute>
    <xsl:value-of select="DisplayName/text()"/>
    </option>
    </xsl:for-each>
    </select>
    </xsl:template>
    </xsl:stylesheet>
    This is only for the purpose of display .
    Now i want to get one particular file named "pfile" { Code is
    written in development_files.cfm page and kept it in a variable } I
    want to display it in #Name# filed. how can i do that ? I am
    getting XML Parsing error from javascript .
    Could any one look into this .
    Thanks & Regards,
    Nataraj G

    The first part is right -
    1) drag a text element onto the page, at a location in which you want the variable value to be displayed
    2) On the left hand bottom page - go to the web item properties for the text element
    3) scroll down to the specific properties for the item - in that uncheck the first two check boxes - display general text elements & display static filter values
    4) in the next item in the properties (List of text elements) click once on the box where List is written and then clcik on the small browse button that appears.
    5) in the window that opens, in the element type field, select variable/variable value as key (as per your requirement) and then under the element ID field type in the technical name of your variable that you want to display.
    click ok and save your template and try executing it.
    See if this solves your problem.
    regards,
    Nikhil

  • Use a single variable value to compare with 2 characteristics

    Hi guys
        I need some advice on how to use a single variable value to compare with 2 characteristics in a Infocube.
    eg : I hv 2 characteristics in Infocube
           Launch date  &  Closing Date
       Now I want to display report where the variable date (inputted by user) is equal to Launch Date and Closing Date.
        with regards

    Bobby,
    if I right understood your situation, you have an input variable ZINPUT (related to a date 'A') and 2 others dates (yours Launch and Closing dates, 'B' and 'C').
    You want to display only the rows where A(user input)=B=C.
    Now you have to create 2 new variables (called ZB and ZC, related to B and C dates) NOT marked as 'ready for input' and set to 'mandatory variable entry'.
    Call Transaction CMOD for the definition of the customer exit (if not already existing!).
    Create a new project, maintain the short text, and assign a development class.
    Goto Enhancements Assignments and assign RSR00001. Press the button components to continue.
    Double-click on EXIT_SAPLRRS0_001. For documentation place the cursor on RSR00001 and use the menu Goto -> Display documentation. 
    Then double-click on ZXRSRU01. If the include doesn’t exist you have to create it; assign a development class and a transport request.
    Enter the coding:
    DATA: L_S_RANGE TYPE RSR_S_RANGESID.
    DATA: LOC_VAR_RANGE LIKE RRRANGEEXIT.
    CASE I_VNAM.
    WHEN 'ZB'.
    (and you have to repeate the same code also for the variable 'ZC' !)
    IF I_STEP = 2.
    READ TABLE I_T_VAR_RANGE INTO LOC_VAR_RANGE
    WITH KEY vnam = 'ZINPUT'.
    if sy-subrc = 0.
    L_S_RANGE-LOW  = LOC_VAR_RANGE-LOW.
    endif.
    L_S_RANGE-sign = 'I'.
    L_S_RANGE-opt = 'EQ'.
    append L_S_RANGE to e_t_range.
    ENDIF.
    ENDCASE.
    Save and activate the coding and the project.
    Now go to your query and use these two new variables to restrict B and C....et voilà !!!
    Let me know if you need more help (and please assign points !!! be generous !!!)
    Bye,
    Roberto

  • Assigning values to element part of a variable

    Hello,
    I have a BPEL process which has a variable declared thusly:
        <variable name="myMessageVariable" element="ns1:MyMessage"/>The MyMessage type is declared by an XSD file which is used as part of a WSDL definition which an adapter then uses to connect to an external service:
        <xsd:element name="MyMessage" type="tns:MyMessageType" />
        <xsd:complexType name="MyMessageType">
            <xsd:sequence>
                <xsd:element name="ErrorString" type="xsd:string" />
                <xsd:element name="ErrorReason" type="xsd:string" />
            </xsd:sequence>
        </xsd:complexType>I am trying to assign a value to one of the element parts of the variable via an assignment:
            <assign name="Assign1">
              <copy>
                <from>ora:getFaultAsString()</from>
                <to>$myMessageVariable.ErrorString</to>
              </copy>
            </assign>... but I am getting the following error:
    Error(81): Variable "myMessageVariable"  must not specify part "ErrorString" because its type is not a WSDL messageCan anyone indicate the correct syntax for doing so, please?
    Many thanks in advance for any assistance.
    Edited by: ZeroZeroZeroOne on Apr 25, 2013 9:22 PM

    Looks like your wsdl is not defining the message properly for the operation. I have pasted you an example of wsdl and xsd here.
    WSDL File:
    +<?xml version="1.0" encoding="UTF-8"?>+
    +<wsdl:definitions name="BPELDVM"+
    targetNamespace="http://xmlns.oracle.com/PIMtoRPASAmendment/BPELDVM/BPELDVM"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:client="http://xmlns.oracle.com/PIMtoRPASAmendment/BPELDVM/BPELDVM"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
    +     <wsdl:types>+
    +          <schema xmlns="http://www.w3.org/2001/XMLSchema">+
    +               <import namespace="http://xmlns.oracle.com/PIMtoRPASAmendment/BPELDVM/BPELDVM" schemaLocation="xsd/BPELDVM.xsd" />+
    +          </schema>+
    +     </wsdl:types>+
    +     <wsdl:message name="BPELDVMRequestMessage">+
    +     <wsdl:part name="payload" element="client:process"/>+
    +     </wsdl:message>+
    +     <wsdl:message name="BPELDVMResponseMessage">+
    +          <wsdl:part name="payload" element="client:processResponse"/>+
    +     </wsdl:message>+
    +     +
    +     <!-- portType implemented by the BPELDVM BPEL process -->+
    +     <wsdl:portType name="BPELDVM">+
    +          <wsdl:operation name="process">+
    +               <wsdl:input message="client:BPELDVMRequestMessage" />+
    +               <wsdl:output message="client:BPELDVMResponseMessage"/>+
    +          </wsdl:operation>+
    +     </wsdl:portType>+
    +     <plnk:partnerLinkType name="BPELDVM">+
    +     <plnk:role name="BPELDVMProvider">+
    +               <plnk:portType name="client:BPELDVM"/>+
    +          </plnk:role>+
    +     </plnk:partnerLinkType>+
    +</wsdl:definitions>+
    XSD File:
    +<?xml version="1.0" encoding="UTF-8"?>+
    +<schema attributeFormDefault="unqualified"+
    +     elementFormDefault="qualified"+
    +     targetNamespace="http://xmlns.oracle.com/PIMtoRPASAmendment/BPELDVM/BPELDVM"+
    +     xmlns="http://www.w3.org/2001/XMLSchema">+
    +     <element name="process">+
    +          <complexType>+
    +               <sequence>+
    +                    <element name="input" type="string"/>+
    +               </sequence>+
    +          </complexType>+
    +     </element>+
    +     <element name="processResponse">+
    +          <complexType>+
    +               <sequence>+
    +                    <element name="result" type="string"/>+
    +               </sequence>+
    +          </complexType>+
    +     </element>+
    +</schema>+
    Let us know if you still having problem with that. Otherwise you can share your wsdl and schema file here.
    Give points - it is good etiquette to reward an answerer points (5 - helpful; 10 - correct) for their post if they answer your question.
    Thanks,
    Vijay

  • Setting a variable values only in the first time

    Hi all,
    I have a problem regadring PL-SQL coding..actually its something related to programming logics.
    I'm calling a method (modify) from client application and which calls several other methods. (check_update and update)
    method update updates the database and then calls some other method. (modify_something) That method modify_update calls check_update and and update methods.
    Also i have a global variable (var_1) defined in the packages level which is used for some condition checking in update method. But unfortunatly i have to change the value of that variable in modify_something method. So the original value of the var_1 is lost.
    Is there anyway to keep the original value of this variable...please dont tell that i have to stop changing the variable value in modify_something its NOT possible at any cost.
    Expecting some help from PL-SQL gurus..
    thanks in advance..
    /garuka

    Hi,
    I know about the concept of scoping. The problem here is not that.
    The problem is how i change a value of a variable only once when it calls for the first time and stop changing the value for the other times.
    If i explain it little more its like this.
    I want to change the value of the var_1 when it check_modify calls for the first time. and use if in some other methods. But var_1 is modified by some other client methods which are called by update method which is called after check_update method.
    So my problem is if i use the solution samir told how i set the value to that var only once when it calls in the check_update for the first time and then to stop setting it during other method calls and within check_update method which calls recursively.
    Simply do the variable assignment only in the first request only..
    /garuka

Maybe you are looking for

  • SQL Error while running......

    Hello all, I am using R12.1.3. I have ran the insert query in GL_interface Table from my client system. I have attached the Insert query as below. insert into GL_INTERFACE ( STATUS, LEDGER_ID, REFERENCE1, REFERENCE4, USER_JE_SOURCE_NAME, USER_JE_CATE

  • TS2446 I changed my password after the acct. being disabled.  It is still not working.  How long does it take?  And how do I make it work again?

    I changed my password after the acct. was disabled.  We had to dispute some charges and got it worked out.  The new password won't work and thats what we were told to do.  How long does it take for the new password to take effect?  And is there somet

  • CO24 missing parts list

    Hi All, Till last week the missing parts list for a particular MRP controller showed many parts but since this week it only shows some parts and we are not able to find out  the difference between what is expected and what it is showing. Can somebdy

  • CVP utilisation in Webview Trunk Usage report

    Hi, One of my customer recently opted for a ICM 7.2 + CVP 7(Comprehensive, SIP no Proxy) model over their existing ICM6 + IVR deployment. Since they were used to monitor IVR usage through Network Trunk Group Usage report from Webview, they are expeci

  • Wireless software code compatibility question

    I have run into a situation with several customers now where they have a WCS running version 7.0.230.0 (or something very similar) and they want to upgrade their 5508 wireless controllers to a newer version so they can support newer AP models (say 7.