By assigning variable values complex problem
Hello
I have XSD in my composite like this: I need help in the assignment of the input to output elements - please suggest!
<? XML version = "1.0" encoding = "UTF-8"? >
< schema attributeFormDefault = "unqualified".
elementFormDefault = "qualified".
' xmlns:tns = ' http://xmlns.Oracle.com/MyTraining/Project3/BPELProcess1 "" "
" targetNamespace = ' http://xmlns.Oracle.com/MyTraining/Project3/BPELProcess1 "" "
" xmlns =" http://www.w3.org/2001/XMLSchema ">
< feature name = 'process' >
< complexType >
<>sequence
< element name = "input1" type = "string" / >
< element name = "input2" type = "string" / >
< element name = "input3" type = "string" / >
< / sequence >
< / complexType >
< / item >
< element name = "processResponse" >
< complexType >
<>sequence
< element name = "result" type = "string" minOccurs = "0" maxOccurs = "3" / >
< / sequence >
< / complexType >
< / item >
< / schema >
Hello
Why don't you drag the item to the target result node input1 and continue onto the source view.
Make the transformation looks like:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Kind regards
Melvin
Tags: Fusion Middleware
Similar Questions
-
How to assign the value to a dynamically created flash variable.
I want to change the value of a variable that is in another flash movie. I loaded the swf file. Inside the function "onLoadInit", I wrote code like below.
loadListener.onLoadInit = function(target_mc:MovieClip):Void
{This [target_mc + "."] contents.obj.' + mcSelfObj. m_TemparVariables [w] .varname] = 'Left ';
where mcSelfObj. m_TemparVariables [w] .varname contains 'position', which is the variable I want to change. This declaration is not assign a value to the variable.
If I hardcode the above statement as below it works
target_mc.contents.obj.position = 'Left ';
}
In the previous version of flash, we used eval() to make over assignments.
While you don't seem to use AS3, try...
[mcSelfObj.m_TemparVariables [w] .varname] target_mc.contents.obj = "Left";
based on what you say works, which is the best I can do to determine where the media should be.
If these are all a form of variable identity rather than the names of instnance, then you will need to use parentheses for each instance and do not use points
-
How to assign the value to the variable of project in the Jython script
Hello
I want to assign a value to the variable of project in the jython script.
I tried to assign the following, but it is throwing some errors.
< @.
int noOfRecords = 10;
#var1 = noOfRecords;
@ >
Can you please help me in this regard.
Concerning
ShyamPerfect! Good to know that!
Please, don't forget to close the thread and assign the status to 'correct' or 'comfortable' to each response that helped you!
Thank you
Cezar Santos
http://odiexeperts.com -
Assign the value to the Application Variable via javascript
Hello
How can I assign value to an element of the application (not the page element) through javascript.
I tried to assign the value as follows:
$s ('F150_REGION_TEMP', region);
where F150_REGION_TEMP is the application variable and 'region' is populated value in javascript.
Kind regards
BenzHello
Try
BR, Jari
Published by: jarola on March 1st, 2010 14:47
-
Error ESTK "cannot assign a value.
Dear friends, started a new project - and of course the new problems:.
The SumOf (list of values) function works perfectly,
but an equivalent of the function VsumOf (list of variables) stops at line 16 in the first iteration of the loop: cannot assign a value.
At this point, the result variable is just - 132.09 - out sort of a numerical problem.
var z = SumOf (11.1, -11.9, 12345679.0, -12345679.0, 124.5, -17, 18.9, 2.2, 2.5, 2.5, 2.5, 31.31, 312345679, -312345679); alert ("SumOf the numbers = " + z); // giving 166.610000014305 (figures after the 000 are artifacts) var z = VsumOf (11.1, -11.9, 12345679.0, -12345679.0, 124.5, -17, 18.9, 2.2, 2.5, 2.5, 2.5, 31.31, 312345679, -312345679); alert ("VsumOf the numbers = " + z); function VsumOf (valuePairs) { var nArguments = arguments.length; var j, z, result = 0; if (Math.floor(nArguments/2) * 2 !== nArguments) {return undefined;} for (j = 0; j < nArguments; j=++2) { if (isNaN(arguments[j])) {return NaN;} // should be skipped in calling environment if (isNaN(arguments[j+1])) {return NaN;} z = arguments[j] * arguments[j+1]; result = result + z; // <<== Can not assign value ??? } return result; } // this one works correctly function SumOf (values) { var nArguments = arguments.length; var j, result= 0; for (j = 0; j < nArguments; j++) { if (isNaN(arguments[j])) {return NaN;} // should be skipped in calling environment result = result + arguments[j]; } return result; }
Any ideas what really does this error message mean?
Hi Klaus,
Just change your line 12 for
for (j = 0; j< narguments;="" j="j+2)" {=""> It should work.
-
Assign a value to a populated table cell [in BULK]
Hi all
I have a problem by assigning a value to a populated table to COLLECT LOOSE .
I can reproduce the problem with this
And it's the anonymous PL/SQL block that gives me problems:CREATE TABLE TEST_TABLE ( value1 NUMBER, value2 NUMBER ); INSERT INTO test_table VALUES(1,1); INSERT INTO test_table VALUES(1,1); INSERT INTO test_table VALUES(1,1); INSERT INTO test_table VALUES(1,1); INSERT INTO test_table VALUES(1,1); INSERT INTO test_table VALUES(1,1); INSERT INTO test_table VALUES(1,1); INSERT INTO test_table VALUES(1,1); INSERT INTO test_table VALUES(1,1); INSERT INTO test_table VALUES(1,1);
The error isDECLARE SUBTYPE t_rec IS TEST_TABLE%ROWTYPE; TYPE records_table IS TABLE OF t_rec; elist RECORDS_TABLE; CURSOR table_cursor IS SELECT * FROM TEST_TABLE WHERE rownum <= 20; BEGIN OPEN table_cursor; FETCH table_cursor BULK COLLECT INTO elist; FOR j IN 1..elist.COUNT LOOP elist(j)(1) := elist(j)(1) +1; END LOOP; CLOSE table_cursor; END;
So they do not compile because of this line of code:ORA-06550: line 13, column 7: PLS-00308: this construct is not allowed as the origin of an assignment ORA-06550: line 13, column 7: PL/SQL: Statement ignored 06550. 00000 - "line %s, column %s:\n%s" *Cause: Usually a PL/SQL compilation error. *Action:
enclose (j) (1): = enclose (j) (1) + 1;
Why it does not work?
If I try to do, works perfectly:
Published by: user10396517 on 2.35 2-mar-2012DECLARE TYPE v_num_table IS TABLE OF NUMBER; TYPE v_2_num_table IS TABLE OF v_num_table; v_nums V_2_NUM_TABLE := V_2_NUM_TABLE(); BEGIN v_nums.EXTEND; v_nums(1) := v_num_table(); v_nums(1).EXTEND; v_nums(1)(1) := 1; v_nums(1)(1) := v_nums(1)(1) +1; dbms_output.put_line(v_nums(1)(1) ); END;
Variable "enclose" is an archival collection, so access you an individual field of an element of the given collection by specifying the domain name, not its position:
DECLARE SUBTYPE t_rec IS TEST_TABLE%ROWTYPE; TYPE records_table IS TABLE OF t_rec; elist RECORDS_TABLE; CURSOR table_cursor IS SELECT * FROM TEST_TABLE WHERE rownum <= 20; BEGIN OPEN table_cursor; FETCH table_cursor BULK COLLECT INTO elist; FOR j IN 1..elist.COUNT LOOP elist(j).value1 := elist(j).value1 + 1; END LOOP; CLOSE table_cursor; END;
Your second example is different because you are dealing with a collection of collections.
-
change the settings of the view variable value
Hello
I want to know if it is possible to change the settings for the debugger, including the display of the "view variable values" settings in labwindows cvi 9.0.
My problem is that in my project, it is essential to be able to debug and I came across some difficulities with the array of structs containing pointers to structures. So, I did a demonstration to show project:
typedef struct {}
short sVar1;
short sVar2;
char cVar1 [512];
} MyStruct2;typedef struct {}
MyStruct2 ReadMyS2;
MyStruct2 WriteMyS2;
MyStruct2 * pReadMyS2;
MyStruct2 * pWriteMyS2;
} MyStruct1;int main()
{
MyStruct1 MyS1_Phis [3] = {0};
int i = 0;init
for (i = 0; i<>
{MyS1_Phis [i] .pReadMyS2 = & MyS1_Phis [i]. ReadMyS2;
MyS1_Phis [i] .pWriteMyS2 = & MyS1_Phis [i]. WriteMyS2;
}}
Unfortunately, the debugger handles .pReadMyS2 pointer [0] MyS1_Phis as if that it points to an array of 10 elements of type MyStruct2.
Anyone know the reason for this?
Thanks in advance,
Laszlo Nagy
Hi Laszlo,
Yes, it is a known problem in CVI. This can happen because of the way the CVI user protection is implemented. It is certainly not desirable, but we probably won't be able to change it at least still a year or two.
A solution you have is to disable the protection of the user and then rebuild your program (Options > Compiler Options > level debugging: no execution check)
Luis
-
ORA-06550 assign the value to the parameter
Hi trying to assign the date quarter to a variable and get this error message, how can I assign a value to this parameter to PL/SQL:
declare
Neighborhood varchar (2);
Start
Select to_char (sysdate, 'YYYY-Q') in double shifts;
dbms_output.put_line (Quarter);
end;
[Error] Execution (05:42): ORA-06550: line 2, column 42:
PLS-00201: identifier 'vQUARTER' must be declared.
ORA-06550: line 2, column 50:
PL/SQL: ORA-00904: invalid identifier
ORA-06550: line 2, column 3:
PL/SQL: SQL statement ignored
ORA-06550: line 3, column 26:
PLS-00201: identifier 'vQUARTER' must be declared.
ORA-06550: line 3, column 5:
PL/SQL: Statement ignored
your error message refers to vQUARTER, which is not listed in your code example.
In addition, quarter is 2 characters such as defined in your code, but you ask to 6 characters in there, for example, 2016-1
-
Hello
Could you please help me for the script for extracting Webcenter UCMS property in Webcenter Capture. I also have a requirement where I need to assign a value to the UCM property ' dDocName or content ID "of the capture of webcenter.
Someone please help me with above scenarios.
Hello
Thanks for the reply. My requirement is, when check-in file to the AAU, it generates values to the property "docId" for the file that is unique. I need the value of the docId during validation webcenter capture processor. I solved this problem.
I created a filter in the AAU for archiving profile. This filter is triggered whenever the Service factor of the AAU invoke. In this filter, I can get the value of "docID".
Thank you.
-
How to assign the value to the application-level element
Hello
I'm learning to APEX. I use version 4.2.6.
My question is, I set a text field called 'FINANCIAL_YEAR' in the login page. I wanted to know how to assign this value to a text element of Application level (on page sent), so that I can get this value through at my request.
Thank you
-Anand
anand_gp wrote:
Yes, I created a 'text area' under 'HTML' in the 'Home' page Who accepts the exercise of a table through LOV. I intend to assign this value to a global variable so that this variable can be read in any of the application to filter the result set from different tables (not yet built the rest of the application). To do this, I was intending to use "Shared components"-> "Elements of Application". I'm still not quite sure how it works.
Start by reading the documentation on elements of application.
Go to the shared components > Application parts and create your G_FINANCIAL_YEAR item. Value Session State Protection Restricted - can not be set the browser so that the value is not editable by the user, falsification of URLS or scripts.
On the home page, if there is not already a button to submit the value of the fiscal year, add one in the HTML area, with the Action as a submit Pageclick. Otherwise, you can do without the button and using submit Page in Page Action when the changed value select the parameter in the list so he can undergo.
Then, in the section of the Page processing, create a calculation:
Point Type: Application-level element
Calculate Item: Application: G_FINANCIAL_YEAR
Point calculation: After submit
Type of calculation: Value of the element
Calculation:
Run the application, select a value in the list of the fiscal year and submit the page. Review of current session state in the viewer of session state by clicking on the link of Session in the toolbar developer. Select the Elements of Application in the view list, and then click set. The element of your application and its current value must be visible. You can now reference value throughout your application by using the appropriate syntax.
You should also consider if a default value (for example the current year) using a calculation Application from the point of calculation on the new Instance and coordinate the application point and part of the homepage using point application as the Source of value or an expression with Source page element, the value always, replacement of value that exists in the session state.
-
Assign a value of zero for no. selected lines
Try to find a way to assign a value to null if my account has no line.
What I have right now is:
Have tried different ways but I still get the message:CREATE OR REPLACE FUNCTION count_deductions (empno IN emp.empno%TYPE) RETURN NUMBER IS ded_count NUMBER(2); BEGIN SELECT count(deduction_amount) INTO ded_count FROM emp_deductions WHERE fk_empno = empno; EXCEPTION WHEN NO_DATA_FOUND THEN ded_count :=0; RETURN ded_count; END; /
SQL > select * from show_deduction_v where empno = 7169;
no selected line
Instead of the zero value by filling in the field.Ok. So the problem is that the view returns no rows. It has nothing to do with the service. The function returns 0 if there is no such thing as the EMPNO spent. The problem is that there is no line in the EMP with a 7169 EMPNO. This means that the function is never called.
Why do you want the view to return a row for an EMPNO that does not exist? Is there a table somewhere in the database where a 7169 EMPNO is? If so, your vision may outer join to that table.
Justin
-
Hello
I use forms6i.
I have a question in my form, say, Invoicebase, the default value must be retrieved from another table and appear in shape during loading.
The query to retrieve the default value is to a condition where clause, as when the company =: Global.company
But I'm assigining this global variable value in a time new form instance.
So where(which trigger) should write the query in order to retrieve the default value?
I can't assign value to trigger once - new - record - instance because, it wil change the State of form, and if without entering any value, I try to stop it wil ask for closing the form?
I can only do that in triggering when-create-record, but at this time there the global variable wil not be initialized and that the request would not have worked.
Please help me manage this
Thank you
Published by: Divya on January 30, 2011 04:32Stay with the when-CREATE-RECORD-trigger and put the code to initialize the global PRE-FORMS-relaxing.
-
conditionally to assign a value to a parameter
I use this code to conditionally to assign a value to a parameter p_data_type:
<? If: H_ACCOUNT_HIER_DESC = 'IS '? > < param name = 'p_data_type' select = '' number' ' xdofo:ctx = 'start' / > <? end if? >
<? If: H_ACCOUNT_HIER_DESC = "BY"? > < param name = 'p_data_type' select = '' text' ' xdofo:ctx = 'start' / > <? end if? >
However, I get the following error.
Caused by: oracle.xdo.parser.v2.XMLParseException: duplicate definition of variable 'p_data_type '.
Once I get this job, I want to use it as follows:
<? sorting: current-group () / ACCOUNT_SEQ; ' ascending '; type_donnees = "{$p_data_type}"? >
Does anyone have any suggestions on how I could do this?
Thank you
TAMYou can't do that, follow below
And you can view it as $p_data_type
-
The sequence in Variable value
Hello
How to assign the value of a sequence to a variable?
Thank you11 g:
p_variable := sequence_name.nextval;
In earlier versions:
select sequence_name.nextval into p_variable from dual;
-
programmatically set the bind view variable value of object that showed to the query Panel
Hello
I have a case in 11.1.1.7 Jdev, I deploy my application on BPM 11.1.1.7.
I have a VO that three attributes of it was put in a viewcriteria... Let's attribute A1, A2, and A3. the view criteria is any condition "AND".
and then I create a variable binding in the VO named b. my vo also query using this variable B.
in the jspx, I create a query panel based on the viewcriteria. then in the A1, A2, A3 and B query pane shows.
I can reset the Panel request programmatically using this tutorial http://www.jobinesh.com/2011/04/programmatically-resetting-and-search.html
but unfortunately he didn't succeed for A1, A2, A3 because they are in the display criteria, but B can't reset.
I tried to put the value programmatically using queryModel, queryDescriptor, setNamedWhereClauseParam, but this failed and it starts to makes me crazy...
anyone here seen cases like me? and found the workaround? pls throw some light.
Thank you
Have you tried with VariableValueManager? http://www.jobinesh.com/2010/10/how-to-set-bind-variable-values-at.html
Dario
Maybe you are looking for
-
Equium P300-16 t - alarm sound at startup
Hello My laptop is having problems to start the system. I get an alarm sound when you turn it on, so I wonder through a diagnosis of repair. I made this several times and also to reset the settings to factory once, but he continues to do. Also, I kee
-
iMovie is important and manages 4K, 100M, 30 p video from my Panasonic FZ1000 camera, but I don't get the option to select the elagueur or precision in the menu editor drop-down (they appear grayed out,) and I can't cut my files. IMovie is compatibl
-
How can I get the iminent emonticons to work on Messaging Instant yahoo
Ive downloaded and its on my yahoo messenger but I cannot get to work, if anyone knows, can you please explain its called IMINENT there a red buble one two white dots for the eyes in her mind years a white curve for a smile, it's wht love the look of
-
Desk Calendar - how to add appointments
original title: top of the page desk calendar How can I set up a desk calendar at startup which is active on the desktop? I want to be able to add appointments in the calendar on the desktop. If not this way can set up a schedule for quick access Add
-
I have a desktop HP Pavilion Media Center under Windows Vista Home Premium. I am trying to solve a problem with the TV Tuner. I tried everything I can find to solve the problem, but without success. I just need an answer to this... On the bottom of m