Invalid append operation
I get the following message(in my livecycle server log) when one of my forms loads in workspace. Its only the one form that this occurs in and the form appears to work correctly. Does anyone have any idea why this warning occurs and how to clear it? Anyone know what the specific fault lines (2812 and 1825) refer too? I was thinking it would refer to the xml source inside designer but it didn't appear to relate. This causes a lot of spam in the server log file and it could be causing an error that I haven't been able to find yet.
2011-09-16 13:37:00,203 WARN [com.adobe.document.XMLFormService] ALC-XTG-102-001: [79408] Invalid append operation: field cannot have a child element of #text
2011-09-16 13:37:00,203 WARN [com.adobe.document.XMLFormService] ALC-XTG-102-001: [79408] The fault occurred on line 2812.
2011-09-16 13:37:01,781 WARN [com.adobe.document.XMLFormService] ALC-XTG-102-001: [79408] Invalid append operation: field cannot have a child element of #text
2011-09-16 13:37:01,781 WARN [com.adobe.document.XMLFormService] ALC-XTG-102-001: [79408] The fault occurred on line 1825.
2011-09-16 13:37:01,813 WARN [com.adobe.document.XMLFormService] ALC-XTG-102-001: [79408] Invalid append operation: field cannot have a child element of #text
2011-09-16 13:37:01,813 WARN [com.adobe.document.XMLFormService] ALC-XTG-102-001: [79408] The fault occurred on line 1825.
I don't work with LC servers but with Designer but think this doesn't matter here.
A fields text is the child element of a value element. So you first have to append a value element and then append the text element to it.
<field name="TextField1" y="6.35mm" x="15.875mm" w="62mm" h="9mm">
<ui>
<textEdit>
<border>
<edge stroke="lowered"/>
</border>
<margin/>
</textEdit>
</ui>
<font typeface="Myriad Pro"/>
<margin topInset="1mm" bottomInset="1mm" leftInset="1mm" rightInset="1mm"/>
<para vAlign="middle"/>
<caption reserve="25mm">
<para vAlign="middle"/>
<value>
<text>Text Field</text>
</value>
</caption>
<value>
<text>Sample text</text>
</value>
</field>
In Designer the script looks like:
var newValue = xfa.template.createNode("value");
var newText = xfa.template.createNode("text");
newText.value = "Sample text";
newValue.nodes.append(newText);
[referenceSyntax].nodes.append(newValue);
Hope this helps.
Similar Messages
-
Invalid append operation when generating pdf document?
I am getting the following Log warning when I check the log of my livecycle designer es2 form:
Invalid append operation: fill cannot have a child element of color
The element[color] has violated its allowable number of occurences.
I don't know how to find the problem, and the form previews properly in Acrobat preview.
Can someone tell me what this means, and what I need to do to correct the error?Have you done any changes in the XML source or do you use scripting to change the fill color of an object?
-
Using regexp_instr in a where clause - invalid relational operator
Whey I try to run this query in TOAD I get an ORA-00920: invalid relational operator error. It's part of a 10g stored procedure. When I highlight it and run it it prompts me for the missing values and then the error pops up. The AND in line 4 is highlighted.
select CRIME_CLASSIFICATION_ID, crime_type, nvl(count(CRIME_CLASSIFICATION_ID),0) as CRIMECNT
From vaps.vw_offenses
where regexp_instr(valoc,to_char(location_id))
AND ( fromdate is null or
offense_date between to_date(fromdate, 'mm/dd/yyyy') AND to_date(todate,'mm/dd/yyyy')
group by crime_classification_id, crime_typeHi,
Review what REGEXP_INSTR does: it returns a NUMBER.
Your WHERE clause couldn't make any sense if you used any other kind of NUMBER expression in that place, e.g. a NUMBER literal such as 12:
select CRIME_CLASSIFICATION_ID, crime_type, nvl(count(CRIME_CLASSIFICATION_ID),0) as CRIMECNT
From vaps.vw_offenses
where 12 -- This is obviously wrong
AND ( fromdate is null or
offense_date between to_date(fromdate, 'mm/dd/yyyy') AND to_date(todate,'mm/dd/yyyy')
group by crime_classification_id, crime_type
It's not going to work any better with a function (like REGEXP_INSTR) that returns a NUMBER.
How can you fix it? That depends on what you want to do. Why are you calling REGEXP_INSTR? What is that condition checking?
Whenever you have a problem, please post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) from all tables involved, so that the people who want to help you can re-create the problem and test their ideas.
Also post the results you want from that data, and an explanation of how you get those results from that data, with specific examples.
Always say which version of Oracle you're using (for example, 11.2.0.2.0).
See the forum FAQ: https://forums.oracle.com/message/9362002 -
Error: ORA-00920: invalid relational operator (WWV-16016)
Hi,
When I try to query in the form, I'm getting the following error
An unexpected error occurred: ORA-00920: invalid relational operator (WWV-16016).
The form has a field of type varchar2 with lov attached to it. This error is happening only if I enter characters more than 40 or select a value which has more than 40 characters from the lov.
Anbody had this problem?..Is there a solution for this?..Help would be appreciated.
Thanks
PJI figured out the problem and it seems like if the value has any 'IN' or 'BETWEEN' and try to query this error is happening and it's not because of character length. I think Portal assumes that relational operator is entered and tries to query based on those words. Is it a bug in the Portal?..
Thanks
PJ -
ORA-29283 invalid file operation
NLSRTL 10.2.0.5.0 Production
Oracle Database 10g Enterprise Edition 10.2.0.5.0 64bi
PL/SQL 10.2.0.5.0 Production
TNS for IBM/AIX RISC System/6000: 10.2.0.5.0 Productio
I am trying to get the content of a trace file generated for me.
Because I don't have privileges to log on the server and copy the trace file for me directly with some os user, I am doing the following:
1. I alter my session trace identifier to easier identify the trace file
ALTER SESSION SET TRACEFILE_IDENTIFIER = 'Func01';2. I invoke DBMS_MONITOR
3. I run the procedure I want to monitor.
4. I disable the monitoring by calling DBMS_MONITOR
5. At this point I run the following query to identify my trace file:
select u_dump.value || '/' || instance.value || '_ora_' || v$process.spid || nvl2(v$process.traceid, '_' || v$process.traceid, null ) || '.trc'"Trace File"
from V$PARAMETER u_dump
cross join V$PARAMETER instance
cross join V$PROCESS
join V$SESSION on v$process.addr = V$SESSION.paddr
where 1=1
and u_dump.name = 'user_dump_dest'
and instance.name = 'instance_name'
and V$SESSION.audsid=sys_context('userenv','sessionid');It gives me: /ORACLE/MYDB/trace/MYDB_ora_3616822_Func01.trc
I have created directory in advanced on the path where the traces are stored:
CREATE OR REPLACE DIRECTORY trace_dir AS '/ORACLE/MYDB/trace/';
SELECT * FROM dba_directories WHERE directory_name = 'TRACE_DIR';
Output:
OWNER DIRECTORY_NAME DIRECTORY_PATH
SYS TRACE_DIR /ORACLE/MYDB/trace/I don't have rights to grant read, write on TRACE_DIR to my user, as I am not logged with SYS.
I created a table to store in it the lines from the trace file:
CREATE TABLE tmp_traces_tab
callnum NUMBER,
line NUMBER,
fileline CLOB
);Then I run the following PL/SQL block to retrieve the content of the trace and store it in the table T:
DECLARE
l_file UTL_FILE.file_type;
l_location VARCHAR2 (100) := 'TRACE_DIR';
l_filename VARCHAR2 (255) := 'MYDB_ora_3616822_Func01.trc';
l_text VARCHAR2 (32767);
l_line NUMBER := 1;
l_call NUMBER := 1;
BEGIN
-- Open file.
l_file := UTL_FILE.fopen (l_location, l_filename, 'r', 32767);
-- Read and output first line.
UTL_FILE.get_line (l_file, l_text, 32767);
INSERT INTO tmp_traces_tab (callnum, line, fileline) VALUES (l_call, l_line, l_text);
l_line := l_line + 1;
BEGIN
LOOP
UTL_FILE.get_line (l_file, l_text, 32767);
INSERT INTO tmp_traces_tab (callnum, line, fileline) VALUES (l_call, l_line, l_text);
l_line := l_line + 1;
END LOOP;
EXCEPTION
WHEN NO_DATA_FOUND THEN
NULL;
END;
INSERT INTO tmp_traces_tab (callnum, line, fileline) VALUES (l_call, l_line, l_text);
l_line := l_line + 1;
UTL_FILE.fclose (l_file);
END;
/And when I run the code I get the error: ORA-29283 invalid file operation.
Is it possible to a role my user to be able to get the content of the trace files in the directory TRACE_DIR without having explicit READ , WRITE privileges on it?
My user currently has these roles:
select * from dba_role_privs where grantee = USER;
Output:
U1 OPR_ROLE_LOSS_SNAPSHOT_READER YES YES
U1 RESOURCE NO YES
U1 CONNECT NO YES
U1 DBA NO YES
U1 OPR_ROLE_SUPPORT_USER YES YESI know that on another db with different user I hit no errors when doing completely the same (of course the program unit I monitor is different).
That other user with which I have NO issues has these roles:
select * from dba_role_privs where grantee = USER;
Output:
U2 DBA NO YES
U2 EXEC_SYS_PACKAGES_ROLE NO YES
U2 EXECUTE_CATALOG_ROLE NO YES
U2 CONNECT NO YESVerdi wrote:
NLSRTL 10.2.0.5.0 Production
Oracle Database 10g Enterprise Edition 10.2.0.5.0 64bi
PL/SQL 10.2.0.5.0 Production
TNS for IBM/AIX RISC System/6000: 10.2.0.5.0 Productio
And when I run the code I get the error: ORA-29283 invalid file operation.
Is it possible to a role my user to be able to get the content of the trace files in the directory TRACE_DIR without having explicit READ , WRITE privileges on it?
My user currently has these roles:
select * from dba_role_privs where grantee = USER;
Output:
U1 OPR_ROLE_LOSS_SNAPSHOT_READER YES YES
U1 RESOURCE NO YES
U1 CONNECT NO YES
U1 DBA NO YES
U1 OPR_ROLE_SUPPORT_USER YES YESI know that on another db with different user I hit no errors when doing completely the same (of course the program unit I monitor is different).
Thanks for posting version alongwith other details.
TO my knowledge, No you cannot.
Privileges acquired via a Role are not valid in PL/SQL. You need to have explicit privileges. -
"Invalid menu operation" Alert bug - CS6
CS6.0.5
In the last couple of weeks I have started getting this alert:
I have tried to pay attention to what I have do to create this alert.
Occasionally it simply appears on opening a Project.
Reliably, it pops up when I hit Ctrl > z (undo), and Ctrl > s (save)...
but after clearing the alert, Ctrl > [Anything] does not make it reappear.
This happens regardless of the Project.
edit:
I have just discovered that if I try to use File > Save
instead of Ctrl > s to save, the alert appears
as soon as I touch the File Menu header.
This also happens with the Clip, Title, Window & Help headers.
As in the replies in the thread below, there seems to be
no detriment to any functionality when this alert appears.
Maybe it's a fairly inconsequential bug, but it does appear to be a bug.
I had worked in CS6 for almost a year without this alert occurring.
Invalid Menu Operation Error in CS6
http://forums.adobe.com/message/4913886Even if this errant "Invalid menu operation" alert is not
indicative of any real problem and does not seem to cause
any functionality problem within Premiere, it is still an obtrusive
alert that requires the extra steps to clear (at least once).
If not cleared, any 'real' alert would be missed since
all it will do is add a new entry to an un-cleared list.
Any suggestions aside from filing additional bug reports? -
Case with where clause - ORA-00920: Invalid relational operator
Hi All, when I try to run the query below, I get the following error...
ORA-00920: invalid relational operator
00920. 00000 - "invalid relational operator"
*Cause:
*Action:
Error at Line: 16 Column: 5
Does anyone know what's wrong with my query? thanks in advance.
SELECT concat (year,period)
FROM DD_ACTUALS_FACT
WHERE CASE Period
WHEN 'JAN' THEN '01'
WHEN 'FEB' THEN '02'
WHEN 'MAR' THEN '03'
WHEN 'APR' THEN '04'
WHEN 'MAY' THEN '05'
WHEN 'JUN' THEN '06'
WHEN 'JUL' THEN '07'
WHEN 'AUG' THEN '08'
WHEN 'SEP' THEN '09'
WHEN 'OCT' THEN '10'
WHEN 'NOV' THEN '11'
WHEN 'DEC' THEN '12'
END as "MonthNo"
ORDER BY CONCAT (year,"MonthNo") DESCThe problem is the as "MonthNo" - you can't give an "AS" alias to an expression in a where clause.
You have not actually given any condition, just a set of translations from period into a number.
You also haven't said what you're trying to do.
Perhaps you want:
SELECT concat (year,period)
FROM DD_ACTUALS_FACT
WHERE something
ORDER BY CONCAT (year, CASE Period
WHEN 'JAN' THEN '01'
WHEN 'FEB' THEN '02'
WHEN 'MAR' THEN '03'
WHEN 'APR' THEN '04'
WHEN 'MAY' THEN '05'
WHEN 'JUN' THEN '06'
WHEN 'JUL' THEN '07'
WHEN 'AUG' THEN '08'
WHEN 'SEP' THEN '09'
WHEN 'OCT' THEN '10'
WHEN 'NOV' THEN '11'
WHEN 'DEC' THEN '12'
END ) DESC -
ORA-30511: invalid DDL operation in system triggers
Hi,
I am calling a procedure in a Trigger.
In that Procedure EXECUTE IMMEDIATE is used to CREATE a table.
But when The Trigger is firing its giving Error as :ORA-30511: invalid DDL operation in system triggers
Kindly any help will be needful for meuser598986 wrote:
Hi,
I am calling a procedure in a Trigger.
In that Procedure EXECUTE IMMEDIATE is used to CREATE a table.
But when The Trigger is firing its giving Error as :ORA-30511: invalid DDL operation in system triggers[I thought I already explained it|http://forums.oracle.com/forums/message.jspa?messageID=3379456#3379683]. And again, granting privileges dynamically in a logon trigger is a very bad design. If you want to stick to it, you could schedule a job in trigger, as Timur suggested, however keep in mind, job runs asynchronously, so trigger will have to wait for the job to finish. Otherwise there might be a gap where session would not have privs granted yet.
SY. -
"Invalid Variant Operation" when AVDoc.GetPDDoc
Hi, I create pdf object by ole in delphi.
=====================
try
AcroApp := CreateActiveXObject('AcroExch.App');
AcroApp.Hide;
except
Exit;
end;
AcroAVDoc := CreateActiveXObject('AcroExch.AVDoc');
if not AcroAVDoc.Open(strFileName, '') then begin
Exit;
end;
AcroAVDoc := AcroApp.GetActiveDoc;
AcroPDDoc := AcroAVDoc.GetPDDoc; <-- throw invalid variant operation exception
AcroPDDoc.Save(1, strFileName);
==========================
In fact, If I can save the document, do not know if there is no other way to bypass the pddoc, if only with pddoc, is not playing some of the patches canAttached a sample VBS. Save it as ...vbs and doubleclick on it.
If it works for you, ask in the delphi forum, how to translate.
HTH, Reinhard
AcroTestSave.vbs
fileIn = "C:\Test.pdf" '// state the full path of the file to open
FileOut = "C:\Test3.pdf" '// state the full path for the file to save
set App = CreateObject("AcroExch.App") '// start Adobe Acrobat
App.Show '// show Acrobat
Set AVDoc = CreateObject("AcroExch.AVDoc") '// connect to Ac Viewer
AVDoc.Open fileIn,"" '// Open a file into viewer
set PDDoc = AVDoc.GetPDDoc '// Get the Doc opened in the viewer
set JSO = PDDoc.GetJSObject '// Connect to Acrobat JS
JSO.app.alert("Hi, the file is open press Ok and I'll save it") '// Display a MsgBox
PDDoc.Save 3,fileOut '// SaveAs
App.CloseAllDocs '// close all docs
set JSO = nothing
set AvDoc = nothing
set PdDoc = nothing
set App = nothing -
JBO-25036: An invalid object operation was invoked on type View Object...
Hi,
Jdev 11.1.1.3 with BC & RC.
HR Schema - Employees & Departments Table.
In EmployeesViewImpl class overriding prepareVOForQuery() for adding dynamic where clause.
@Override
public void prepareVOForQuery() {
DepartmentsViewImpl deptImpl = new DepartmentsViewImpl();
int deptid = deptImpl.deptID(); //custom method in DepartmentsViewImpl returning deptid based on some condition
setWhereClause("DEPARTMENT_ID = :bvdeptid");
defineNamedWhereClauseParam("bvdeptid", null, null);
setNamedWhereClauseParam("bvdeptid", deptid);
super.prepareVOForQuery();
public int deptID(){
//return "IT_PROG";
int int_deptid = 0;
Row[] depts = this.getAllRowsInRange();
for(int i=0 ; i < depts.length; i++){
Row row = depts;
String deptname = (String)row.getAttribute("DepartmentName");
if(deptname.equalsIgnoreCase("it")){
Number deptid = (Number)row.getAttribute("DepartmentId");
int_deptid = deptid.intValue();
break;
return int_deptid;
// The error is coming
JBO-25036: An invalid object operation was invoked on type View Object with name DepartmentsViewImpl_2
Can I call a custom method deptID() like above, in EmployeesViewImpl class from DepartmentsViewImpl?
I need to change query based on some condition on page load in real scenario. I used beforePhase() but not giving perfect result.
What is best way to do this, similar to above case. However, providing plain value giving no error.
Thanks.Hi!
This doesn't work that way:
DepartmentsViewImpl deptImpl = new DepartmentsViewImpl();Take a look at ApplicationModule#findViewObject() if your DepartmentsView is already in your data model, executed, and you want to re-use it.
Otherwise take a look at ApplicationModule#createViewObject().
Besides that, if you want to execute a VO, then call executeQuery() on it, don't rely on other operations like first() or getAllRowsInRange() to implicitly execute it for you.
And: Why not use Number all the way through? Why the conversion to int? It will work in that example, since department ID is only NUMBER( 4 ). What if the ID column was a NUMBER( 22 )? int cannot handle that, not even close, so you should not make it a habit to convert to int.
Sascha -
Erro: An invalid object operation was invoked on type View Object
Hi
I try to run query from managed bean as below
SelectControlTextDescImpl selectControlTextDescImpl = new SelectControlTextDescImpl();
selectControlTextDescImpl.executeQuery();but there is error appear when i run the code
An invalid object operation was invoked on type View Object with name SelectControlTextDescImpl_8
Any one can help?Hi Hani,
You'll be able to get a lot out of this forum if you first go through some these resources first:
http://www.oracle.com/technology/obe/obe11jdev/ps1/ria_application/developriaapplication_long.htm
http://www.oracle.com/technology/products/jdev/11/cuecards111/index.html
Regards,
Jang Vijay -
Hi,
if I :
create table t (a number, b number, c number);
and then run the following query:
delete from t where a='1' and (b, c) in (
select b, c from t
where a='1'
group by b, c
having count(*) > 1);
-- nothing to see here
I get the following error:
ORA-00920: invalid relational operator
If I remove the "-- nothing to see here" comment, the query runs fine.
If I remove the quotes around the 1s it also runs fine, with or without the trailing comment.
I had a look through the forum and couldn't see this listed anywhere, though I presume others have come across similar problems?
I presume there is a simpler test case; I tried to reduce it a bit, but most of what is there seems to be needed to reproduce the error.
Note that it doesn't have to be a comment following the query; any text at all will cause the same error.
regards,
WilliamHaving just played around a bit, if you change the subquery to just return a single column, say "b" rather than "b" and "c":
delete from t where a='1' and b in (
select b from t
where a='1'
group by b
having count(*) > 1);
-- nothing to see here
Then I get error "ORA-00911: invalid character" instead.
If I run the buffer as a script (F5) I get:
SQL ERROR:ORA-00911: invalid character
delete from t where a='1' and b in (
select b from t
where a='1'
group by b
having count(*) > 1);
-- nothing to see here
ORA-00911: invalid character
In case that helps you locate it at all.
Note: if I move the "group by" clause onto the where line then it runs correctly.
regards,
William
Message was edited by:
user454290 -
Requesting help-On a report Getting ora-00920 invalid relational operator.
Hi everyone,
I am having a report region with the following query:
select CASE
WHEN ISITRECENTADDENDUM(meckey_fk,code)
THEN
'<a href="javascript:popUp2('''
|| 'f?p=&APP_ID.:61:&SESSION.::NO::P61_MECKEY_FK:'
|| &P60_MECKEY.
|| ''', 700, 700);">'
|| '<img src="#IMAGE_PREFIX#gobut.gif">'
|| '</a>'
ELSE NULL
END EditAddendum,
'<a href="javascript:popURL('''
||'&REPORTS_URL.keynewmec&P_1=&P60_MECNUM.'
|| ''', 700, 700);">'
|| '<img src="#WORKSPACE_IMAGES#printer.jpg">'
|| '</a>'
PrintMEC,
"CODE",
"MECKEY_FK",
"ADDENDUM",
"WHO_CREATED",
"WHEN_CREATED"
from "C_ADDENDUMS"
where "MECKEY_FK" = v('P60_MECKEY')
And my function returning boolean is as follows:
create or replace FUNCTION "ISITRECENTADDENDUM"
(meckeyi in number,
codei in varchar2)
return Boolean
is
x varchar2(1);
begin
select max(code) into x from c_addendums where meckey_fk = meckeyi;
if x = codei then
return true;
else
return false;
end if;
exception
when others then
return FALSE;
end;
But I am getting ORA-00920 invalid relational operator. Can anyone please help me out? I am not knowing where the error is. When I run the function by itself I am getting "False" returned as expected. Appreciate any advice on this.
Rgds,
Suma.Suma,
It looks like what you are trying to do is display a link for the record with the highest value in the Code column, and nothing for the other records.
If that is the case, you can eliminate the function and just use a SQL query like this:
(not tested)
select CASE
WHEN code = Max(code) over (partition by meckey_fk)
THEN
'<a href="#">'
|| ' '
|| '< img class="TargetAlertIcon" src="chrome://targetalert/content/skin/internal.png"></a>'
ELSE NULL
END EditAddendum,
'<a href="#">'
|| ' '
|| '< img class="TargetAlertIcon" src="chrome://targetalert/content/skin/internal.png"></a>' PrintMEC,
"CODE", "MECKEY_FK", "ADDENDUM", "WHO_CREATED", "WHEN_CREATED"
from "C_ADDENDUMS"
where "MECKEY_FK" = :P60_MECKEYIs that what you're trying to do?
Doug -
Invalid Menu Operation Error in CS6
Recently, I've been seeing the little error indicator show up at the bottom-right corner of the Premiere screen after I import a file. When I click on it, the error listed says, "Invalid Menu Operation". I haven't noticed any negative effects from this, but I was wondering if anyone knows what it means.
Thanks.hi
i don't think that is fair you reply as you don't find any issue as we report!!!This unacceptable!!!
i'm using premium production cs6 everytime when i open files and click to FILE/CLIP/TITILE/WINDOW and HELP menu button the error message will come out immeadiately than after clear all it will be ok but it will appear everytime when we first launch the project file?!
Please take note: when click the menu EDIT/PROJECT/SEQUENCE and MARKER that is ok no error message appear!
we paid for the software is because we trust it , we are not paying for trouble!!! this is a problem giving us when we working we don't know it will affect any of our project or not?
ADOBE engineering team should find out the problem!!!
the problem doesn't drop from the sky itself!!!??? Do you think we created the problem????
Here is my system detail!
i'm using WIN7 OS, nvidia Quadro 4000, DELL T5500
AND BELOW IS THE ERROR REFERRENCE
PLEASE DON'T GIVE US THE SAME FEEDBACK AGAIN THAT MUST BE SOMEWHERE GOES WRONG! PLEASE SOLVE THE PROBLEM THANK YOU!
my email address is [email protected] or [email protected] -
Issue with BPEL append operation
Hi All,
I have the following block in my BPEL Code:
<assign name="Assign_5">
<bpelx:append>
<bpelx:from variable="FFNUMTwoOutputClone"
part="payload"
query="/ns8:FulfillmentOrderEBM/ns8:DataArea/ns8:FulfillmentOrder/ns8:FulfillmentOrderActions/ns8:FulfillmentAction/ns8:FulfillmentServices/ns8:FulfillmentService/ns8:ServiceParameters/ns8:AddParameters/ns8:Parameter"/>
<bpelx:to variable="decomposedOrder_OutputVariable"
part="payload"
query="/ns8:FulfillmentOrderEBM/ns8:DataArea/ns8:FulfillmentOrder/ns8:FulfillmentOrderActions/ns8:FulfillmentAction/ns8:FulfillmentServices/ns8:FulfillmentService/ns8:ServiceParameters/ns8:AddParameters"/>
</bpelx:append>
</assign>
as far as I know, the ns8:Parameter should get appended to ns8:AddParameters. But during the execution of the process, the following selection failure is encountered:
<selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
-<part name="summary">
<summary>
Assign Operation Misuse.
The selection result of /ns8:FulfillmentOrderEBM/ns8:DataArea/ns8:FulfillmentOrder/ns8:FulfillmentOrderActions/ns8:FulfillmentAction/ns8:FulfillmentServices/ns8:FulfillmentService/ns8:ServiceParameters/ns8:AddParameters is not an XML element; append operation cannot be performed.Please check the BPEL source at line number "347" .
</summary>
</part>
</selectionFailure>
Please suggest the cause and workaround for this issue as this is a very critical requirement.
Regards,
CCHi,
If you want to append to addparameters the query should be like this
<assign name="Assign_5">
<bpelx:insertAfter>
<bpelx:from variable="FFNUMTwoOutputClone"
part="payload"
query="/ns8:FulfillmentOrderEBM/ns8:DataArea/ns8:FulfillmentOrder/ns8:FulfillmentOrderActions/ns8:FulfillmentAction/ns8:FulfillmentServices/ns8:FulfillmentService/ns8:ServiceParameters/ns8:AddParameters/ns8:Parameter"/>
<bpelx:to variable="decomposedOrder_OutputVariable"
part="payload"
query="/ns8:FulfillmentOrderEBM/ns8:DataArea/ns8:FulfillmentOrder/ns8:FulfillmentOrderActions/ns8:FulfillmentAction/ns8:FulfillmentServices/ns8:FulfillmentService/ns8:ServiceParameters/ns8:AddParameters"/>
</bpelx:insertAfter>
</assign>
Append operation actually appends as a child node to the node selected in bpelx:to part of append operation.
or else u can use below code which gives the same result
<assign name="Assign_5">
<bpelx:append>
<bpelx:from variable="FFNUMTwoOutputClone"
part="payload"
query="/ns8:FulfillmentOrderEBM/ns8:DataArea/ns8:FulfillmentOrder/ns8:FulfillmentOrderActions/ns8:FulfillmentAction/ns8:FulfillmentServices/ns8:FulfillmentService/ns8:ServiceParameters/ns8:AddParameters/ns8:Parameter"/>
<bpelx:to variable="decomposedOrder_OutputVariable"
part="payload"
query="/ns8:FulfillmentOrderEBM/ns8:DataArea/ns8:FulfillmentOrder/ns8:FulfillmentOrderActions/ns8:FulfillmentAction/ns8:FulfillmentServices/ns8:FulfillmentService/ns8:ServiceParameters"/>
</bpelx:append>
</assign>
Maybe you are looking for
-
Releasing credit sales order confirmation
Hi We are using credit limit check. If the customer has credit issues, the sales order will get retained and the confirmation is lock. The issue is that after the released of the sales order the confirmation is not being unlock and the sales order is
-
No Logical System Entry in Business System
When I will send an IDOC from XI to a target R/3 system, I am getting an error "Unable to convert the sender service to an ALE logical system " I checked the threads and the problem seems to be, that there is no Logical System recognised by the Busin
-
CD importing and syncing problems
I imported a CD into my library but everytime I try to put the music onto my phone it says "Updating File" but stops after like a second. There's also a dotted circle next to the songs but I made sure there's sufficient space on the phone and the man
-
I have a Numbers spreadsheet that I use on both my MacBook and iPad. The date on the X-axis appears in a numerical format on the iPad bit displays correctly on the PC. I am using Numbers '09 and all products are up to date as of today 18/08/2013. The
-
Hi Gurus, I've a typical issue here. I've two output types for sales order .Maintain condition record ,access sequence,VOFM routines individually perfectly for both output types. 1st output type - no multiple issue..(maintained in NACE) 2nd output ty