Error on Two DML process in a single page by condition
Hi all,
I have a page where i have two forms region on table and two DML processes,
i want to execute these two DML process one by one conditionally, such as initially when page load the second DML process will not execute after page submit, the first DML process will execute and successfully inserted table data then the second DML process will execute.
I have tried to do it by conditionally executing the them one after one by button pressed but failed to do so, when i submit the page its executing two DML process though i have make the second one to execute conditionally.
Any help is highly appreciate.
adnan
Hi,
Can you please replicate the same in apex.oracle.com for more clarity?
Regards,
Sakthi.
Similar Messages
-
Running on load two fetch processes on the same page
I have two separate regions on one page build on two tables which have a one to one relationship. I want to to query both regions at the same time when the page loads using the automatic fetch process. If I try to run both I get "NO DATA FOUND" error. If I run each one separately (by setting a never condition on the other process) then each region returns data without problems. Is this a limitation of APEX that you can only have one on-load fetch process per page?
Paul PHello Paul,
>> Is this a limitation of APEX that you can only have one on-load fetch process per page?
Ultimately, yes.
The ‘no data found’ error you see is not related to your data table but to an internal APEX package array that the ARF process uses. As you are using more than one ARF process on the same page, they both use the same database session, and that means that the packaged array is not clear between calls, and in certain situations that can lead to the error message you see. In any case, if an error message is not display, the populated items will only be from the last call to the ARF process.
As I see it, you have two options. One is to populate the form items manually. The second is to create a view on the two relevant tables, and build your form on the view (with the appropriate Instead Of triggers, if necessary).
Regards,
Arie.
♦ Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
♦ Forthcoming book about APEX: Oracle Application Express 3.2 – The Essentials and More -
Two SAPScript forms on a single page
Hello
Is there a way (in SAPScript) to have two forms (sapscript forms defined in SE71) printed in a single page ?
What I would like to achieve is to have several sapscript forms defined in the system and to be able to combine them in a single page dynamicallly - I mean: the printing program would decide which of them should be output.
I have one sapscript form which I want to output always - it contains some header and main window with some items. Apart from this form I need to print some additional information on the same page.
This additional information may be formated in a few different ways - depending on the case. I need to include this info at the top of the page - formatted in one of possible ways mentioned. The rest of the page is always the same (some header and main window with items).
I know I could just use windows definitions in a single sapsript form and let the printing program decide which of those windows to print. But my problem is: I would like to have different sizes of the information printed at the top of the pages - when I define a window I must declare height which will be occupied on the page - I'd like to have different height values for different cases.
Is there a way to achieve that ?
thanks in advance
regardsHi,
It is not possible.
But instead of creating sapscript, why dont you create different standard text and call in same sap-script based on condition.
You can create standard text in tcode so10. Its similar to editor in sap-script.
Reward if useful -
How to print two delivery challans in one single page
Hi Experts,
Here we have a requirement that,
The user wants the two Delivery challan outputs in one page.
and also for some documents he requires header and for some documents he doesn't require,
for this what condition should require.
Any idea regarding this...
Thanks in adv
Thusharado 2 times
perform write_form.
end do.
for header u can give condtion in form.
use if condition in the editor...
this will help u...
Reward IF....... <= IF what? Points removed... read [the rules|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement]!
Regards
Anbu
Edited by: Julius Bussche on Jul 17, 2008 7:01 PM -
Two ALV Grid Display format on the Single page
Hi guru's
I have two plant details. I want to be display these two plant details in the single page with ALV Grid display format.. like
plant no 1(Details):
xxxx xxxx xxxx xxxx with ALV Grid Display format
plant no 2 (Details):
xxx xxxx xxxx xxxx ALV Grid Display format
Can any body help on the .. if you have sample code pls paste.
Thanks in Advance
Surendrahi,
Grid display is not possible but u can display two list on same page by Block ALV....
TYPE-POOLS : slis.
TABLES : mara,
makt.
SELECT-OPTIONS : mat FOR mara-matnr.
DATA : BEGIN OF itab OCCURS 0,
matnr LIKE mara-matnr,
maktx LIKE makt-maktx,
matkl LIKE mara-matkl,
mtart LIKE mara-mtart,
END OF itab.
DATA : BEGIN OF itab1 OCCURS 0,
mtart LIKE mara-mtart,
count TYPE i,
END OF itab1.
DATA : BEGIN OF itab1_col OCCURS 0,
mtart LIKE mara-mtart,
count TYPE i,
END OF itab1_col.
DATA : t_fcat1 TYPE slis_t_fieldcat_alv,
t_fcat2 TYPE slis_t_fieldcat_alv,
wa_fcat TYPE slis_fieldcat_alv,
t_eve TYPE slis_t_event,
wa_eve TYPE slis_alv_event,
t_layout TYPE slis_layout_alv.
DATA : v_repid LIKE sy-repid,
t_mat LIKE mara-matnr.
DEFINE create_fcat.
clear wa_fcat.
wa_fcat-fieldname = &1.
wa_fcat-seltext_l = &2.
wa_fcat-outputlen = &3.
append wa_fcat to t_fcat1.
END-OF-DEFINITION.
START-OF-SELECTION.
PERFORM get_data.
PERFORM dis_data.
*& Form get_data
text
FORM get_data.
SELECT amatnr bmaktx amtart amatkl INTO CORRESPONDING FIELDS OF TABLE itab
FROM mara AS a INNER JOIN makt AS b ON
amatnr = bmatnr
WHERE a~matnr IN mat.
LOOP AT itab.
itab1-mtart = itab-mtart.
itab1-count = 1.
APPEND itab1.
ENDLOOP.
SORT itab1 BY mtart.
LOOP AT itab1.
MOVE-CORRESPONDING itab1 TO itab1_col.
COLLECT itab1_col.
ENDLOOP.
ENDFORM. "get_data
*& Form dis_data
text
FORM dis_data.
v_repid = sy-repid.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
EXPORTING
i_callback_program = v_repid.
REFRESH t_fcat1.
CLEAR t_fcat1.
REFRESH t_eve.
wa_eve-name = 'TOP_OF_PAGE'.
wa_eve-form = 'TOP_OF_PAGE1'.
APPEND wa_eve TO t_eve.
create_fcat:
'MATNR' 'Material' '10',
'MAKTX' 'Material Description' '40',
'MTART' 'Type' '10',
'MATKL' 'Group' '10'.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = t_layout
it_fieldcat = t_fcat1
i_tabname = 'ITAB'
it_events = t_eve
TABLES
t_outtab = itab.
REFRESH t_fcat1.
CLEAR t_fcat1.
REFRESH t_eve.
wa_eve-name = 'TOP_OF_PAGE'.
wa_eve-form = 'TOP_OF_PAGE2'.
APPEND wa_eve TO t_eve.
create_fcat:
'MTART' 'Type' '10',
'COUNT' 'Total' '5'.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = t_layout
it_fieldcat = t_fcat1
i_tabname = 'ITAB1_COL'
it_events = t_eve
TABLES
t_outtab = itab1_col.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'.
ENDFORM. "dis_data
*& Form top_of_page1
text
FORM top_of_page1.
FORMAT COLOR COL_POSITIVE.
WRITE:/ 'First Block'.
FORMAT COLOR OFF.
ENDFORM. "top_of_page
*& Form top_of_page2
text
FORM top_of_page2.
FORMAT COLOR COL_NEGATIVE.
WRITE /5 'Second Block'.
FORMAT COLOR OFF.
ENDFORM. "top_of_page
reward if usefull.... -
Combining Contents of 2 PDFs into a single page PDF
I need to combine elements of two different PDFs into one, single page PDF.
One PDF is Template of sorts with headers to be edited, the other PDF is a non-ocr scan that includes text and images.
I've found no way to copy and paste on a single page b.t two PDFs. I've tried pasting into an inserted page and then dragging it up or cutting and pasting within the document (with the intention of deleting the unneeded second page) with no luck.
This seems like it should be such a no brainer. Open 1st PDF, Open 2nd PDF, make selection Ctrl C, go to 1st PDF, place cursor where desired, Ctrl V. But it doesn't work at all in an intuitive way like any other document program where you can cut and paste with ease b/t documents and even b/t programs.
So instead, I've copied the part of the image PDF I want into the original word doc of the template, then created a PDF from that. However, when I try to tell Acrobat to make the entire document OCR, it tells me it can’t b/c it contains renderable text (the header information, I’m assuming). If I run the OCR on a PDF containing just the image, it does it no problem.
What is the best way to bring these two documents together in way that results in a single page, completely searchable PDF?Unfortunately, another $700 software purchase is not in the cards and I can’t wrap my mind around why it should be necessary. It seems so nonsensical to me that Acrobat has all these advanced functions for editing, combining, making portfolios etc., yet can not perform the simple task of cutting and pasting between two documents.
While Adobe support was putting me on hold, I doodled up some generic sample documents that I could upload here to illustrate the problem. Hopefully, someone can play with these and give me a workable solution.
The first PDF, Original Acme Clip, represents the file that is provided to me by our clipping service. They cut the item out of a magazine, put the customized info into their standard template in whatever word processing program they use, printed it out, pasted the magazine clip to that page and then scanned the hard copy to PDF-as an image only PDF, it is not optimized for optical character recognition and is not searchable.
The second PDF, Final Acme PDF, represents the file that our workflow eventually ends up as-a PDF containing only the info we want, formatted as we want, in which both the headers and clip content are searchable. To get there currently, we print out the Original ACME Clip, type the relevant info into the headers of a Word template that includes our logo and standard footer, print out the Word template page, manually cut out the scanned image from the PDF, and paste it onto the template paper. The resulting paper is scanned into the Final Acme PDF and OCR is run on the whole thing to make it all searchable.
What we’d like to do is skip all the printing, and manual cutting and pasting. Any and all suggestions for work in Acrobat 9 Pro to do this would be gratefully appreciated! -
Can I have more than one section on a single page?
I opened an old AppleWorks file which has 7 thin columns in two sections, all on a single page. Pages turned it into a two page document. Is there a way to merge the two pages into a single page with two sections?
Thanks in advance!I am facing the same problem. Word had an easy way to have two sections on one page. I can't see that it is a problem. However, my problem was I wanted two sections on the same page. It appears that Pages handles this differently. It is called a layout break. Same drop down menu. I wanted to change from one to two columns and back on the same page. Hope this helps in your situation.
Parrish -
I have a data-entry page that I created using the Page with Form component wizard. It is suddenly not working. As far as I can tell is that it started after I changed the process Success message in the 'Process Row of ...' process that was automatically created when I created the page. I have duplicated the error on another page by changing the process Success message and saving.
The table is in a schema outside of the HTMLDB schema. When I created the page I chose the schema name and table. However when I look at the process, it is showing a different schema for the owner. When I look at the debug statements, the page is erroring out after
0.10: ...DML_PROCESS_ROW (AFTER_SUBMIT) #OWNER#:TPM_PROJECTS:P30_PROJECT_ID:PROJECT_ID|IU
before the error started, it was processing this as:
0.10: ...DML_PROCESS_ROW (AFTER_SUBMIT)
XXTPM:TPM_PROJECTS:P30_PROJECT_ID:PROJECT_ID|IU
In the Owner drop-down for this process, it only shows MARVEL schema so I cannot change it to my schema. Is there any way to fix the error? For the time, I'm going to make my own process, but I wondered if this was the correct behavior....
I'm in 1.6 and the error I receive after making the Success message change to the process is:
ORA-20001: Error in DML: p_rowid=17, p_alt_rowid=PROJECT_ID, p_rowid2=, p_alt_rowid2=. ORA-06550: line 1, column 17: PL/SQL: ORA-00936: missing expression ORA-06550: line 1, column 9: PL/SQL: SQL Statement ignored
Thanks, JanelJanel,
Sounds like you have a schema named MARVEL that you are using as your application's parsing schema but your app also references objects in other schemas. Note that MARVEL is not the HTML DB schema, it's all yours. In 1.6.1, we fixed some problems related to the symptoms you described. I suggest that you apply that patch and recreate any processes that reference objects outside the application's parsing schema.
Scott -
Error updating two reports on same page! Could you have a look please?
Hey guys!
I have the following situation :
two updateable reports on one page with IDs 'DATE_REPORT' and 'WORK_REPORT'
two pl/sql processes on submit after c.... named 'SUBMIT_DATE' and 'SUBMIT_WORK'
two buttons named 'SAVE_DATE' and 'SAVE_WORK'
Finally, the insert and update processes are conditioned to Request = Expression 1 where for the 'DATE_REPORT' it is set to 'SAVE_DATE' and for the 'WORK_REPORT' it is logically set to 'SAVE_WORK'. There are no extra button conditions.
My problem: No matter which button I press, the array is build up from the columns of the first report and continues to add rows of the second report.
For instance: 'DATE_REPORT' has 11 rows and 'WORK_REPORT' has 9 rows. In the debug mode I can see that the array is build up using the 'DATE_REPORT' although 'SAVE_WORK' was accepted as the request. The same problem vice versa for the other update.
......column CNT_ARBEIT_CRIT_DATE mapped to WWV_Flow.g_f02
......column LNG_ARBEITSSCHRITT mapped to WWV_Flow.g_f03
......column STR_ARBEITSSCHRITT not mapped - not stateful.
......column DATE_GP_X_START mapped to WWV_Flow.g_f04
......column DATE_GP_X_END mapped to WWV_Flow.g_f05
......column DATE_R_X_START mapped to WWV_Flow.g_f06
......column DATE_R_X_END mapped to WWV_Flow.g_f07
......column LNG_GEBIET mapped to WWV_Flow.g_f08
......column CS not mapped - not stateful.
...array has 20 row(s). Used f08 to count.
Validate report columns(ApexLib_TabForm.validateColumns)
Row 12 has checksum error. ORA-01403: no data found ORA-01403: no data found ORA-01403: no data found
...Row 12
...LNG_ARBEITSSCHRITT
...CNT_ARBEIT_CRIT_DATE
......is not required
...LNG_GEBIET
......is not required
...DATE_GP_X_START
......is not required
...DATE_GP_X_END
......is not required
...DATE_R_X_START
......is not required
...DATE_R_X_END
0.00: A C C E P T: Request="SAVE_WORK"How can I make sure the arrays are made up from the reports that are subject to the update???
Many thanks for reading this post and giving some help if you have an idea!
Regards,
Seb
Edited by: skahlert on 13.03.2010 10:57Hi Peter! Thanks for your answer. Well, this is what I already assumed! Two updateable reports with different data sources on one page will not work taht easily.
Both reports have different amounts of columns in my case! I might create some pseudocolumns in the first report to match the columns in the second one. Hence I could try to build up the array like that.
However, I believe it will not work as I can't use the primary key for the insert procedure in my second report. This is due to the design of the report.
My initial idea was to somehow deactivate my report regions before running the update resp. insert procedure.
I thought of using the htp.p statement with 'hideShow(''DATE_REPORT'')' and 'hideShow(''WORK_REPORT'')' to deactivate the regions and run the dml processes afterwards. Of course hiding the regions depending on the requested dml process. My question is if it will actually work like that. My try to hide the regions failed. The DATE_REPORT was indeed hidden but the update was still unsuccessful. I believe hiding the region is not sufficient.
Do you have a hint how I can completely disable or deactivate the reports using javascript from pl/sql?
Many thanks and have a splendid sunday!
Regards,
Sebastian -
Oracle 8i database: FATAL ERROR IN TWO-TASK SERVER
Hi,
We've been using Portal 3.0.7.6.2 since it was available. We've just upgraded to Oracle Database 8.1.6.3 (to resolve Apache GPF crashing problems) and have now noticed that our database server process terminates with a fatal error when we try to administer users, though in particular, adding users to existing groups. Error message as follows:
*** SESSION ID:(8.8) 2001-01-16 16:43:16.140
FATAL ERROR IN TWO-TASK SERVER: error = 12571
*** 2001-01-16 16:43:16.156
ksedmp: internal or fatal error
ORA-12571: TNS:packet writer failure
ORA-06512: at line 18
The only way to recover is to terminate the instance's service and restart. This happens every time we add more than 2 users to a group.
Any help would be appreciated.
GaryHi..
From metalink
>
# symptom: FATAL ERROR IN TWO-TASK SERVER:
# symptom: ERROR = 12571
# symptom: trace file generated
# symptom: Database operations continue successfully
# cause: The most common cause for the above error is an ungraceful disconnection of a session from the oracle db while the db is currently running a dml statement issued by that session. The error is recorded when oracle attempts to reply back to the session with the results of the dml and cannot access the session. Overall database operations are usually not affected.
====================
The ora-12571 error usually occurs when the client abruptly terminates with a Ctrl-C or powers down.
OR
The ora-12571 error, usually, indicates an instability with Oracle with the network. Communication Gap between eHub and Database Server.
>
Refer to Doc ID: 164839.1 and Doc ID: 576929.1 on metalink
HTH
Anand
Edited by: Anand... on Jan 16, 2009 1:18 PM DoC ID added -
Update two different tables by a single sql query:
Hi All,
i need to update two different talbes in a single sql query..
i m using the following query
UPDATE FT_User_Alert SET Subscription = 'W' where product_key=1 and measure_key = 12
AND
UPDATE LU_Monthly_Alert_Budget_Sheet SET Min_Red_Range ='16.0' AND Max_Green_Range ='24.0'AND Max_Red_Range ='27.0'AND Min_Green_Range ='16.0' where product_key='1' and measure_key = 12
i m getting the following error:
Odbc driver returned an error (SQLExecDirectW).
Error Details
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43093] An error occurred while processing the EXECUTE PHYSICAL statement. [nQSError: 17001] Oracle Error code: 936, message: ORA-00936: missing expression at OCI call OCIStmtExecute: UPDATE FT_User_Alert SET Subscription = 'W' where product_key=1 and measure_key = 12 AND UPDATE LU_Monthly_Alert_Budget_Sheet SET Min_Red_Range ='16.0' AND Max_Green_Range ='24.0'AND Max_Red_Range ='27.0'AND Min_Green_Range ='16.0' where product_key='1' and measure_key = 12 . [nQSError: 17011] SQL statement execution failed. (HY000)
SQL Issued: EXECUTE PHYSICAL CONNECTION POOL writeback UPDATE FT_User_Alert SET Subscription = 'W' where product_key=1 and measure_key = 12 AND UPDATE LU_Monthly_Alert_Budget_Sheet SET Min_Red_Range ='16.0' AND Max_Green_Range ='24.0'AND Max_Red_Range ='27.0'AND Min_Green_Range ='16.0' where product_key='1' and measure_key = 12
but when i m ushin the same query in Microsoft SQL Server it executes properly:
please help me out...Duplicate thread. I've already answered on your other thread...
update two different tables by a single sql query: -
Two DML operations in one FORALL?
Hi all,
In 11g is it possible to make two dml operations in one Forall loop?
For example:
SQL> create table xx_test (col1 number, col2 number, col3 number);
Table created
SQL> create table xx_test1 (col1 number, col2 number, col3 number);
Table created
SQL> insert into xx_test values(1,2,3);
1 row inserted
SQL> insert into xx_test values(1,2,3);
1 row inserted
SQL> insert into xx_test values(4,5,6);
1 row inserted
SQL> insert into xx_test1 values(6,7,8);
1 row inserted
SQL> declare
2 cursor c is select col1, col2, col3 from xx_test;
3 type t is table of c%rowtype;
4 v t;
5 begin
6 open c;
7 loop
8 fetch c bulk collect into v limit 1000;
9 forall i in 1..v.count
10 update xx_test1
11 set col1 = v(i).col2;
12
13 insert into xx_test1(col1,col2,col3) values(v(i).col1,v(i).col2,v(i).col3);
14
15 exit when c%notfound;
16 end loop;
17
18 end;
ORA-06550: line 14, column 50:
PLS-00201: identifier 'I' must be declared
ORA-06550: line 14, column 50:
PLS-00201: identifier 'I' must be declared
ORA-06550: line 14, column 48:
PL/SQL: ORA-00904: : invalid identifier
ORA-06550: line 14, column 4:
PL/SQL: SQL Statement ignoredany ideas? I know that this can be achieved by processing row by row but in my case the cursor retrieves a lot of rows...
Thanks in advance,
Alexander.Stew, a bulk bind from an OCI client looks as follows:
OCIStmtPrepare()
OCIBindByName()/OCIBindByPos() (binding a host array)
while some-condition loop
fill host array
OCIStmtExecute() (specify the number of elements in array via the iters param)
end loopThe statement is executed once for each array element - according to the OCI guide. So in the case of sending a 100 elements, the statement will be executed (iterated) by Oracle, a 100 times. It however is not exactly clear on how the server-side deals with this execution.
The issue you raised with cursor execution counts, seems to be whether the statement is single statement, or single statement with nested statements.
I have written an OCI client doing the exact same tests as were done in PL/SQL using FORALL in this thread.
If the SQL statement executed is SQL, the cursor that is created is executed only "once" (not exactly true as multiple rows are inserted using a single row DML).
If the statement is PL/SQL, the cursor that is created, is executed "once". So pretty much the same behaviour. However, as this statement contains "nested" SQLs (the actual DML statements), these also need to be parsed and executed as cursors. In which case you see these as being executed a 100 times (once per element in for the bind array).
The issue is whether or not the FORALL DML statement is executed once (as it would appear from the executions column), or not?
It would seem that there is some funky happening (some kind of call optimisation perhaps?) when Oracle deals with an array bind - as the cursor seems to be executed once. But that in fact is not the case as that cursor only inserts a single row. And multiple rows are inserted.
E.g. simplistic example to see how many times the FORALL DML statement is executed:
SQL> create sequence emp_id_seq
2 start with 1
3 increment by 1
4 nocycle
5 nomaxvalue;
Sequence created.
SQL> --// add a PL/SQL user function wrapper for the sequence
SQL> create or replace function GetNextEmpID return number is
2 id number;
3 begin
4 select emp_id_seq.NextVal into id from dual; --// explicit SQL statement
5 return( id );
6 end;
7 /
Function created.
SQL>
SQL> declare
2 cursor c is
3 select empno, ename, job from emp;
4
5 type TBuffer is table of c%RowType;
6 buffer TBuffer;
7 begin
8 open c;
9 loop
10 fetch c bulk collect into buffer limit 100;
11
12 forall i in 1..buffer.Count
13 insert into tab1 values( GetNextEmpID(), buffer(i).ename );
14 exit when c%NotFound;
15 end loop;
16 close c;
17 end;
18 /
PL/SQL procedure successfully completed.
SQL>
SQL> select
2 executions,
3 sql_text
4 from v$sql
5 where sql_text like 'INSERT INTO TAB1%'
6 or sql_text like 'SELECT EMP_ID_SEQ%';
EXECUTIONS SQL_TEXT
14 SELECT EMP_ID_SEQ.NEXTVAL FROM DUAL
1 INSERT INTO TAB1 VALUES( GETNEXTEMPID(), :B1So the insert seems to have been executed once. However, the wrapper was called 14 times and its SQL statement was called 14 times. Once per bind array value.
So there do seem to be some kind of optimisation on the Oracle side - however, it does not mean that the FORALL statement is not using bulk/array binding. It is. And that is what the FORALL statement is designed to do. -
Hi,
deployin my model i get the following error-message.
"Error in executing a process for Flex compilation, Error: Branch between 64935 and 97770 around line 0 exceeds 32K span. If possible, please refactor this component.
Error: Branch between 64935 and 97770 around line 0 exceeds 32K span."
Do i delete a sort-element from my model it is deployed very well. So what does this message exactly mean and how can I locate where the error occurs and how can i fix that problem because i need this sort-element to be in my model.
Thanks for your help!
TobiasHi Tobias,
You are receiving this error due to a current limitation in the Flex server. How you can fix this is to split the iView you are currently working on into two iViews, and embed one within the other. This will decrease the size of the current iView you are receiving the error for and eliminate this problem.
Hope this helps
Cheers,
Scott -
Error while invoking BPEL Process through HTML Page
Hi ,
I have created a HTML Page to invoke BPEL synchronous process .
HTML Page contains :
<html>
<head>
<title>Untitled Document</title>
<h1>Add Macro Task Input Form </h1>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="cyan" text="#000000">
<form name="form1" method="get" action="/httpbinding/default/AddMacroSync/process">
EmployeeId :
<input type="text" name="EmployeeId" ><br>
<br>
TaskName :
<input type="text" name="MacroTaskName" >
<button
id="identifier"
class="dialog"
label="OK"
accesskey="t"/>
<br>
</form>
</body>
</html>
I am able to invoke my BPEL Process named as " AddMacroSync" .
It also creating instance for this BPEL Process .
But when I go BPEL Console and check my instance , it is always faulted .
I am providing two inputs : Employee Id and Taskname through HTML Page .
These inputs got assigned to their respective output variables .
But when I click on audit link ..it shows error while invoking the Process .
It Show error :
when invoking endpointAddress 'http://152.69.248.232:8990/AddMacroTask-AddMacroTask-context-root/AddMacroTaskWebService', [java.lang.NumberFormatException]
But this end point address is working when I put this address in URL .
Please someone help me how to solve this problem .
Thanks
Prashant Dwivedi
Message was edited by:
Prashant DwivediHi Clemens ,
I changed My HTML ...Now it looks like as :
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="application/x-www-form-urlencoded; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<form name="form1" method="post" action="/httpbinding/default/AddMacroSync">
<input type="hidden" name="msg_part" value="payload">
<input type="hidden" name="namespace" value="http://xmlns.oracle.com/AddMacroSync">
EmployeeId:
<input type="text" name="EmployeeId">
TaskName :
<input type="text" name="TaskName">
<input type="submit" name="Submit" value="Submit">
</form>
</body>
</html>
After this when I try to incoke my BPEL Process through this HTML :
I am gettign following error :
500 Internal Server Error
java.lang.IllegalStateException: IOException: Premature end of POST data
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.EvermindHttpServletRequest.getParameter(EvermindHttpServletRequest.java:2452)
at com.collaxa.cube.ws.http.HttpBindingServlet.checkSecurity(HttpBindingServlet.java:281)
at com.collaxa.cube.ws.http.HttpBindingServlet.doPost(HttpBindingServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534) -
Hello All,
We are using a two tier architecture.
Our Corp server calls the refinery server.
Our CORP MII server uses user id abc_user to connect to the refinery data server.
The user id abc_user has the SAP_xMII_Dynamic_Query role.
The data server also has the checkbox for allow dynamic query enabled.
But we are still getting the following error
Error has occurred while processing data stream
Dynamic Query role is not assigned to the Data Server; Use query template
Once we add the SAP_xMII_Dynamic_Query role to the data server everything works fine. Is this feature by design ?
Thanks,
KiranThanks Anushree !!
I thought that just adding the role to the user and enabling the dynamic query checkbox on the data server should work.
But we even needed to add the role to the data server.
Thanks,
Kiran
Maybe you are looking for
-
Installed the update tonight and now my phone (Lumia 928) won't power up. I've tried a soft reset, but the screen goes from the Nokia logo to a red Verizon screen to a black screen. Tried it 10 times with the same result. What's wrong and how do I
-
Icloud Control Panel 3.1 not working in Windows 8.1/Outlook 2013
Every time I start the Icloud Control Panel, I get the message: "Repair the Icloud Control Panel to use Icloud with Outlook". I have Outlook 2013, and windows 8.1 pro 64 bit. Needles to say contacts are not being sincronyzed between Icloud and Outl
-
Which is better, Outlook or Thunderbird?
Hi, I just want to know that which email client is better, Outlook or Thunderbird? Please help with your suggestions.
-
Time Machine sees more data than actually exists
Another way to put it is that Time Machine requires more space than is needed. I found similar posts, but none that were solved. My MacPro has a 160GB startup drive, and three 1TB (931.2GB formatted) storage drives in it. I have a 1TB external FW800
-
Hi Is it possible to export a client in Test mode in Basis 700 release? Thanks for any pointers, Abdul