Transaction problems using AquaLogic Data Services

Using WebLogic 10.2 and ALDSP 3.2.
I am using WebServices and DataServices.
I wrote a webservice to do the following:
1) Use a DSP Control to get data from a dataservice
2) Use a DSP Control to update some of that data
3) Use a DSP Control to create a new record (on a different table)
4) Throw a SOAPexception if something doesn't look right.
None of my data is getting rolled back on the Exception.
What attributes need to be set for the rollback to work correctly? Or do I have to write some transaction code in the web service?

I don't find any errors logged in AdminServer.log. All I find is a successful execution of the GRAVAR stored procedure. So, of course you will find the inserts that it does in the database.
####<12/06/2008 15h45min39s GMT-03:00> <Info> <ALDSP> <e082250> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <> <1213296339348> <000000> <MedialDSP> <DSPAuditEvent timestamp: Thu Jun 12 15:45:38 GMT-03:00 2008 severity: WARNING id: MedialDSP:7:Thu Jun 12 15:45:38 GMT-03:00 2008 {
common/application {
user: weblogic
name: MedialDSP
eventkind: update
server: AdminServer
query/cache/queryplan {
type: XQUERY_PLAN_CACHE
found: false
query/performance {
compiletime: 15
query/wrappers/procedure {
datasource: jdbc/mdlpnpd
name: SOA.SOA_PROPOSTA_PG.GRAVAR
rows: 0
time: 1093
common/session/query/invocation {
time: Thu Jun 12 15:45:39 GMT-03:00 2008
duration: 0
update/service {
procedure: GRAVAR
arity: 43
dataservice: ld:fisico/mdlpnpd/proposta/GRAVAR.ds
script: declare namespace ns0="ld:fisico/mdlpnpd/proposta/GRAVAR";
declare namespace ns1="http://www.w3.org/2001/XMLSchema";
declare variable $__fparam0 as ns1:string external;
declare variable $__fparam1 as ns1:decimal external;
declare variable $__fparam2 as ns1:decimal external;
declare variable $__fparam3 as ns1:string external;
declare variable $__fparam4 as ns1:string external;
declare variable $__fparam5 as ns1:string external;
declare variable $__fparam6 as ns1:string external;
declare variable $__fparam7 as ns1:string external;
declare variable $__fparam8 as ns1:dateTime external;
declare variable $__fparam9 as ns1:decimal external;
declare variable $__fparam10 as ns1:decimal external;
declare variable $__fparam11 as ns1:decimal external;
declare variable $__fparam12 as ns1:decimal external;
declare variable $__fparam13 as ns1:decimal external;
declare variable $__fparam14 as ns1:decimal external;
declare variable $__fparam15 as ns1:string external;
declare variable $__fparam16 as ns1:string external;
declare variable $__fparam17 as ns1:string external;
declare variable $__fparam18 as ns1:string external;
declare variable $__fparam19 as ns1:decimal external;
declare variable $__fparam20 as ns1:decimal external;
declare variable $__fparam21 as ns1:decimal external;
declare variable $__fparam22 as ns1:decimal external;
declare variable $__fparam23 as ns1:string external;
declare variable $__fparam24 as ns1:string external;
declare variable $__fparam25 as ns1:string external;
declare variable $__fparam26 as ns1:string external;
declare variable $__fparam27 as ns1:string external;
declare variable $__fparam28 as ns1:decimal external;
declare variable $__fparam29 as ns1:decimal external;
declare variable $__fparam30 as ns1:decimal external;
declare variable $__fparam31 as ns1:decimal external;
declare variable $__fparam32 as ns1:decimal external;
declare variable $__fparam33 as ns1:string external;
declare variable $__fparam34 as ns1:string external;
declare variable $__fparam35 as ns1:string external;
declare variable $__fparam36 as ns1:string external;
declare variable $__fparam37 as ns1:string external;
declare variable $__fparam38 as ns1:string external;
declare variable $__fparam39 as ns1:string external;
declare variable $__fparam40 as ns1:string external;
declare variable $__fparam41 as ns1:decimal external;
declare variable $__fparam42 as ns1:string external;
{ return value ns0:GRAVAR($__fparam0,$__fparam1,$__fparam2,$__fparam3,$__fparam4,$__fparam5,$__fparam6,$__fparam7,$__fparam8,$__fparam9,$__fparam10,$__fparam11,$__fparam12,$__fparam13,$__fparam14,$__fparam15,$__fparam16,$__fparam17,$__fparam18,$__fparam19,$__fparam20,$__fparam21,$__fparam22,$__fparam23,$__fparam24,$__fparam25,$__fparam26,$__fparam27,$__fparam28,$__fparam29,$__fparam30,$__fparam31,$__fparam32,$__fparam33,$__fparam34,$__fparam35,$__fparam36,$__fparam37,$__fparam38,$__fparam39,$__fparam40,$__fparam41,$__fparam42); }
common/time {
timestamp: Thu Jun 12 15:45:38 GMT-03:00 2008
duration: 1156
}>
Edited by mreiche at 06/12/2008 2:07 PM

Similar Messages

  • I bought new i phone 5 3 days back, after that asked for new update which is 6.1.4, after updating my iphone i am not able to use cellular data services. I called up data provider, they says its the problem with new software update. There is no option add

    I bought new i phone 5 3 days back, after that asked for new update which is 6.1.4, after updating my iphone i am not able to use cellular data services. I called up data provider, they says its the problem with new software update. There is no option add APN. Now when i switch to safari its showing you are not subscribed for cellular data. But I am able to use data on other phone.
    Will you please help me in this regard?
    Another issue, since i bought my new iphone there is dust inside back main camera.
    Your advises are highly appreciated.

    Hey Shaiju isac,
    I'd take a look at the following article, it'll guide you though steps to you troubleshoot cellular data issues on your iPhone:
    iPhone: Troubleshooting a cellular data connection
    http://support.apple.com/kb/ts3780
    Cheers,
    David

  • Problems creating physical data service to relational table

    Good morning.
    I am running AquaLogic Data Services Platform 3.2 on WebLogic 10.0 in a JRockit 1.5 Java VM on my PC (and it is not a clustered environment) under Windows XP SP3.
    I am trying to create access functionality to a table in a MS SQL 2005 database, but I am having trouble with the update map functionality. I can create and test the read function with no problems. When I try to edit the return structure, it gives me the following warning message
    Cannot narrow remote object ClusterableRemoteRef(-10913774038965890074S :127.0.0.1 :7102,7102,-1,-1,-1,-1,-1*:ESBDSP:AdminServer [(-10913774038965890074S :127.0.0.1 :*7102,7102,-1,-1,-1,-1,-1]:ESBDSP:AdminServer/320*)/320 to com.bea.dsp.ejb.ServerHome*
    (ESBDSP is the server domain, AdminServer is the WL server name, 7102 is the port)
    When I then try to alter a value and Submit, it gives me the following error message
    java.lang.NullPointerException
    ** at com.bea.dsp.ide.xquery.views.test.QueryExecutor.invokeUpdate(QueryExecutor.java:191)**
    ** at com.bea.dsp.ide.xquery.views.test.ResultPanel.submitChanges(ResultPanel.java:1313)**
    ** at com.bea.dsp.ide.xquery.views.test.ResultPanel.access$300(ResultPanel.java:111)**
    ** at com.bea.dsp.ide.xquery.views.test.ResultPanel$2.run(ResultPanel.java:1203)**
    ** at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)**
    ** at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)**
    ** at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:479)**
    ** at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:265)**
    ** at org.eclipse.ui.internal.progress.ProgressManager.run(ProgressManager.java:1107)**
    ** at com.bea.dsp.ide.xquery.views.test.ResultPanel.doSubmitImpl(ResultPanel.java:1210)**
    ** at com.bea.dsp.ide.xquery.views.test.ResultPanel.access$200(ResultPanel.java:111)**
    ** at com.bea.dsp.ide.xquery.views.test.ResultPanel$1.run(ResultPanel.java:1189)**
    ** at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)**
    ** at com.bea.dsp.ide.xquery.views.test.ResultPanel.doSubmit(ResultPanel.java:1193)**
    ** at com.bea.dsp.ide.xquery.views.test.ResultPanel.widgetSelected(ResultPanel.java:2779)**
    ** at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)**
    ** at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)**
    ** at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)**
    ** at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)**
    ** at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)**
    ** at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)**
    ** at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)**
    ** at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)**
    ** at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)**
    ** at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)**
    ** at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)**
    ** at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)**
    ** at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)**
    ** at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)**
    ** at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)**
    ** at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)**
    ** at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)**
    ** at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)**
    ** at java.lang.reflect.Method.invoke(Method.java:585)**
    ** at org.eclipse.core.launcher.Main.invokeFramework(Main.java:339)**
    ** at org.eclipse.core.launcher.Main.basicRun(Main.java:283)**
    ** at org.eclipse.core.launcher.Main.run(Main.java:984)**
    ** at org.eclipse.core.launcher.Main.eclipse_main(Main.java:959)**
    ** at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)**
    ** at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)**
    ** at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)**
    ** at java.lang.reflect.Method.invoke(Method.java:585)**
    ** at com.m7.installer.util.NitroxMain$1.run(NitroxMain.java:39)**
    ** at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)**
    ** at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)**
    ** at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)**
    ** at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)**
    ** at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)**
    ** at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)**
    ** at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)**
    I have also tried to test the update function using the following data graph
    *&lt;sdo:datagraph xmlns:sdo="commonj.sdo"&gt;*
    *&lt;changeSummary&gt;*
    * &lt;per:Persistance sdo:ref="#/sdo:datagraph/per:Persistance" xmlns:per="http://www.example.org/Persistance"&gt;*
    * &lt;per:Value&gt;a different value&lt;/per:Value&gt;*
    * &lt;/per:Persistance&gt;*
    * &lt;/changeSummary&gt;*
    * &lt;per:Persistance xmlns:per="http://www.example.org/Persistance"&gt;*
    * &lt;per:ID&gt;1&lt;/per:ID&gt;*
    * &lt;/per:Persistance&gt;*
    *&lt;/sdo:datagraph&gt;*
    The error message I receive is the following
    *&lt;Error&gt; &lt;ALDSP&gt; &lt;PW130131&gt; &lt;AdminServer&gt; &lt;ACTIVE ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'&gt; &lt;weblogic&gt; &lt;&gt; &lt;&gt; &lt;1229102443940&gt; &lt;BEA-000000&gt; &lt;Test&gt; &lt;System error while executing the query: {ld:Physical/Persistance}updatePersistance:1*
    *weblogic.xml.query.exceptions.XQuerySagaException: {bea-err}UPD003: Update failure: mixed outcome, update error dispatched (updateid=SAGA_2d641b85a027a9ba:43f1e2cd:11e2800892f:-7fd2): com.bea.dsp.wrappers.rdb.exceptions.RDBWrapperException: {bea-err}RDBW0025: esb: [UPDATE "ESBdev"."dbo"."Persistance"*
    *SET "Value" = ?*
    *WHERE (("ID" = ?) AND ("Value" = ?))]: [NULL, 1, a different value|http://forums.oracle.com/forums/]: Optimistic locking failure. Update count returned by database is 0, expected 1*
    at com.bea.ld.server.update.recovery.SagaRecovery.process(SagaRecovery.java:102)
    at com.bea.ld.server.update.recovery.DSPSagaManager.processSagaFailure(DSPSagaManager.java:219)
    at weblogic.xml.query.update.recovery.SagaState$2.afterCompletion(SagaState.java:83)
    at weblogic.xml.query.transaction.TransactionManager.afterCompletion(TransactionManager.java:133)
    at weblogic.transaction.internal.ServerSCInfo.doAfterCompletion(ServerSCInfo.java:1032)
    at weblogic.transaction.internal.ServerSCInfo.callAfterCompletions(ServerSCInfo.java:1011)
    at weblogic.transaction.internal.ServerTransactionImpl.callAfterCompletions(ServerTransactionImpl.java:2946)
    at weblogic.transaction.internal.ServerTransactionImpl.afterRolledBackStateHousekeeping(ServerTransactionImpl.java:2827)
    at weblogic.transaction.internal.ServerTransactionImpl.setRolledBack(ServerTransactionImpl.java:2803)
    at weblogic.transaction.internal.ServerTransactionImpl.globalRetryRollback(ServerTransactionImpl.java:3043)
    at weblogic.transaction.internal.ServerTransactionImpl.globalRollback(ServerTransactionImpl.java:2793)
    at weblogic.transaction.internal.ServerTransactionImpl.internalRollback(ServerTransactionImpl.java:397)
    at weblogic.transaction.internal.ServerTransactionImpl.rollback(ServerTransactionImpl.java:375)
    at weblogic.xml.query.transaction.TransactionHelper.rollback(TransactionHelper.java:102)
    at weblogic.xml.query.transaction.TransactionManager.teardownOnFailure(TransactionManager.java:262)
    at com.bea.ld.EJBRequestHandler.handleThrowable(EJBRequestHandler.java:810)
    at com.bea.ld.EJBRequestHandler.invokeOperation(EJBRequestHandler.java:311)
    at com.bea.ld.ServerBean.executeOperationStreaming(ServerBean.java:84)
    at com.bea.ld.Server_ydm4ie_EOImpl.executeOperationStreaming(Server_ydm4ie_EOImpl.java:354)
    at com.bea.ld.Server_ydm4ie_EOImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:479)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:475)
    at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:59)
    at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:1016)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    *com.bea.dsp.wrappers.rdb.exceptions.RDBWrapperException: {bea-err}RDBW0025: esb: [UPDATE "ESBdev"."dbo"."Persistance"*
    *SET "Value" = ?*
    *WHERE (("ID" = ?) AND ("Value" = ?))]: [NULL, 1, a different value|http://forums.oracle.com/forums/]: Optimistic locking failure. Update count returned by database is 0, expected 1*
    at com.bea.dsp.wrappers.rdb.exceptions.RDBWrapperException.create(RDBWrapperException.java:87)
    at weblogic.xml.query.exceptions.XQueryException.create(XQueryException.java:128)
    at weblogic.xml.query.exceptions.XQueryException.create(XQueryException.java:88)
    at weblogic.xml.query.exceptions.XQueryException.create(XQueryException.java:202)
    at weblogic.xml.query.exceptions.XQueryException.create(XQueryException.java:188)
    at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLUpdateInternal.raiseUpdateFailureException(ExecuteSQLUpdateInternal.java:19)
    at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLUpdateDeleteBase.executeSQL(ExecuteSQLUpdateDeleteBase.java:31)
    at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLRuntimeBase.prepareAndExecuteQuery(ExecuteSQLRuntimeBase.java:170)
    at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLModificationBase.prepareAndExecuteQuery(ExecuteSQLModificationBase.java:77)
    at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLRuntimeBase.fetchNext(ExecuteSQLRuntimeBase.java:95)
    at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:114)
    at weblogic.xml.query.runtime.core.ExecutionWrapper.fetchNext(ExecutionWrapper.java:85)
    at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:135)
    at weblogic.xml.query.runtime.util.TokenBuffer.addAll(TokenBuffer.java:296)
    at weblogic.xml.query.update.runtime.Interpreter$Frame.setValueUsingTemporary(Interpreter.java:436)
    at weblogic.xml.query.update.runtime.Interpreter.processMSet(Interpreter.java:297)
    at weblogic.xml.query.update.runtime.Interpreter.run(Interpreter.java:125)
    at weblogic.xml.query.update.recovery.SagaInterpreter$NestedFactory$1.run(SagaInterpreter.java:134)
    at weblogic.xml.query.update.runtime.ExecuteRelational.fetchNext(ExecuteRelational.java:52)
    at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:114)
    at weblogic.xml.query.runtime.core.ExecutionWrapper.fetchNext(ExecutionWrapper.java:85)
    at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:135)
    at weblogic.xml.query.runtime.util.TokenBuffer.addAll(TokenBuffer.java:296)
    at weblogic.xml.query.update.runtime.Interpreter$Frame.setValueUsingTemporary(Interpreter.java:436)
    at weblogic.xml.query.update.runtime.Interpreter.processMSet(Interpreter.java:297)
    at weblogic.xml.query.update.runtime.Interpreter.run(Interpreter.java:125)
    at weblogic.xml.query.update.recovery.SagaInterpreter$NestedFactory$1.run(SagaInterpreter.java:134)
    at weblogic.xml.query.update.recovery.SagaInterpreter.run(SagaInterpreter.java:54)
    at weblogic.xml.query.update.runtime.UVMRewritingEvaluatorImpl.run(UVMRewritingEvaluatorImpl.java:33)
    at weblogic.xml.query.xdbcimpl.XQSEStatementImpl.execute(XQSEStatementImpl.java:100)
    at com.bea.ld.server.XQueryInvocation.execute(XQueryInvocation.java:731)
    at com.bea.ld.EJBRequestHandler.invokeQueryInternal(EJBRequestHandler.java:611)
    at com.bea.ld.EJBRequestHandler.invokeOperationInternal(EJBRequestHandler.java:466)
    at com.bea.ld.EJBRequestHandler.invokeOperation(EJBRequestHandler.java:308)
    at com.bea.ld.ServerBean.executeOperationStreaming(ServerBean.java:84)
    at com.bea.ld.Server_ydm4ie_EOImpl.executeOperationStreaming(Server_ydm4ie_EOImpl.java:354)
    at com.bea.ld.Server_ydm4ie_EOImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:479)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:475)
    at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:59)
    at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:1016)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    One of the things I don't understand is why the SQL update seems to have the parameter values reversed and why it is using the Value column for it's wehere clause i.e
    *[UPDATE "ESBdev"."dbo"."Persistance"*
    *SET "Value" = ?*
    *WHERE (("ID" = ?) AND ("Value" = ?))]: *[NULL, 1, a different value]
    when it should really be
    *[UPDATE "ESBdev"."dbo"."Persistance"*
    *SET "Value" = ?*
    *WHERE ("ID" = ?)]: *[a different value, 1
    I hope someone has an idea as to what is going on.
    Edited by: MarcP on Dec 12, 2008 12:30 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          

    Thanks Mike, I changed the graph the way you explained and the update works.
    I still have a problem with the create function.
    The XSD for the table looks like this
    *&lt;xs:schema targetNamespace="ld:Physical/Persistance2" xmlns:xs="http://www.w3.org/2001/XMLSchema"&gt;*
    * &lt;xs:element name="Persistance"&gt;*
    *&lt;xs:complexType&gt;*
    * &lt;xs:sequence&gt;*
    * &lt;xs:element name="ID" type="xs:int"/&gt;*
    * &lt;xs:element name="Project" type="xs:string"/&gt;*
    * &lt;xs:element name="Property" type="xs:string"/&gt;*
    * &lt;xs:element name="Value" type="xs:string" minOccurs="0"/&gt;*
    * &lt;xs:element name="TS" type="xs:hexBinary"/&gt;*
    * &lt;/xs:sequence&gt;*
    * &lt;/xs:complexType&gt;*
    * &lt;/xs:element&gt;*
    *&lt;/xs:schema&gt;*
    In the table, ID is an IDENTITY column, and TS is a timestamp column (therefore they should only be modified by the DB engine). How do I tell DSP to take these constraints into account when wuing the create function?
    When I test it with the following,
    *&lt;per:Persistance2 xmlns:per="ld:Physical/Persistance2"&gt;*
    * &lt;ID&gt;0&lt;/ID&gt;*
    *&lt;Project&gt;def&lt;/Project&gt;*
    *&lt;Property&gt;ghi&lt;/Property&gt;*
    *&lt;Value&gt;new string&lt;/Value&gt;*
    * &lt;TS&gt;0000000000000000&lt;/TS&gt;*
    *&lt;/per:Persistance2&gt;*
    it gives the follwiing error
    *&lt;Error&gt; &lt;ALDSP&gt; &lt;xxxxxxx&gt; &lt;AdminServer&gt; &lt;[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'&gt; &lt;weblogic&gt; &lt;&gt; &lt;&gt; &lt;1229106812568&gt; &lt;BEA-000000&gt; &lt;Test&gt; &lt;System error while executing the query: {ld:Physical/Persistance2}createPersistance2:1*
    *weblogic.xml.query.exceptions.XQuerySagaException: {bea-err}UPD003: Update failure: mixed outcome, update error dispatched (updateid=SAGA_2d641b85a027a9ba:43f1e2cd:11e2800892f:-7fcd): com.bea.dsp.wrappers.rdb.exceptions.RDBWrapperException: {bea-err}RDBW0004: [esb]: [INSERT INTO "ESBdev"."dbo"."Persistance" ("ID", "Project", "Property", "Value", "TS")*
    *VALUES (?, ?, ?, ?, ?)]: [0, def, ghi, new string, 0000000000000000]: Error executing SQL query: [BEA][SQLServer JDBC Driver][SQLServer]Cannot insert an explicit value into a timestamp column. Use INSERT with a column list to exclude the timestamp column, or insert a DEFAULT into the timestamp column.*
    * at com.bea.ld.server.update.recovery.SagaRecovery.process(SagaRecovery.java:102)*
    * at com.bea.ld.server.update.recovery.DSPSagaManager.processSagaFailure(DSPSagaManager.java:219)*
    * at weblogic.xml.query.update.recovery.SagaState$2.afterCompletion(SagaState.java:83)*
    * at weblogic.xml.query.transaction.TransactionManager.afterCompletion(TransactionManager.java:133)*
    * at weblogic.transaction.internal.ServerSCInfo.doAfterCompletion(ServerSCInfo.java:1032)*
    * at weblogic.transaction.internal.ServerSCInfo.callAfterCompletions(ServerSCInfo.java:1011)*
    * at weblogic.transaction.internal.ServerTransactionImpl.callAfterCompletions(ServerTransactionImpl.java:2946)*
    * at weblogic.transaction.internal.ServerTransactionImpl.afterRolledBackStateHousekeeping(ServerTransactionImpl.java:2827)*
    * at weblogic.transaction.internal.ServerTransactionImpl.setRolledBack(ServerTransactionImpl.java:2803)*
    * at weblogic.transaction.internal.ServerTransactionImpl.globalRetryRollback(ServerTransactionImpl.java:3043)*
    * at weblogic.transaction.internal.ServerTransactionImpl.globalRollback(ServerTransactionImpl.java:2793)*
    * at weblogic.transaction.internal.ServerTransactionImpl.internalRollback(ServerTransactionImpl.java:397)*
    * at weblogic.transaction.internal.ServerTransactionImpl.rollback(ServerTransactionImpl.java:375)*
    * at weblogic.xml.query.transaction.TransactionHelper.rollback(TransactionHelper.java:102)*
    * at weblogic.xml.query.transaction.TransactionManager.teardownOnFailure(TransactionManager.java:262)*
    * at com.bea.ld.EJBRequestHandler.handleThrowable(EJBRequestHandler.java:810)*
    * at com.bea.ld.EJBRequestHandler.invokeOperation(EJBRequestHandler.java:311)*
    * at com.bea.ld.ServerBean.executeOperationStreaming(ServerBean.java:84)*
    * at com.bea.ld.Server_ydm4ie_EOImpl.executeOperationStreaming(Server_ydm4ie_EOImpl.java:354)*
    * at com.bea.ld.Server_ydm4ie_EOImpl_WLSkel.invoke(Unknown Source)*
    * at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)*
    * at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)*
    * at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:479)*
    * at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)*
    * at weblogic.security.service.SecurityManager.runAs(Unknown Source)*
    * at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:475)*
    * at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:59)*
    * at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:1016)*
    * at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)*
    * at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)*
    *com.bea.dsp.wrappers.rdb.exceptions.RDBWrapperException: {bea-err}RDBW0004: [esb]: [INSERT INTO "ESBdev"."dbo"."Persistance" ("ID", "Project", "Property", "Value", "TS")*
    *VALUES (?, ?, ?, ?, ?)]: [0, def, ghi, new string, 0000000000000000]: Error executing SQL query: [BEA][SQLServer JDBC Driver][SQLServer]Cannot insert an explicit value into a timestamp column. Use INSERT with a column list to exclude the timestamp column, or insert a DEFAULT into the timestamp column.*
    * at com.bea.dsp.wrappers.rdb.exceptions.RDBWrapperException.create(RDBWrapperException.java:87)*
    * at weblogic.xml.query.exceptions.XQueryException.create(XQueryException.java:128)*
    * at weblogic.xml.query.exceptions.XQueryException.create(XQueryException.java:176)*
    * at weblogic.xml.query.exceptions.XQueryException.create(XQueryException.java:163)*
    * at com.bea.dsp.wrappers.rdb.runtime.DBSession.executeUpdate(DBSession.java:151)*
    * at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLInsertInternal.executeSQL(ExecuteSQLInsertInternal.java:110)*
    * at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLRuntimeBase.prepareAndExecuteQuery(ExecuteSQLRuntimeBase.java:170)*
    * at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLModificationBase.prepareAndExecuteQuery(ExecuteSQLModificationBase.java:77)*
    * at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLRuntimeBase.fetchNext(ExecuteSQLRuntimeBase.java:95)*
    * at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:114)*
    * at weblogic.xml.query.runtime.core.ExecutionWrapper.fetchNext(ExecutionWrapper.java:85)*
    * at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:135)*
    * at weblogic.xml.query.runtime.util.TokenBuffer.addAll(TokenBuffer.java:296)*
    * at weblogic.xml.query.update.runtime.Interpreter$Frame.setValueUsingTemporary(Interpreter.java:436)*
    * at weblogic.xml.query.update.runtime.Interpreter.processMSet(Interpreter.java:297)*
    * at weblogic.xml.query.update.runtime.Interpreter.run(Interpreter.java:125)*
    * at weblogic.xml.query.update.recovery.SagaInterpreter$NestedFactory$1.run(SagaInterpreter.java:134)*
    * at weblogic.xml.query.update.runtime.ExecuteRelational.fetchNext(ExecuteRelational.java:52)*
    * at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:114)*
    * at weblogic.xml.query.runtime.core.ExecutionWrapper.fetchNext(ExecutionWrapper.java:85)*
    * at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:135)*
    * at weblogic.xml.query.runtime.util.TokenBuffer.addAll(TokenBuffer.java:296)*
    * at weblogic.xml.query.update.runtime.Interpreter$Frame.setValueUsingTemporary(Interpreter.java:436)*
    * at weblogic.xml.query.update.runtime.Interpreter.processMSet(Interpreter.java:297)*
    * at weblogic.xml.query.update.runtime.Interpreter.run(Interpreter.java:125)*
    * at weblogic.xml.query.update.recovery.SagaInterpreter$NestedFactory$1.run(SagaInterpreter.java:134)*
    * at weblogic.xml.query.update.recovery.SagaInterpreter.run(SagaInterpreter.java:54)*
    * at weblogic.xml.query.update.runtime.UVMRewritingEvaluatorImpl.run(UVMRewritingEvaluatorImpl.java:33)*
    * at weblogic.xml.query.xdbcimpl.XQSEStatementImpl.execute(XQSEStatementImpl.java:100)*
    * at com.bea.ld.server.XQueryInvocation.execute(XQueryInvocation.java:731)*
    * at com.bea.ld.EJBRequestHandler.invokeQueryInternal(EJBRequestHandler.java:611)*
    * at com.bea.ld.EJBRequestHandler.invokeOperationInternal(EJBRequestHandler.java:466)*
    * at com.bea.ld.EJBRequestHandler.invokeOperation(EJBRequestHandler.java:308)*
    * at com.bea.ld.ServerBean.executeOperationStreaming(ServerBean.java:84)*
    * at com.bea.ld.Server_ydm4ie_EOImpl.executeOperationStreaming(Server_ydm4ie_EOImpl.java:354)*
    * at com.bea.ld.Server_ydm4ie_EOImpl_WLSkel.invoke(Unknown Source)*
    * at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)*
    * at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)*
    * at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:479)*
    * at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)*
    * at weblogic.security.service.SecurityManager.runAs(Unknown Source)*
    * at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:475)*
    * at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:59)*
    * at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:1016)*
    * at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)*
    * at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)*
    *java.sql.SQLException: [BEA][SQLServer JDBC Driver][SQLServer]Cannot insert an explicit value into a timestamp column. Use INSERT with a column list to exclude the timestamp column, or insert a DEFAULT into the timestamp column.*
    * at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)*
    * at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)*
    * at weblogic.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)*
    * at weblogic.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)*
    * at weblogic.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source)*
    * at weblogic.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)*
    * at weblogic.jdbc.sqlserver.SQLServerImplStatement.getNextResultType(Unknown Source)*
    * at weblogic.jdbc.base.BaseStatement.commonTransitionToState(Unknown Source)*
    * at weblogic.jdbc.base.BaseStatement.postImplExecute(Unknown Source)*
    * at weblogic.jdbc.base.BasePreparedStatement.postImplExecute(Unknown Source)*
    * at weblogic.jdbc.base.BaseStatement.commonExecute(Unknown Source)*
    * at weblogic.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source)*
    * at weblogic.jdbc.base.BasePreparedStatement.executeUpdate(Unknown Source)*
    * at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:125)*
    * at com.bea.dsp.wrappers.rdb.runtime.DBSession.executeUpdate(DBSession.java:144)*
    * at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLInsertInternal.executeSQL(ExecuteSQLInsertInternal.java:110)*
    * at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLRuntimeBase.prepareAndExecuteQuery(ExecuteSQLRuntimeBase.java:170)*
    * at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLModificationBase.prepareAndExecuteQuery(ExecuteSQLModificationBase.java:77)*
    * at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLRuntimeBase.fetchNext(ExecuteSQLRuntimeBase.java:95)*
    * at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:114)*
    * at weblogic.xml.query.runtime.core.ExecutionWrapper.fetchNext(ExecutionWrapper.java:85)*
    * at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:135)*
    * at weblogic.xml.query.runtime.util.TokenBuffer.addAll(TokenBuffer.java:296)*
    * at weblogic.xml.query.update.runtime.Interpreter$Frame.setValueUsingTemporary(Interpreter.java:436)*
    * at weblogic.xml.query.update.runtime.Interpreter.processMSet(Interpreter.java:297)*
    * at weblogic.xml.query.update.runtime.Interpreter.run(Interpreter.java:125)*
    * at weblogic.xml.query.update.recovery.SagaInterpreter$NestedFactory$1.run(SagaInterpreter.java:134)*
    * at weblogic.xml.query.update.runtime.ExecuteRelational.fetchNext(ExecuteRelational.java:52)*
    * at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:114)*
    * at weblogic.xml.query.runtime.core.ExecutionWrapper.fetchNext(ExecutionWrapper.java:85)*
    * at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:135)*
    * at weblogic.xml.query.runtime.util.TokenBuffer.addAll(TokenBuffer.java:296)*
    * at weblogic.xml.query.update.runtime.Interpreter$Frame.setValueUsingTemporary(Interpreter.java:436)*
    * at weblogic.xml.query.update.runtime.Interpreter.processMSet(Interpreter.java:297)*
    * at weblogic.xml.query.update.runtime.Interpreter.run(Interpreter.java:125)*
    * at weblogic.xml.query.update.recovery.SagaInterpreter$NestedFactory$1.run(SagaInterpreter.java:134)*
    * at weblogic.xml.query.update.recovery.SagaInterpreter.run(SagaInterpreter.java:54)*
    * at weblogic.xml.query.update.runtime.UVMRewritingEvaluatorImpl.run(UVMRewritingEvaluatorImpl.java:33)*
    * at weblogic.xml.query.xdbcimpl.XQSEStatementImpl.execute(XQSEStatementImpl.java:100)*
    * at com.bea.ld.server.XQueryInvocation.execute(XQueryInvocation.java:731)*
    * at com.bea.ld.EJBRequestHandler.invokeQueryInternal(EJBRequestHandler.java:611)*
    * at com.bea.ld.EJBRequestHandler.invokeOperationInternal(EJBRequestHandler.java:466)*
    * at com.bea.ld.EJBRequestHandler.invokeOperation(EJBRequestHandler.java:308)*
    * at com.bea.ld.ServerBean.executeOperationStreaming(ServerBean.java:84)*
    * at com.bea.ld.Server_ydm4ie_EOImpl.executeOperationStreaming(Server_ydm4ie_EOImpl.java:354)*
    * at com.bea.ld.Server_ydm4ie_EOImpl_WLSkel.invoke(Unknown Source)*
    * at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)*
    * at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)*
    * at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:479)*
    * at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)*
    * at weblogic.security.service.SecurityManager.runAs(Unknown Source)*
    * at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:475)*
    * at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:59)*
    * at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:1016)*
    * at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)*
    * at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)*
    *java.sql.SQLException: [BEA][SQLServer JDBC Driver][SQLServer]Statement(s) could not be prepared.*
    * at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)*
    * at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)*
    * at weblogic.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)*
    * at weblogic.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)*
    * at weblogic.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source)*
    * at weblogic.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)*
    * at weblogic.jdbc.sqlserver.SQLServerImplStatement.getNextResultType(Unknown Source)*
    * at weblogic.jdbc.base.BaseStatement.commonTransitionToState(Unknown Source)*
    * at weblogic.jdbc.base.BaseStatement.postImplExecute(Unknown Source)*
    * at weblogic.jdbc.base.BasePreparedStatement.postImplExecute(Unknown Source)*
    * at weblogic.jdbc.base.BaseStatement.commonExecute(Unknown Source)*
    * at weblogic.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source)*
    * at weblogic.jdbc.base.BasePreparedStatement.executeUpdate(Unknown Source)*
    * at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:125)*
    * at com.bea.dsp.wrappers.rdb.runtime.DBSession.executeUpdate(DBSession.java:144)*
    * at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLInsertInternal.executeSQL(ExecuteSQLInsertInternal.java:110)*
    * at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLRuntimeBase.prepareAndExecuteQuery(ExecuteSQLRuntimeBase.java:170)*
    * at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLModificationBase.prepareAndExecuteQuery(ExecuteSQLModificationBase.java:77)*
    * at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLRuntimeBase.fetchNext(ExecuteSQLRuntimeBase.java:95)*
    * at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:114)*
    * at weblogic.xml.query.runtime.core.ExecutionWrapper.fetchNext(ExecutionWrapper.java:85)*
    * at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:135)*
    * at weblogic.xml.query.runtime.util.TokenBuffer.addAll(TokenBuffer.java:296)*
    * at weblogic.xml.query.update.runtime.Interpreter$Frame.setValueUsingTemporary(Interpreter.java:436)*
    * at weblogic.xml.query.update.runtime.Interpreter.processMSet(Interpreter.java:297)*
    * at weblogic.xml.query.update.runtime.Interpreter.run(Interpreter.java:125)*
    * at weblogic.xml.query.update.recovery.SagaInterpreter$NestedFactory$1.run(SagaInterpreter.java:134)*
    * at weblogic.xml.query.update.runtime.ExecuteRelational.fetchNext(ExecuteRelational.java:52)*
    * at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:114)*
    * at weblogic.xml.query.runtime.core.ExecutionWrapper.fetchNext(ExecutionWrapper.java:85)*
    * at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:135)*
    * at weblogic.xml.query.runtime.util.TokenBuffer.addAll(TokenBuffer.java:296)*
    * at weblogic.xml.query.update.runtime.Interpreter$Frame.setValueUsingTemporary(Interpreter.java:436)*
    * at weblogic.xml.query.update.runtime.Interpreter.processMSet(Interpreter.java:297)*
    * at weblogic.xml.query.update.runtime.Interpreter.run(Interpreter.java:125)*
    * at weblogic.xml.query.update.recovery.SagaInterpreter$NestedFactory$1.run(SagaInterpreter.java:134)*
    * at weblogic.xml.query.update.recovery.SagaInterpreter.run(SagaInterpreter.java:54)*
    * at weblogic.xml.query.update.runtime.UVMRewritingEvaluatorImpl.run(UVMRewritingEvaluatorImpl.java:33)*
    * at weblogic.xml.query.xdbcimpl.XQSEStatementImpl.execute(XQSEStatementImpl.java:100)*
    * at com.bea.ld.server.XQueryInvocation.execute(XQueryInvocation.java:731)*
    * at com.bea.ld.EJBRequestHandler.invokeQueryInternal(EJBRequestHandler.java:611)*
    * at com.bea.ld.EJBRequestHandler.invokeOperationInternal(EJBRequestHandler.java:466)*
    * at com.bea.ld.EJBRequestHandler.invokeOperation(EJBRequestHandler.java:308)*
    * at com.bea.ld.ServerBean.executeOperationStreaming(ServerBean.java:84)*
    * at com.bea.ld.Server_ydm4ie_EOImpl.executeOperationStreaming(Server_ydm4ie_EOImpl.java:354)*
    * at com.bea.ld.Server_ydm4ie_EOImpl_WLSkel.invoke(Unknown Source)*
    * at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)*
    * at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)*
    * at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:479)*
    * at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)*
    * at weblogic.security.service.SecurityManager.runAs(Unknown Source)*
    * at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:475)*
    * at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:59)*
    * at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:1016)*
    * at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)*
    * at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)*

  • Extracting Data from SAP ERP using BODI/Data Services 4.0

    HI,
    I am trying to extract data from SAP ERP via SAP extractors using BODI/Data Services 4.0.
    I do not have my own ERP system so I am renting remote access from one of the many available on the internet.
    I am able to connect BODI to the ERP system and import the extractors metadata.
    The problem I am experiencing is that when I run job to extract the data I get the following error:
    Vendor-supplied function module <Z_AW_RFC_READ_EXTRACTOR> not found. Ensure that you can execute the function module in SAP via transaction /nSE37.
    How do I create the function? Or is the function a SAP standard function?
    SAP ERP system being used is: ECC6 EHP4
    User has SAP FULL and DEVELOPER authorizations.
    Any assistance would be appreciated.

    You might have better luck in the (somewhat misnamed) [Data Integration and Data Quality Management|Data Services and Data Quality; forum:
    This forum is dedicated to topics related to SAP BusinessObjects Data Services (Data Integrator, Data Quality Management, Text Data Processing), SAP BusinessObjects Information Steward (Metadata Management, Data Insight), SAP BusinessObjects Rapid Marts and SAP BusinessObjects Data Federator.
    (emphasis added)
    Regards,
    Sean

  • Aqualogic Data Services Question

    Hello,
    I have recently downloaded BEA's Aqualogic Data Services 3.2 suite. We have requirement which requires that we effect CRUD operations on one table from another. Data sources have been created in WebLogic Server to this purpose. Within the Data Services suite, the necessary physical data services have also been set up - one for the source table and another for the target table. I am able to view the data within these tables by using the "Test" facilities, as provided uder the "Test" tab relevant to each of the physical data services. Both tables have the same exact number of attributes, and the type of attributes are exactly the same (i.e.: attribute 1: varchar2(20), attribute 2: varchar2(150)), so no complexity there.
    I would now like to poll the the source table (physical data source) and effect the required Create/Update/Delete operation operation in the target table (physical data source).
    How can this be done?
    Any useful answer to my question, or reference to a thorough document describing an answer would be greatly appreciated.
    I thank you in advance.

    Currently there is no DB adapter for Oracle Service Bus (AquaLogic) This should be avaliable early 2009. Although it may be some support for this in the 100 day release due this month, I forget what has been promissed in which release.
    Therfore you would need some external app to do the polling and invoke the AquaLogic. If you have Oracle SOA Suite you could use ESB or BPEL to do this then invoke AquaLogic.
    There is this link that creates a transport for Oracle PL/SQL which may be of some use.
    https://codesamples.projects.dev2dev.bea.com/servlets/tracking/remcurreport/true/template/ViewIssue.vm/id/S334/nbrresults/40
    cheers
    James

  • Problems with logical data service

    This is related to thread 837141 (Problems creating physical data service to relational table)
    I have been able to create the logical data service that uses the physical service (mentioned above).
    However when I try to create a library function to update (shown below)
    declare function lper:update($new as element(per:Persistance2)) as xs:boolean {*
    * let $changed :=*
    * for $n in $new*
    * let $old := lper:read($new/Project, $ew/Property)*
    * return*
    * fn-bea:replace-value(fn-bea:changed-element($old), "Value", $n/Value)*
    _let $return := {color:#ff0000}pper:update{color}($changed)_*
    * return fn:true()*
    WorkSpace Studio gives the following error (for the line underlined above, and the function in red)
    *{bea-err}FUNC002: Illegal use of side-effect procedure {ld:Physical/Persistance2}update with arity 1. Side-effect procedures cannot be invoked from a side-effect free context*
    Any idea why?

    functions, by definition, do not have side-effects. So calling something that had a side-effect (procedure) is not allowed.
    You need to create a library procedure.
    Your
    declare function lper:update($new as element(per:Persistance2)) as xs:boolean {*
    needs to be
    declare procedure lper:update($new as element(per:Persistance2)) as xs:boolean {*
    - mike
    Edited by: mikereiche on Dec 12, 2008 5:10 PM

  • Using PHP Data Services to create an object and accessing that objects data in an unbound way in AS

    Hello,
    I've been able to use the php data services and bind the results of a function to a component. However I am having a hard time figuring out the syntax to use the data services to create an object out of the results, and then use that object as an array of filenames to provide the current index of the filename to a new sound object.
    My problem is obviously in not being able to figure out the specific syntax, I have declared the service and and object of the services returned type and in the creationComplete() function I have assigned object.token = service.getData();
    I've tried various ways of then pulling that data out of the object, with no success.
    Can someone point me in the right direction?
    This code probably looks horrible because it doesn't work yet.
    - Joel
                import flash.media.Sound;
                import flash.media.SoundChannel;
                import mx.controls.Alert;
                var playing:Sound = new Sound();
                var channel:SoundChannel = new SoundChannel();
                var sndIndex:int=0;
                var skpTr:String;
                public function init():void{
                 mp3Array.token = mp3service.getData();
                 currentTrack(mp3Array.lastResult.filename); 
                     trace(mp3Array.lastResult.filename[sndIndex]);
                public function currentTrack(t:String):void{
                    playing = new Sound();
                    playing.load(new URLRequest("mp3/" +t));
                public function skip():void{
                    stop();
                    if (sndIndex != mp3Array.lastResult.length-1){
                        sndIndex++;
                        var skipTr:String=mp3Array.lastResult.filename[sndIndex].data;
                        currentTrack(skipTr);
                        play();
                    } else {
                        sndIndex=0;
                        skipTr=mp3Array.lastResult.filename[sndIndex].data;
                        currentTrack(skipTr);
                        play();
                public function stop():void{
                    channel.stop();
                public function play():void{
                    channel = playing.play();
        <fx:Declarations>
            <s:CallResponder id="mp3Array"/>
            <mp3services:Mp3Service id="mp3service" fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true"/>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>

    Hello Joel;
    In retrieving your data - what is your php returning to FB, an object, object array, an array?  Either way, I have a brief example below that an object(s) is being returned.  Pull the data from the lastResult in a ResultEvent.  The object instantiated in the resultEvent will contain your data and you can do what you want from there. 
    Also, I always use Network Monitor to see what data (if any) is being returned from the server, you can also see how it is being sent back.
    John
    private function init():void
         mp3Array.token = mp3service.getData();
         mp3Array.addEventListener(FaultEvent.FAULT, faultHandler);
         mp3Array.addEventListener(ResultEvent.RESULT, mp3Array_resultHandler);
    protected function faultHandler(event:FaultEvent):void
         Alert.show("There was a fault error!" + event.message, "Fault Error", Alert.OK);
    protected function mp3Array_resultHandler(event:ResultEvent):void
         // Not sure if your service is sending back an object or an array or ?
        var info:Object = mp3Array.lastResult;
         doSomeFunction(info)
    protected function doSomeFunction(data:Object):void
         trace(info.filename);

  • Upgrade project : from SAP R/3 4.6C to ECC 6.0 by using SAP Data Services

    Hi All,
    My client is upgrading from SAP R/3 4.6C to ECC 6.0
    We are planning to use SAP Data Services(Data Integrator) in the upgrade plan from SAP R/3 4.6C to ECC 6.0 for Data Migration.
    we have no idea whether we can use this SAP Data Services(Data Integrator) in SAP upgrade data migration.
    The bottom line is we have to make use this Data Services (Data Integrator) product in our upgrade plan for Data Migration.
    Please tell us if anybody already used it such kind of scenario in a data migration project with Data Services(Data Integrator).
    If we can use Data Service(Data Integrator) what are the pros and cons in using this Data Services(Data Integrator).
    Thank You,
    Ashok

    My opinion is you would want to utilize SAP tools to port the data - our SAP BASIS administrator is out this week but we can provide exact tool names when he returns.  ELM (External List Management), IDOC are some of the tools.
    You could use DS/DI to export, cleanse, deduplicate the records prior to importing with SAP tools if that is your end goal.
    We also offer a data quality tool that extends DS/DI to cleanse/deduplicate name/address records as they are entered into the system.  It also comes with batch tools to cleanse/dedup the entire systems name/address information.  See Data Quality Management for SAP for further details.

  • Why would I need to use LiveCycle Data Services in a Flex app?

    I cannot figure out what additional functionality is provided by using LiveCycle Data Services in my Flex apps.  I cannot get a clear understanding of how using LiveCycle Data Services would benefit my applications.  Does someone out there use LiveCycle Data Services?  If so, what do you do with it in Flex?
    Thanks!

    - data push for publish/subscribe implementations
    User has to do nothing to get updated information. You push it to their machine when new data is available, like Yahoo finance updated quotes.
    - data paging
    You don't want to display one million rows in your datagrid at once. Get a batch of data, if the user scrolls down, get the next batch, etc.
    - server side clustering
    One server does not get overloaded. High traffic sites have their large number of concurrent connections managed more efficiently.
    - JMS services
    JMS is a powerful technology for messaging throughout an application, and LCDS makes it much easier.
    - RTMP tunneling
    Allows the use of the RTMP protocol in LiveCycle Data Services applications. Makes it easier to traverse firewalls and proxies appropriately that currently prevent direct RTMP client connections to the server.
    If this post answered your question or helped, please mark it as such.

  • Populate ComboBox from database - NOT using Flex Data Services

    Hi there,
    We are using CF with Flex but are not using the Flex Data
    Service. I'm very much a newb and I'm having trouble finding any
    information on how to populate controles from a database without
    using Flex Data Service. Any help would be greatly appreciated.
    First I have a page... JobSearch.mxml that contains a combo
    box that I want to populate with the job_id and job_title from a
    MSSQL database.
    In Flex in the RDS DataView I used the "Create CFC" Wizard
    which generated "job.cfc" and "jobGateway.cfc". It also generated
    "job.as".
    The CF Function that selects the data appears to be defaulted
    and called "load" and the .as function is called simply "job".
    So, that all looks great. But I can't find any information on
    what I need to have on my JobSearch.mxml to actually get this data
    into the comboBox.
    I did:
    <mx:Script>
    <![CDATA[
    [Bindable]
    public var jobData:job = null;
    ]]>
    </mx:Script>
    And then:
    <mx:ComboBox
    text="{jobData.job_title}"></mx:ComboBox>
    But I'm being told "Type was not found or was not a
    complie-time constant: job"
    I guess I'm missing something, or doing something way
    wrong... I just don't know enough of Flex at this point to know
    what it is.
    Thanks!
    April

    Using php or asp is not an option, as we are a Cold Fusion
    House.
    I was looking at an article on Ben Forta's blog (
    http://www.forta.com/blog/index.cfm?mode=e&entry=1786)
    and following his example I did this... only it doesn't work:
    I'm very very new to Flash and we are using ColdFusion but
    are not using Flex Data Services. I've been trying to figure out
    how to populate a combobox from a database and I'm just not having
    any luck.
    My project is called "PreTraffic". I have my main file as
    "JobSearch.mxml" and a folder under the root named "cfc" with a
    file called "job.cfc".
    job.cfc contains the following code:
    <cfcomponent>
    <!--- Get jobs --->
    <cffunction name="GetJob" access="remote"
    returntype="query" output="false">
    <cfset var job="">
    <cfset var results="">
    <cfquery datasource="discsdev" name="job">
    SELECT job_id, job_title
    FROM job
    WHERE status = 'O'
    ORDER BY job_title
    </cfquery>
    <cfquery dbtype="query" name="results">
    SELECT job_title AS label, job_id AS data
    FROM job
    ORDER BY label
    </cfquery>
    <cfreturn results>
    </cffunction>
    </cfcomponent>
    And JobSearch.mxml has the following code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application
    xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns="*"
    layout="absolute"
    backgroundGradientColors="[#ffffff, #d0d0d0]"
    creationComplete="InitApp()">
    <mx:Style source="style.css" />
    <mx:Script>
    <![CDATA[
    public function InitApp():void {
    jobSvc.GetJob();
    ]]>
    </mx:Script>
    <!-- ColdFusion CFC (via AMF) -->
    <mx:RemoteObject id="jobSvc" destination="PreTraffic"
    showBusyCursor="true" />
    <mx:VBox label="Job History" width="100%" height="100%"
    x="10" y="92">
    <mx:Label text="Search jobs by"/>
    <mx:Form label="Task" width="100%">
    <mx:FormItem label="Job Name:">
    <mx:ComboBox id="jobNameCB"
    dataProvider="{jobSvc.GetJob.results}"></mx:ComboBox>
    </mx:FormItem>
    </mx:Form>
    <mx:HBox>
    <mx:Button label="Search"/>
    <mx:Button label="Clear"/>
    </mx:HBox>
    </mx:VBox>
    </mx:Application>
    My Compiler thingy points to:
    -services
    "/Volumes/flexwwwroot/WEB-INF/flex/job-services-config.xml" -locale
    en_US
    and job-services-config.xml contains the following code:
    <destination id="PreTraffic">
    <channels>
    <channel ref="my-cfamf"/>
    </channels>
    <properties>
    <source>flex.pretraffic.cfc.job</source>
    <lowercase-keys>true</lowercase-keys>
    </properties>
    </destination>
    Well, when I run the app... the combobox is not populated...
    Can anyone help with what I've done wrong?
    Thanks!
    April

  • Unable to create records in database using PHP Data Service

    Hello, I've been stuck on this for a few days and search up and down for this on the net, no response I've found has worked, so I come to you...
    Here are the steps I've taken, I think it's pretty standard
    1. I have a macbook pro running osx 10.7.3
    2. I installed MAMP all default (I've acually reinstalled this because someone suggested this might fix it)
    3. Thru phpMyAdmin I created a database called my_test
    4. In that database I created a table, this is the export of that table: (I've also tried this with InnoDB which is the default)
    CREATE TABLE `customer` (
      `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
      `name` varchar(50) NOT NULL,
      `email` varchar(150) NOT NULL,
      PRIMARY KEY (`id`),
      UNIQUE KEY `id` (`id`)
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
    5. I created a new Flx Project (Running Flash Builder 4.5.1 Premium)
         Project Name: PHPTest
         Application Type: Desktop (Although I've done the same thing with Web and got the same results)
         >> Next
         Application Server Type: PHP
         Web Root: /Applications/MAMP/htdocs/
         URL Root: http://localhost:8888/
         Clicked 'Validate Configuration' and that worked
         Output Folder: /Applications/MAMP/htdocs/PHPService (default by Flash Builder)
         >> Finished
    6. On the Data/Services tab on the bottom I click 'Connect to Data/Service...'
         Select 'PHP'
         >> Next
         Select 'Click here to generate a sample'
         Select 'Generate from database' radio button
         Username: root
         Password: root (default for MAMP)
         Host name: localhost
         Server port: 8889 (default for MAMP MySQL port, the HTTP port default is 8888 which in both cases seem to work but every video I've seen that uses MAMP on youtube uses 8889)
         Database: my_test
         Click 'Test Connection' (works)
         Table: customer
         Primary Key: id (this field is greyed out and Flash Builder selects 'id' which it figures out from the SQL table)
         >> Click OK
    7. Then if I don't have the Zend Framework folder in my /Applications/MAMP/htdocs/ folder it tells me its going to create that and I say alright. Then Flash Builder says stuff about how this is really only for testing and not production server ready and I say alright.
    8. Then it takes me back to the Form from Step 6 when I get the chance to select 'Click here to generate a sample'
         These fields are now filled with this data automaticly:
         PHP Class: /Applications/MAMP/htdocs/PHPTest/services/CustomerService.php
         Service name: CustomerService
         Service package: services.customerservice
         Data type package: valueObjects
         >> Click Next (shows all the functions that will be now availible)
         >> Click Finished (End of the forms and it opens Dreamweaver to the php file it created CustomerService.php which I have no need to edit so I close that down)
    9. Back in Flash Builder I switch to design view and drag a datagrid onto the big white area in the middle, whatever that is called.
    10. Then below in Data/Services tab on the bottom I click drag the function 'GetAllCustomer' on top of the datagrid.
         I say yes to rebound and click ok and the view of the datagrid is updated with the colums from the 'customer' table in mySQL.
    (Now let me say that when I hit save and compile this, if I actually had records in this table that I insert thru phpMyAdmin, this does show in the datagrid. So for the whole CRUD thing I am able to get the R which is Read)
    11. Now going back to the design view in Flash Builder I will create a form to create records in the table... (I guess this isn't really a step)
    12. In the Data/Service tab on the bottom I select 'createCustomer' function and then there is an icon called 'Generate Form' that looks like a white piece of paper with a gear on the bottom of it.
    13. This opens up a new form and since I don't have a crazy bunch of fields in my table I just click Finished (If you click next you can specify which fields you want to exclude from the form but this time I don't need to)
    14. This actually creates 2 forms if you look at the code, the second just shows the return type from when you click 'CreateCustomer' button on the first form. Because they overlap in design view I drag the form out of the way so you can see the input form, the return form, and the datagrid
    15. Then I save and compile...
    (Also if your actually reading this I didn't remove the id form field, I get the same result either way, but if you do remove the form field in the code/design you also have to update the button function to not deal with the id before it gets sent off to the php page since in this case the MySQL table is set to auto_increment the id, sorry this doesn't make much sence but this little area doesn't matter much either way)
    16. Now fill in whatever data you want for name and email, try differnt numbers in the id field like 0, nothing, 1, 1000 and click 'CreateCustomer'
    (For me nothing happens, no return is put in the return field, no error pops up and the datagrid is not updated with the new record, also going over to phpMyAdmin and checking out the table browse doesn't show any changes either, I know the button is calling the function because if I add a state change in that function it changes, it would seem that the line:
    createCustomerResult.token = customerService.createCustomer(customer2); doesn't do anything)
    So any idea what is wrong here, I'm convenced it's something stupid easy simple I just can't see it.

    In case you need more info, here is a code dump on a mxml project that has this problem:
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                           xmlns:s="library://ns.adobe.com/flex/spark"
                           xmlns:mx="library://ns.adobe.com/flex/mx"
                           xmlns:customerservice="services.customerservice.*"
                           xmlns:valueObjects="valueObjects.*"
                           currentState="State1">
        <fx:Script>
            <![CDATA[
                import mx.controls.Alert;
                import mx.events.FlexEvent;
                protected function dataGrid_creationCompleteHandler(event:FlexEvent):void
                    getAllCustomerResult.token = customerService.getAllCustomer();
                protected function button_clickHandler(event:MouseEvent):void
                    var customer2:Customer = new Customer();
                    customer2.id = parseInt(idTextInput.text);
                    customer2.name = nameTextInput.text;
                    customer2.email = emailTextInput.text;
                    currentState = "Test";
                    createCustomerResult.token = customerService.createCustomer(customer2);
            ]]>
        </fx:Script>
        <s:states>
            <s:State name="State1"/>
            <s:State name="Test"/>
        </s:states>
        <fx:Declarations>
            <s:CallResponder id="getAllCustomerResult"/>
            <customerservice:CustomerService id="customerService"
                                             fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)"
                                             showBusyCursor="true"/>
            <valueObjects:Customer id="customer"/>
            <s:CallResponder id="createCustomerResult"/>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <s:DataGrid id="dataGrid" includeIn="State1" x="330" y="10" width="392"
                    creationComplete="dataGrid_creationCompleteHandler(event)" requestedRowCount="4">
            <s:columns>
                <s:ArrayList>
                    <s:GridColumn dataField="id" headerText="id"></s:GridColumn>
                    <s:GridColumn dataField="name" headerText="name"></s:GridColumn>
                    <s:GridColumn dataField="email" headerText="email"></s:GridColumn>
                </s:ArrayList>
            </s:columns>
            <s:typicalItem>
                <fx:Object id="id1" email="email1" name="name1"></fx:Object>
            </s:typicalItem>
            <s:AsyncListView list="{getAllCustomerResult.lastResult}"/>
        </s:DataGrid>
        <s:Form includeIn="State1" defaultButton="{button}">
            <s:FormItem label="Id">
                <s:TextInput id="idTextInput" text="{customer.id}"/>
            </s:FormItem>
            <s:FormItem label="Name">
                <s:TextInput id="nameTextInput" text="{customer.name}"/>
            </s:FormItem>
            <s:FormItem label="Email">
                <s:TextInput id="emailTextInput" text="{customer.email}"/>
            </s:FormItem>
            <s:Button id="button" label="CreateCustomer" click="button_clickHandler(event)"/>
        </s:Form>
        <s:Form includeIn="State1" x="0" y="204">
            <s:FormItem label="CreateCustomer">
                <s:TextInput id="createCustomerTextInput" text="{createCustomerResult.lastResult as int}"/>
            </s:FormItem>
        </s:Form>
    </s:WindowedApplication>

  • How to auto scroll a table to last row when using Active Data Service?  11g

    Hi all,
    Has anyone got any experience with the ADF Active Data Service?
    I am using an af:table in combination with the ADF Active Data Service and I want the table to scroll to the latest row when new data arrives.
    It is basically a simple setup:
    The value attribute of my table points to a bean that extends CollectionModel and implements ActiveDataModel. This works perfectly. A soon as I receive new data in my bean, the table is automatically updated (e.g. a new row is inserted). I use JDev version: 11.1.1.3
    The problem is that I can not get the scroll bar to move down to the last row automatically when new data arrives. The auto scroll only works for the client that actually performs a submit. In other words the person that submits the new data, will see his scrollbar move down, this is because I added the following code:
    RowKeySet rowkeysset = chatTableBinding.getSelectedRowKeys();
    rowkeysset.clear();
    rowkeysset.add(getRowKey());
    AdfFacesContext.getCurrentInstance().addPartialTarget(this.chatTableBinding);
    This does not work for the clients that receive the new data via the Active data model. Apparently the active data service partially refreshes the table, but not in such a way that it sets the selected row to the last row?
    My table definition:
    <af:table value="#{pageFlowScope.chatBean.instantMessagingChatwindowBean}" var="row"
    id="t1" columnStretching="last" rows="10"
    styleClass="AFStretchWidth" autoHeightRows="10" contentDelivery="immediate"
    horizontalGridVisible="false"
    verticalGridVisible="false"
    disableColumnReordering="true" displayRow="last"
    rowSelection="single"
    binding="#{pageFlowScope.chatBean.instantMessagingChatwindowBean.chatTableBinding}"
    inlineStyle="height:80px;">
    p.s.
    The table is used to show incoming chat message.
    I am building a chat client (taskflow) in a Webcenter application. The concept is similar of that presented by Lucas Jellemain in his blogpost on building a Google Talk Client http://www.oracle.com/technetwork/articles/jellema-googletalk-094343.html

    Dan,
    This is a thanks for posting your findings. You saved me quite some time.
    <af:selectBooleanCheckbox id="showOnlyActiveSubscriptions" selected="true"
    label="Show only active services:"
    value="#{servicePortfolioBean.showOnlyActiveSubscriptions}"
    autoSubmit="true" />
    <af:table binding="#{servicePortfolioBean.serviceTable}" ...
    partialTriggers="showOnlyActiveSubscriptions">
    Of course, when I add a "ValueChangeListener" to the selectBooleanCheckbox, the PPR stops working. :( I wonder why?

  • Problem in creating Data/Service in FlashBuilder 4 beta 2 with this error .cvc-elt.1: Cannot find the declaration of element 'model'

    hi
    i have a problem after installing flashBuilder 4 beta2 .
    when i want to create Data/Service with BlazeDs and when i click on button finish
    this error shown and I can't do anything with it .
    in flashBuilder beta1 it's work perfect .
    if any one in thereand know why?
    please help me
    ERROR: XML parse error : Error on line 1 of documen : cvc-elt.1:Cannot find declaration of element 'model'. Nested exeption:Cannot find declaration of element 'model'.
    thanks

    Hi,
    Thanks for your feedback
    Can you attach your sample project and provide details on the Flash Builder and BlazeDS builds you are using?
    Also add your vote to http://bugs.adobe.com/jira/browse/FB-23479 a similar known issue
    Thanks,
    Balaji
    http://balajisridhar.wordpress.com

  • Problem connecting to Data/Service outside web root

    I'm new to Flash Builder (4.5). I work in an environment where developers have full access to a specified folder and subfolders on a Windows box running IIS 7 and ColdFusion 9.
    So the path to the services-config.xml looks like this (server and folder names have been changed, but the structure is the same):
    \\servername\flex$
    Path to coldfusion root looks like this
    \\servername\coldfusion9$
    The developers don't have write access to those areas. What we have is
    \\servername\webteam$\webcontent\app1
    \\servername\webteam$\webcontent\app2
    And so on
    Then our server admin sets up virtual servers so that our urls look like http://app1.ourdomain.co, app2.ourdomain.com, etc. 
    I set up a project specifying ColdFusion as the server technology and using the above paths and everything works 
    I've run set up a couple Hello World tests using <mx:RemoteObject destination="ColdFusion" source="app1.flextest"></mx:RemoteObject> and everything works as expected. (No database connections, just a function that returns a string) 
    The problem is when I try to exploit the magic of Flash Builder and use the Connect to Data Service feature to write my queries for me : ) 
    I select ColdFusion 
    In the CFC location I enter 
    \\servername \webteam$\webcontent\app1\cpa\flextest.cfc 
    Which is the same working cfc I connected to manually in my Hello World test. Flash Builder automatically populates the Service Name, Service Package, and Data Type Packages and I click next. I enter my RDS password and I then get this error: 
    The CFC file is invalid. Possible causes can be found by accessing: http://app1.ourdomain.com//CFIDE/componentutils/cfcexplorer.cfc?method=getCFCMetaData&name =flextest&path=%2Fwebcontent%2Fapp1%2Fflextest.cfc 
    Copying and pasting the url into my browser I get this error: 
    The value returned from the getCFCMetaData function is not of type struct. 
    HOWEVER, if I modify the url and remove "%2Fwebcontent%2Fapp1%" I get a response: 
    E:\webteam\webcontent\app1\flextest.cfcE:\ColdFusion9\wwwroot\WEB-INF\cftags\component.cfc WEB-INF.cftags.componentWEB-INF.cftags.componentcomponentcpa.flextestcpa.flextestcomponent remoteflexteststring 
    So I just need to tell Flash Builder to shorten the path and not add "/webcontent/app1" How? 
    Sorry it took so long to explain. I've been googling for days and can't find anything. I'm sure there must be other users who develop on servers outside the root path of their web server, right? 
    P.S. I tried mapping drives but that didn't help
    Thanks,
    Ron
    "Embrace the senile genius"

    Hi ,
        Check if the database server is up and running.The console will have two root nodes .R they both in green?
    Try connecting and entering into the database externally.
    Generally if the DB instance is not running , this error would occur.
    regards,
    aravindh.

  • Error when caching data locally using LiveCycle Data Services

    Hi all,
    I developing a mobile application support working offline. I using cache feature of LiveCycle Data Services.
    This is my datasevice ( it has associate to others dataservice ) and autoSaveCache = true and cacheID = "xxx":
    <destination id="expenseData">
              <properties>
                        <source>expense.ExpenseDataAssembler</source>
                        <scope>application</scope>
                        <item-class>expense.ExpenseData</item-class>
                        <metadata>
                                  <identity property="id" />
                  <one-to-many property="expenseItems" destination="expense-item" />
                        </metadata>
              </properties>
    </destination>
    when I run application in the first, it run nomarly but when I close and run it again , i get the errror message as below :
    Error: Object instance needs an mx_internal::referencedIds property inorder to be managed: Object
              at mx.data.utils::Managed$/getReferencedIds()[C:\depot\DataServices\branches\milestone\adepd s46_rc\frameworks\projects\data\src\mx\data\utils\Managed.as:292]
              at mx.data::DataStore/restoreAssociations()[C:\depot\DataServices\branches\milestone\adepds4 6_rc\frameworks\projects\data\src\mx\data\DataStore.as:5010]
    - The error message not showed when I remove line <one-to-many property="expenseItems" destination="expense-item" /> .
    Please help me if you know about this problem.
    Thanks so much.

    no body help me !!!

Maybe you are looking for

  • Laptop-mode-tools fixes and improvements

    I have been in contact with the autor of laptop-mode-tools and new version is coming some time next month or maybe even in March. So I decided to share my tweaks because some things are broken right now and some need improvements. There are some modu

  • "distinct" and "group by"

    Hello, Here below a test case. I have a query which take more than 3 second. It base on a view statement which use a distinct. SQL> set autot traceonly explain stat SQL> SELECT FILL.USERID,FILL.WORKLISTNAME,FILL.WLRECNAME,FILL.DESCR      FROM PS_RB_W

  • I do not receive MLB in my area for Yankees, Mets, or Phillies. How do I  receive for this program?

    This is terrible, how confusing to any senior using this APPLE TV PRODUCT!!!

  • Score Issues Update

    Hi All, Last Feb. Conner raised the issue of Captivate 5 reporting 0% score to the LMS instead of N/A that Captivate 4 reports. As in Conner's case the lMS is Taleo Learn, there are no quizes in my project, I am publishing as SCORM with complete/inco

  • I can't get the scrubber control back on any video.

    Hi! I hope that someone can help me out, I've looked and looked and still can't tell if there's an easy solution for this or not. I've synced over videos from itunes on my computer and can play them okay in the itunes ipod app. However, once the cont