Error in Event Binding for Table UI element
Hi,
I had created a table UI element in my web dynpro component and it worked fine. After a few weeks, while I was making some other changes in the same module and did a syntax check on the component, I got this error "The event binding for element "TBL_ABC" contains errors". There is a "Correct errors" button given along with this error message, which removes the error. But I just wanted to know what is the reason for this error.
Regards,
Akshatha.
Hi,
Please check for the cardinality of the node which you are using to bind for the TABLE UI element.
I think the cardinality should be either 1:N or 0:N.
Give it a try.
Regards,
Lekha
Similar Messages
-
Logic regarding EVENTS OnFilter and OnLeadSelect for table ui element
provide me logic regarding EVENTS OnFilter and OnLeadSelect for table ui element for webdynpro abap application.
OnLeadSelect - What kind of logic do you want? There are many different things that you could do inthe OnLeadSelect
onFilter- Generally you use IF_WD_TABLE_METHOD_HNDL~APPLY_FILTER to perform the filter operation.
In the onFilter itself you probably just have one line of code:
wd_this->table_method_hndl->apply_filter( ).
In your WDDOMODIFYVIEW you probably have this code to capture the table_method_hndl object:
if first_time = abap_true.
* Get reference of the table view element
l_table ?= view->get_element( 'TABLE' ).
* Get reference to the Filter & Sorting API
wd_this->table_method_hndl ?= l_table->_method_handler.
endif. -
Error when executing statement for table/stored proc
Hi All,
I am getting this error when executing IDOC to JDBC (Stored Procedure) Scenario.
In my stored procedure I have three insert statements to insert rows in to 3 tables.
This stored procedure is working fine for two insert statements i.e,
For this I have created data type for stored procedure with 10 elements and executed the scenario and was successfully running.
when I added 3rd insert statement to stored procedure ie., when i added 5 more elements to the datatype (totally 15 elements) it starts giving the bellow error in Message Monitoring.
<i><b>Exception caught by adapter framework: Error processing request in sax parser: Error when executing statement for table/stored proc. 'COGRP_TMP_PROC_1' (structure 'Statements'): java.sql.SQLException: General error</b></i>
<i><b>Delivery of the message to the application using connection JDBC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'COGRP_TMP_PROC_1' (structure 'Statements'): java.sql.SQLException: General error</b></i>
Note:- I have run the stored procedure with three insert statements in Sql Server, and also by calling an external program also, and was working fine.
<i><b> Note : Is there any structure needs to be follow when working with IDOC to Stored procedure.</b></i>
I am struck up with the error, can any body resolve this issue.
Thanks in Advance,
MurthyHi narasimha,
This seems to be any error due to incorrect query formation.In your receiver jdbc channel set the parameter logSQLstatement = true.you can find this parameter in the advanced mode. Using this parameter you will be able to see the sql query which is generated at runtime in the audit log in RWB.
Regards,
Pragati -
File to JDBC :Error when executing statement for table/stored proc.
Hi,
I am getting following error when i am trying to insert data into z-table using JDBC recr adapter.
Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'ZTEST' (structure 'STATEMENT'): java.sql.SQLException: <u>[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Invalid object name '<b>ZTEST</b>'.</u>
But the database table name 'ZTEST' exists in the system.
XML structure:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_RECR xmlns:ns0="http://urn:srini/FileToJDBC">
<STATEMENT>
<TEST action="INSERT">
<table>ZTEST</table>
<access>
<ROLLNO>123</ROLLNO>
<FIRSTNAME>ABC</FIRSTNAME>
<LASTNAME>XYZ</LASTNAME>
</access>
</TEST>
</STATEMENT>
</ns0:MT_RECR>
Regards,
SrinivasHi,
I have changed my MT str but still getting the same error.Is it possible to insert/ update a z-table using JDBC adapter.
XML str:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_RECR xmlns:ns0="http://urn:srini/FileToJDBC">
<STATEMENT>
<ZTEST action="INSERT">
<access>
<ROLLNO>123</ROLLNO>
<FIRSTNAME>abc</FIRSTNAME>
<LASTNAME>XYZ</LASTNAME>
</access>
</ZTEST>
</STATEMENT>
</ns0:MT_RECR>
Regards,
Srinivas -
SQL*Loader-929: Error parsing insert statement for table
Hi,
I get the following error with SQL*Loader:
Table MYTABLE loaded from every logical record.
Insert option in effect for this table: INSERT
Column Name Position Len Term Encl Datatype
IDE FIRST * ; CHARACTER
SQL string for column : "mysequence.NEXTVAL"
CSI_NBR 1:10 10 ; CHARACTER
POLICY_NBR 11:22 12 ; CHARACTER
CURRENCY_COD 23:25 3 ; CHARACTER
POLICY_STAT 26:27 2 ; CHARACTER
PRODUCT_COD 28:35 8 ; CHARACTER
END_DAT 44:53 10 ; CHARACTER
FISCAL_COD 83:83 1 ; CHARACTER
TOT_VAL 92:112 21 ; CHARACTER
SQL*Loader-929: Error parsing insert statement for table MYTABLE.
ORA-01031: insufficient privileges
I am positive that I can SELECT the sequence and INSERT into the table with the user invoking sql*loader.
Where does that "ORA-01031" come from?
Regards
...Options:
1) you are wrong about privileges OR
2) you have the privilege only when you connect via SQL*Plus (or whichever other tool you used to test the insert).
Is it possible that during your test you enabled the role which granted you the INSERT privilege - and that SQL*Loader doesn't do this?
Can you see the table in this list?
select *
from user_tab_privs_recd
where table_name='MY_TABLE'
and owner='table owner whoever';
select *
from user_role_privs;Any roles where DEFAULT_ROLE is not YES?
HTH
Regards Nigel -
HEllo, i've a problem when i try to load a file, the message is:
SQL*Loader-926: OCI error while OCIStmtExecute(trigger_hp) for table <table>
ORA-00904: invalid column name
what is the solution for this?
thanksThe root cause is in the error ora-1426, which you can look up in the online error documentation at http://tahiti.oracle.com . No one knows every error message by heart. This means it is expected you look up the error prior to posting, and you don't expect any volunteer in this forum to look up the error on your behalf.
Also this is a typical candidate for being a known problem, and known problems can be found on My Oracle Support.
Sybrand Bakker
Senior Oracle DBA -
Error when executing statement for table/stored proc DB2 - Data Truncation
Hi,
I have one call sp in XI with n parameters int and two parameters out.
well, to implement the interface gives the following error
com.sap.aii.af.ra.ms.api.DeliveryException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'SPSAPAR9' (structure 'Statement'): java.sql.SQLException: The number of parameter values set or registered does not match the number of parameters
Thanks for your help
Ximena
Edited by: Ximena Gonzalez on Feb 19, 2008 11:50 AM
Edited by: Ximena Gonzalez on Feb 20, 2008 12:17 PMMy Error is change
Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'SAPPRG.SPSAPAR9' (structure 'Statement'): java.sql.DataTruncation: Data truncation
but de change DT SP
<?xml version="1.0" encoding="UTF-8" ?>
<ns1:AlistReqDet2_MT xmlns:ns1="urn:proxl:tmuc:proxl01:AlistReqItems">
<Statement>
<SPSAPAR9 action="EXECUTE">
<table>SAPPRG.SPSAPAR9</table>
<ISAPNU1 isInput="TRUE" type="STRING">0080000353</ISAPNU1>
<ISAPEM1 isInput="TRUE" type="STRING">'LU'</ISAPEM1>
<ISAPC05 isInput="TRUE" type="STRING">15353</ISAPC05>
<ISAPSEC isInput="TRUE" type="STRING">10</ISAPSEC>
<ISAPLOT isInput="TRUE" type="STRING">'lats'</ISAPLOT>
<ISAPCA1 isInput="TRUE" type="STRING">10</ISAPCA1>
<ISAPCA2 isInput="TRUE" type="STRING">10</ISAPCA2>
<ISAPKIL isInput="TRUE" type="STRING">10</ISAPKIL>
<ISAPES1 isInput="TRUE" type="STRING">'T'</ISAPES1>
<ISAPSW isOutput="TRUE" type="STRING" />
</SPSAPAR9>
</Statement>
</ns1:AlistReqDet2_MT> -
Error when executing statement for table/stored proc. : ORA-00911
Hi All,
I am posting IDOC->XI->JDBC, approx 5000 Idocs.
But few messages are giving following error in XI-_SXMB_MONI
Can any one guide me what is the cause of error? I check whole Idoc data I am not able to see bad character? can any once guide me what are the bad character in XML to post data in oracle? so that i can search in XML and how to avoide this error.
"com.sap.aii.af.ra.ms.api.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'HRP1001' (structure 'INSERT_PAD34'): java.sql.SQLException: ORA-00911: invalid character"> I am talking about following IDOC.<ZRMD_A06> ->
> <E1PLOGI SEGMENT="1">-> <E1PITYP SEGMENT="1"> ->
> <E1PAD34 SEGMENT="1"> -><PROZT>0.00 #</PROZT>.
> Can we remove this # during message mapping in XI??
sure you can remove it using Replace function or by writing UDF.
as I am seing # is last character..<b>so remove # with " " (single space) and then use the TRIM fucntion.</b>
Thanks
Farooq.
*<b>Rewards points if you find it useful*</b> -
Error in context binding for text property
Hello experts,
I receive this error in my WD4A application:
The following error text was processed in the system XXX : Context binding for property TEXT of "T_MONTHTO"
cannot be resolved: Node MAINVIEW.1.TEMPVAL2 does not contain any elements
The error occurred on the application server sapxxxxx_XXX_00 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: RAISE_FOR of program CX_WDR_ADAPTER_EXCEPTION======CP
Method: RAISE_BINDING_EXCEPTION of program CL_WDR_VIEW_ELEMENT_ADAPTER===CP
Method: GET_BOUND_ELEMENT of program CL_WDR_VIEW_ELEMENT_ADAPTER===CP
TEMPVAL2 has cardinality 0..1, selection 0..1, Inizialization Lead Selection false and the ST22 dump says:
33
34 if l_adapter->m_view_element is bound.
35 l_component ?= l_adapter->m_view_element->view->if_wd_controller~get_component( ).
36 l_view_name = l_adapter->m_view_element->view->name.
37 l_view_element_id = l_adapter->m_view_element->id.
38 l_component_name = l_component->component_name.
39 endif.
40
41 if l_adapter->m_context_element is bound.
42 l_path = l_adapter->m_context_element->get_path( ).
43 endif.
44
>> raise exception type cx_wdr_adapter_exception
46 exporting
47 textid = textid
48 previous = previous
49 component_name = l_component_name
50 view_name = l_view_name
51 view_element_id = l_view_element_id
52 adapter_stack = l_adapter_stack
53 path = l_path
54 p1 = l_p1
55 p2 = l_p2
56 p3 = l_p3
57 p4 = l_p4
58 reason = reason.
59 endmethod.
Could anybody please tell me why exactly this error is occuring?
Many regards,
MartinHi Martin,
I am getting the same error. can you please help me resolve this error.
Error:
Note
The following error text was processed in the system RS2 : Adapter error in &VIEW_ELEMENT_TYPE& "VBELN" of view "Z_MYFIRST_WEBDYNPRO.MAIN": Context binding of property VALUE cannot be resolved: Node MAIN.1.NODE_VBAK does not contain any elements
My Code is in the Method for the action is created for a button on MAIN VIEW
METHOD onactionaction_find .
wd_this->fire_to_alv_table_plg( ).
DATA: node_node_vbak TYPE REF TO if_wd_context_node,
elem_node_vbak TYPE REF TO if_wd_context_element,
stru_node_vbak TYPE if_main=>element_node_vbak .
stru_node_vbak type wd_this->element_node_vbak.
navigate from <CONTEXT> to <NODE_VBAK> via lead selection
break dasarikb.
node_node_vbak = wd_context->get_child_node( name =
wd_this->wdctx_node_vbak ).
get element via lead selection
elem_node_vbak = wd_context->get_element( ).
get all declared attributes
elem_node_vbak->get_attribute(
exporting
name = 'VBELN'
IMPORTING
value = stru_node_vbak ).
DATA: ls_where(72) TYPE c,
lt_where LIKE TABLE OF ls_where,
lt_vbak TYPE STANDARD TABLE OF vbak.
create where condition
IF NOT stru_node_vbak-vbeln EQ ''.
CONCATENATE 'VBELN = ''' stru_node_vbak-vbeln '''' INTO ls_where.
APPEND ls_where TO lt_where.
ENDIF.
IF NOT stru_node_vbak-erdat EQ '00000000'.
CONCATENATE 'ERDAT = ''' stru_node_vbak-erdat '''' INTO ls_where.
IF stru_node_vbak-vbeln NE ''.
CONCATENATE 'AND' ls_where INTO ls_where SEPARATED BY space.
ENDIF.
APPEND ls_where TO lt_where.
ENDIF.
SELECT *
FROM vbak
INTO TABLE lt_vbak
WHERE (lt_where).
DATA: node_node_alv TYPE REF TO if_wd_context_node,
stru_node_alv TYPE if_main=>element_node_alv.
navigate from <CONTEXT> to <NODE_ALV> via lead selection
node_node_alv = wd_context->get_child_node( name =
if_main=>wdctx_node_alv ).
get all declared attributes
node_node_alv->bind_table( lt_vbak ).
ENDMETHOD.
Thanks,
Kiran -
Error in Fast Formula for Supplemental Earnings Elements
Hi,
I have an requirement in Supplement Earning Elements for US Localization. I need to define some Supplement Earning Elements that should comes in Payroll with the extension of existing Elements.
Here are the Steps for setups which i have done so far-
Step 1:Created new Elements with their values with effective dates for existing user Table name
Step 2:Done the setup for New Elements with classification as Supplemental and Category also attached the formula like "FLAT AMOUNT" formula for Calculation rule in Element Earning screen.
Step 3: when i tried to query for the element i have created, the value in Calculation Field is "Elementname_FLAT_AMOUNT_RWSI" which is not same for the existing elements.Existing Element which is of same classification and same category the Calculation rule field is "ElementName_FLAT_AMOUNT".
Step 4: After that i did setup for Element Description and Element Link.
Step 5: Then i have copied the Formula from Existing element(which is previously configured and working fine for the existing elements ), made the modifications for the newly created element. When Compiling the formula ,i am getting an Error "Incorrect Data type"
I have two queries -
1- The setup in Earnings Screen with Calculation Rule is correct or not. As the Calculation Field for newly elements and the existing elements are different (as mentioned in Step 3).
2- Compilation Error "Incorrect Data Types" in Fast Formula.(as mentioned in Step 5).
I m pasting the Fast Formula code here for ready reference
Default for TERMINATED_EMPLOYEE is 'N'
Default for RUN_TYPE is 'R'
Default for FINAL_PAY_PROCESSED is 'N'
default for PAYROLL_TERMINATION_TYPE is 'L'
default for BG_TERMINATION_TYPE is 'L'
default FOR LAST_STANDARD_PROCESS_DATE_PROCESSED IS 'N'
DEFAULT FOR ELEMENT_NAME_NEG_EARNINGS_ASG_GRE_ITD IS 0
DEFAULT FOR ELEMENT_NAME_ADDITIONAL_ASG_GRE_ITD IS 0
DEFAULT FOR ELEMENT_NAME_REPLACEMENT_ASG_GRE_ITD IS 0
DEFAULT FOR ELEMENT_NAME_ASG_GRE_YTD IS 0
DEFAULT FOR ELEMENT_NAME_ASG_GRE_RUN IS 0
Default for PAY_EARNED_START_DATE is '02-JAN-0001' (DATE)
Default for PAY_EARNED_END_DATE is '02-JAN-0001' (DATE)
Default for ASG_NUMBER is ' '
Default for ELEMENT_NAME_ASG_GRE_FYTD IS '0'
Default for CURRENT_ELEMENT_TYPE_ID is 0
Default for GROUP_KF_PAY_FREQUENCY is '0'
DEFAULT FOR Amount IS 0
INPUTS ARE Amount
IF ELEMENT_NAME_REPLACEMENT_ASG_GRE_ITD WAS DEFAULTED OR ELEMENT_NAME_REPLACEMENT_ASG_GRE_ITD = 0 THEN
pay_frequency = GROUP_KF_PAY_FREQUENCY
ELEMENT_TYPE_ID_PASSED = CURRENT_ELEMENT_TYPE_ID
annual_rate = HCS_GET_SUPPLEMENT_RATE(ELEMENT_TYPE_ID_PASSED, PAY_EARNED_END_DATE, 'General Rate')
annual_bal = ELEMENT_NAME_ASG_GRE_FYTD
IF annual_bal = annual_rate THEN
Amount = 0.00
mesg = 'Contract amount '||TO_CHAR(annual_rate)||' fully paid for '||ASG_NUMBER
ELSE
Amount = annual_rate / TO_NUMBER(pay_frequency)
If abs(annual_bal+amount-annual_rate) < 1 then
Amount = annual_rate-annual_bal
IF ELEMENT_NAME_ASG_GRE_RUN=0 THEN
flat_amount = Amount
+ ELEMENT_NAME_ADDITIONAL_ASG_GRE_ITD
+ ELEMENT_NAME_NEG_EARNINGS_ASG_GRE_ITD
ELSE
( flat_amount = Amount )
ELSE
(flat_amount = ELEMENT_NAME_REPLACEMENT_ASG_GRE_ITD + ELEMENT_NAME_ADDITIONAL_ASG_GRE_ITD
+ ELEMENT_NAME_NEG_EARNINGS_ASG_GRE_ITD
clear_repl_amt = -1 * ELEMENT_NAME_REPLACEMENT_ASG_GRE_ITD
IF ELEMENT_NAME_ASG_GRE_RUN = 0 THEN
IF ELEMENT_NAME_ADDITIONAL_ASG_GRE_ITD <> 0 THEN
clear_addl_amt = -1 * ELEMENT_NAME_ADDITIONAL_ASG_GRE_ITD
IF flat_amount < 0 THEN
(IF (PAYROLL_TERMINATION_TYPE WAS DEFAULTED AND
BG_TERMINATION_TYPE = 'A' AND
TERMINATED_EMPLOYEE = 'Y' AND
FINAL_PAY_PROCESSED = 'N') OR
(PAYROLL_TERMINATION_TYPE = 'A' AND
TERMINATED_EMPLOYEE = 'Y' AND
FINAL_PAY_PROCESSED = 'N') OR
(PAYROLL_TERMINATION_TYPE WAS DEFAULTED AND
BG_TERMINATION_TYPE = 'L' AND
TERMINATED_EMPLOYEE = 'Y' AND
LAST_STANDARD_PROCESS_DATE_PROCESSED = 'N') OR
(PAYROLL_TERMINATION_TYPE = 'L' And
TERMINATED_EMPLOYEE = 'Y' AND
LAST_STANDARD_PROCESS_DATE_PROCESSED = 'N') THEN
neg_earn = -1 * ELEMENT_NAME_NEG_EARNINGS_ASG_GRE_ITD
ELSEHuman Resource Management (HRMS)
(neg_earn = flat_amount - ELEMENT_NAME_NEG_EARNINGS_ASG_GRE_ITD
flat_amount = 0
ELSE
(IF ELEMENT_NAME_NEG_EARNINGS_ASG_GRE_ITD <> 0 THEN
neg_earn = -1 * ELEMENT_NAME_NEG_EARNINGS_ASG_GRE_ITD
IF (PAYROLL_TERMINATION_TYPE WAS DEFAULTED AND
BG_TERMINATION_TYPE = 'A' AND
TERMINATED_EMPLOYEE = 'Y' AND FINAL_PAY_PROCESSED = 'N') OR
( PAYROLL_TERMINATION_TYPE = 'A' AND
TERMINATED_EMPLOYEE = 'Y' AND FINAL_PAY_PROCESSED = 'N') OR
(PAYROLL_TERMINATION_TYPE WAS DEFAULTED AND
BG_TERMINATION_TYPE = 'A' AND
TERMINATED_EMPLOYEE = 'Y' AND FINAL_PAY_PROCESSED = 'Y'
AND RUN_TYPE != 'R') OR
( PAYROLL_TERMINATION_TYPE = 'A' AND
TERMINATED_EMPLOYEE = 'Y' AND FINAL_PAY_PROCESSED = 'Y' AND
RUN_TYPE != 'R') THEN
(STOP_ENTRY = 'Y'
mesg = ' ELEMENT_NAME earning has been stopped for this assignment.'
ln_calc_meth = SET_ALTRNT_FLAT_RATE_CALC_METH('NOT_APPLICABLE','NOT_APPLICABLE')
if (1 = 1) then (
soe_run = ELEMENT_NAME_ASG_GRE_RUN
soe_ytd = ELEMENT_NAME_ASG_GRE_YTD
RETURN flat_amount, clear_addl_amt, clear_repl_amt, neg_earn, STOP_ENTRY, mesg
Can anyone help me in solving this problem. Any kind of pointers would be helpful.
Thanks
Pradeep.Hi Pradeep,
Hope you created the new element using the 'Earnings Template' form. If it is created using the 'Earnings Template' form then the calculation rule
should be correct. You said you are modifying the new element formula by using the existing element formula code, have you checked if the
formula code to the old and new once have changed anything other than the element name and standard input elements reference. Try to use
the debug messages in formula and see if that give you any clue. You should find the document in metalink how to debug a formula.
Thanks,
Satin -
Dynamic binding for table column
Hi,
I am using standard application and in a table (not ALV) i want to chnage the name of a column. Already a OTR is placed in it so am planning to do a dynamic bind for the text in the header. Kindly suggest ways.
Thanks,
KoushikDATA:
l_caption TYPE string,
l_title TYPE string.
data lr_caption type ref to cl_wd_caption.
*---Get OTR Text for Value Description
CALL METHOD cl_wd_utilities=>get_otr_text_by_alias
EXPORTING
alias = 'ZPERF_MGMT_DEV/RATING'
language =
RECEIVING
alias_text = l_title.
lr_caption ?= view->get_element( 'TBL_VAL_HELP_DESCRIPTION_HEADER' ).
lr_caption->set_text( value = l_title ). -
Error in Jaxb binding for wsdl document
Hello
below is my wsdl and binding.xjb that I am using. I want to rename the " <element name="getRelatedAssets">" name from 'getRelatedAssets' to 'getRelatedAssetsX'.
But when I run it i got the following error
[ERROR] compiler was unable to honor this property customization. It is attached to a wrong place, or its inconsistent with other bindings.
[ERROR] (the above customization is attached to the following location in the schema)
line 16 of file:/C:/Users/syedf/Documents/Checkers/4842/sample.wsdl
Here is my wsdl:
<wsdl:definitions targetNamespace="http://services.external.dmh.ibm.com"
xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:impl="http://services.external.dmh.ibm.com" xmlns:intf="http://services.external.dmh.ibm.com"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<wsdl:types>
<schema elementFormDefault="qualified" targetNamespace="http://services.external.dmh.ibm.com"
xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:impl="http://services.external.dmh.ibm.com" xmlns:intf="http://services.external.dmh.ibm.com"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<complexType name="WsaaAuthToken">
<sequence>
<element name="authToken" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
<element name="getRelatedAssets">
<complexType>
<sequence>
<element name="token" nillable="true" type="impl:WsaaAuthToken"/>
<element name="anchorAsset" nillable="true" type="impl:WsaaAssetKey"/>
<element name="relationshipName" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
</element>
</wsdl:definitions>
and here is my binding file:
<jaxws:bindings
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:jaxws="http://java.sun.com/xml/ns/jaxws"
xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" jaxb:version="2.1"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
wsdlLocation="C:\Users\syedf\Documents\Checkers\4842\sample.wsdl">
<jaxws:bindings node="wsdl:definitions/wsdl:types/xsd:schema">
<jaxb:bindings node="//xsd:element[@name='getRelatedAssets']">
<jaxb:property name="getRelatedAssetsX"/>
</jaxb:bindings>
</jaxws:bindings>
</jaxws:bindings>
Can anyone help me out in finding what wrong I am doing.
I appreciate.Well, As I mentioned There is an element named 'getRelatedAssets' and I want to rename it to some other name like 'getRelatedAssetsXXXXX' which would not be in Schema using jax binding.
Note. When I manually change the name to 'getRelatedAssetsXXXXX' in WSDL, it works. but I want to make it using jaxbinding.
Anyways,Thanks for the reply. -
Getting at the data binding for table rows in ADF/UIX
At the highest level, I'm trying to figure out the best way to get spreadsheet-like behavior in a table where some of the cells are editable. The table cells were created using the "model=${uix.current.<columnName>}" mechanism.
I've been able to specify event handlers triggered by the <primaryclientaction> for a table cell component which call into static java methods. But I haven't been able to figure out what binding to use to get at the Java instance for that cell's row in order to use <invoke> to get at non-static methods in the row's view object. The ${uix.current} binding is stale at that point.
Are the table row data bindings just gone after the table is rendered or is there some alternate notation that lets me get at them.
Thanks in advance.the primaryclient action should pass the rowkey of the current row (${uix.current.rowKeyStr}) as a parameter. This way the server can find the corresponding row on the server in an event handler.
see
http://www.oracle.com/technology/products/jdev/tips/jacobi/edittable/tip_adfuixtable_edit.html -
Binding for table produces list for other tables using foreign key and crea
Using
software Jdev 11G, WLS 11G, Oracle DB 11G, Windows Vista platform
technology EJB 3.0, jspx, backing beans, session bean
I cannot create a namedquery on my secondary table. The method for the column uses the entity object rather than the name and value of the column.
For instance,
(Coketruck) table has inventory records(Products) table
Coketruck has one to many to the Products table
Products has a many to one to the Coketruck
I need to return the products from the product table based on the CokeTruck but I cannot create a namedQuery because the method in the Product table is an entity object type instead of a long that I can use to look up all the products based off the column truck_id.
This is what I was expecting…
Private Long truckId;
public Long getTruckId() {
return truckId;
public void setTruckId (Long truckId) {
this. truckId = truckId;
Instead this is what I have…
@ManyToOne
@JoinColumn(name = "TRUCK_ID")
private Coketruck coketruck;
this. coketruck = coketruck
public Coketruck getCoketruck() {
return coketruck;
public void set Coketruck (Coketruck coketruck) {
this. coketruck = coketruck;
How do I do a query on the Product table to return all the products that are in the coketruck?
If I do the following it expects for me to pass the Entity Object which I cannot use as search criteria for my find method.
@NamedQuery(name = "Products.findById", query = "select o from Products o where o.truckId = :truckId")
On a different note but the same song…
I noticed that when I look at my Session Bean Data Contols that the coketruck already has a list of the products. I have created a jsp page with a backing bean and have been able to use the namedquery on the coketruck entity to retrieve the productList. Unfortunately I need to sort the products by type and was also not able to find where to perform the work to be able to iterate through the productList to get my desired display. Therefore I started looking at doing another namedquery that would only retrieve the product_type ordering by the truckId.
Seems I have come full circle… I don’t care what method I have to use to get the info back.
Any help is greatly appreciated!user9005175 wrote:
Hi!
I work on an application wich uses a shopping cart stored in a database. The shopping cart uses two tables:
CART: Holds information common for one shopping cart: the user it is connected to etc.
- Primary key: CART_ID
CART_ROW: One row in the cart, e.g. one new product to buy.
- Primary key: ROW_ID
- Foreign key: CART_ROW.CART_ID references CART.CART_ID
From the code the rows in the cart are collected per cart, as is modelled by the foreign key. There exists one more relationship, which we use in the code, but which is not modelled by a foreign key in the database. One row can be dependent on another row, which makes the other row a parent.
CART_ROW has a column PARENT_ID which references CART_ROW.ROW_ID.
Should we add a foreign key for PARENT_ID? Or are there any questions to consider when it is a foreign key to the same table?
I suggest to add foreign key it wont harm the performance (except while on insert when there would be validation for the foreign key). But it would prevent users to insert wrong/corrupt data either through code or directly by loggin in the database.
A while ago we added indexes, both on ROW_ID and on PARENT_ID. Could the index on PARENT_ID have been harmful, since there is no foreign key?
Index on parent_id would only be harmful if you do not make use of index after creating it (i.e. there is no query which make use of this index).
And if you decide to have a foreign key on parent_id then I suggest to have index too on parent_id as it would be helpful atleast when you delete any record in this table.
Best regards! -
Error while loading data for table. (ADM0161)
I've this messages when I perform a Scan
and Repair operation in version 5.1
The table is obj_X_DOCUMENTS
Can you help me?
ThanksCheck following KB (SAP Note) - 1181953 - Errors: "ADM0161," "DA0005," "ORA-12535," "ORA-00911,"ORA-01001" and "ORA-12560" after moving repository and data source databases between database servers.
Either connection to your Document domain is not working or you have corrupted DB and need to restore from backup.
Please note, 5.1 is no longer supported. Only online content is still available.
Maybe you are looking for
-
When I enter new images into iPhoto I name them using a set scheme. It goes something like this D108R218 - 14 - 1. The number following D is for the DVD disk on which the backup for this image is stored, the number following R is for the number of th
-
Hi, I have a report which contains 10+ shopping carts cretaed by user XYZ But when I try to see the details of this shopping cart it falls into error "The following error text was processed in the system DE1 : Attribute for user contains errors. Info
-
Webi hanging in Document View mode on prompt refresh after 15 seconds of inactivity
I have a particular issue with a report that contains 5 prompts, when I Refresh the report and quickly point, select, or otherwise refresh list of values and Run Query the report runs in a flash however if I wait for about 15 seconds as a new user mi
-
Oracle RAC interconnect performance by GRIDControl
Hi All, We have Oracle 10g Rac and we manage database through Grid control. We are not able to see <Performance> and <Interconnects> tabs in rac cluster page , do you guys know why? logged into sysman--> at right corner <targets> at left side I could
-
How can i retrieved data into the infocube from archived files
hi, i have archived cube data and i have to load data into the cube from archived files. so now i want to find archived files and how to load data into the cube. thanks