Consider the current values of BPEL variables InputVariable andOutputVariable:
Then consider the following BPEL activity Assign1:
<assign name=”Assign1”><!- – Line 1- ->
<copy><!- – Line 2 – ->
<from variable =”InputVariable”<!- – Line 3 – ->
part = “query_Input”<!- – Line 4 – ->
query=”/ns2: query_Input/ns2:Row_Id”/><!- – Line 5 – ->
<to variable =”OutputVariable”<!- – Line 6 – ->
part = “query_Output”<!- – Line 7 – ->
query=”/ns2: query_Outnput/ns2:RowId”/><!- – Line 8 – ->
</copy><!- – Line 9 – ->
</assign><!- – Line 10 – ->
Which two changes allow Assign1 to work with the current values of InputVariable
andOutputVariable?
A.
adding the attributebpelx :insertMissingToData=”yes”to line 2
B.
adding the attributebpelx :insertMissingFromData=”yes”to line 2
C.
correcting the namespace prefixes in line 5
D.
correcting the namespace prefixes in line 8
A,D
I’m leaning towards B,D… opinions anyone?
The namespace of line 5 is correct, not that of line 8 “ns3”. For that reason can not be the option, the correct option is D.
As “OutputVariable” does not have within its query_Outnput / ns2: RowId structure, the insertMissingToData attribute must be added.
The correct answer is A, D
A, D
What?