Thanks Harshana. I will try. Xue-Feng
________________________________ From: Harshana Martin <[email protected]> To: [email protected] Sent: Sun, February 13, 2011 2:43:42 AM Subject: Re: [Carbon-dev] Feature 'returnRowId' not found. Hi Xue-Feng, On Sun, Feb 13, 2011 at 12:09 AM, Harshana Martin <[email protected]> wrote: Hi Xue-Feng, > > >On Sat, Feb 12, 2011 at 11:45 PM, Xue-Feng Yang <[email protected]> wrote: > >Hi Harshana, >> >>What you said implied this sample haven't been tested on WSO2 Carbon Studio? >> >No. This sample is completely implemented using the Carbon Studio 1.0.0. But >at >that time we did not have the current Data Services Editor. This new DS editor >was included in the later versions of the Carbon Studio and the new DS editor >is still under development. Therefore there can be few such cases like this. > >>I saw Shopping Cart sample is a maven project. Is there any doc to build and >>run >>this sample project? >> >Though the DS editor is unable to open the Data Services file, you can open it >using the default XML editor and follow the sample using Carbon Studio and run >the sample. Otherwise, you can use maven and build the sample and deploy the >relevant artifacts in the correct Carbon Servers such as connector-service in >the WSO2 ESB, etc. Connector-service should be deployed in the WSO2 Application service (WSO2 AS) since it is a web service. Sorry for the confusion. Thanks and Regards, Harshana > >Thanks and Regards, >Harshana > >>Thanks, >> >>Xue-Feng >> >> >> >> ________________________________ From: Harshana Martin <[email protected]> >> >>To: [email protected] >> >>Sent: Sun, February 13, 2011 1:40:15 AM >>Subject: Re: [Carbon-dev] Feature 'returnRowId' not found. >> >> >>Hi Xue-Feng Yang, >> >> >>I was able to reproduce the issue. This is happening due to "returnRowId" >>element not declared in the emf model which we use for Data Services editor. >> >> >>I have created a bug report[0] and we will fix this ASAP. >> >> >>[0]. https://wso2.org/jira/browse/TOOLS-404 >> >> >>Thanks and Regards, >>Harshana >> >> >>On Sat, Feb 12, 2011 at 10:05 PM, Xue-Feng Yang <[email protected]> wrote: >> >>I tested the sample on >>> >>>Win XP, Java 1.6 and >>> >>>Eclipse Java EE IDE for web Developers >>> >>>Version: Helios Service Release 1 >>>build id: 20100917-0705 >>> >>>Thanks >>> >>> >>> >>> >>> >>>----- Original Message ---- >>>From: Xue-Feng Yang <[email protected]> >>>To: [email protected] >>>Sent: Sun, February 13, 2011 12:24:51 AM >>>Subject: [Carbon-dev] Feature 'returnRowId' not found. >>> >>>Hi all, >>> >>>I am new to WSO2 and trying to go through sample Shopping Cart. I followed the >>>direction from >>> >>> >>>wso2-carbon-studio-1.0.2.1-docs/shopping-cart-sample.html >>> >>>but got an error when I imported data >>>source:shopping-cart/data-service/dbs/SHoppingCartDS.dbs >>> >>>the details of the error message is as follows: >>> >>>org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: >> >>> >>>org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature 'returnRowId' not >>>found. >>>(platform:/resource/AcmeBackendServices/artifacts/ShoppingCartDS/ShoppingCartDS.dbs, >>> >>> >>>286, 75) >>> at >>>org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDemandLoadException(ResourceSetImpl.java:315) >>> >>> >>> >>> at >>>org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:274) >>> >>> >>> >>> at >>>org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:397) >>> >>> >>> >>> at >>>org.wso2.carbonstudio.eclipse.ds.presentation.DsEditor.createModel(Unknown >>>Source) >>> at >>>org.wso2.carbonstudio.eclipse.ds.presentation.DsEditor.createPages(Unknown >>>Source) >>> at >>>org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:348) >>> >>> >>> >>> at >>>org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:670) >>> >>> >>> >>> at >>>org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465) >>> at >>>org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595) >>> >>> >>> >>> at >>>org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:289) >>> at >>>org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2863) >>> >>> >>> >>> at >>>org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2768) >>> at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2760) >>> at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2711) >>> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) >>> at >org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2707) >>> at >org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2691) >>> at >org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2674) >>> at org.eclipse.ui.ide.IDE.openEditor(IDE.java:683) >>> at >>>org.wso2.carbonstudio.eclipse.capp.project.manager.CAppArtifactManager.createArtifact(Unknown >>> >>> >>>Source) >>> at >>>org.wso2.carbonstudio.eclipse.capp.project.manager.CAppArtifactManager.createArtifact(Unknown >>> >>> >>>Source) >>> at >>>org.wso2.carbonstudio.eclipse.capp.artifact.dataservice.ui.wizard.NewDataServiceArtifactWizard.performFinish(Unknown >>> >>> >>>Source) >>> at >>>org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:811) >>> at >>>org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:430) >>> at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624) >>> at >org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234) >>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) >>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) >>> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066) >>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657) >>> at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) >>> at org.eclipse.jface.window.Window.open(Window.java:801) >>> at >>>org.wso2.carbonstudio.eclipse.capp.project.ui.editor.ArtifactEditorPage$7.widgetSelected(Unknown >>> >>> >>>Source) >>> at >org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234) >>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) >>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) >>> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066) >>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657) >>> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) >>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) >>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) >>> at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) >>> at >>>org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) >>> at >>>org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) >>> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) >>> at >>>org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) >>> >>> >>> >>> at >>>org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) >> >>> at >>>org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) >>> >>> >>> >>> at >>>org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) >>> >>> >>> >>> at >>>org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) >>> at >>>org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) >>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) >>> at java.lang.reflect.Method.invoke(Unknown Source) >>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619) >>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574) >>> at org.eclipse.equinox.launcher.Main.run(Main.java:1407) >>>Caused by: org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature >>>'returnRowId' not found. >>>(platform:/resource/AcmeBackendServices/artifacts/ShoppingCartDS/ShoppingCartDS.dbs, >>> >>> >>>286, 75) >>> at >>>org.eclipse.emf.ecore.xmi.impl.XMLHandler.reportUnknownFeature(XMLHandler.java:1991) >>> >>> >>> >>> at >>>org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleUnknownFeature(XMLHandler.java:1955) >>> >>> >>> >>> at >>>org.eclipse.emf.ecore.xmi.impl.XMLHandler.setAttribValue(XMLHandler.java:2709) >>> at >>>org.eclipse.emf.ecore.xmi.impl.SAXXMLHandler.handleObjectAttribs(SAXXMLHandler.java:83) >>> >>> >>> >>> at >>>org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectFromFactory(XMLHandler.java:2193) >>> >>> >>> >>> at >>>org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectFromFeatureType(XMLHandler.java:2159) >>> >>> >>> >>> at >>>org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObject(XMLHandler.java:2035) >>> at >>>org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleFeature(XMLHandler.java:1814) >>> at >>>org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XMLHandler.java:1023) >>> at >>>org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:1001) >>> at >>>org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:712) >>> at >>>com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown >>> >>> >>>Source) >>> at >>>com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown >>> >>> >>>Source) >>> at >>>com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown >>> >>> >>>Source) >>> at >>>com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown >>>Source) >>> at >>>com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown >>> >>> >>>Source) >>> at >>>com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown >>>Source) >>> at >>>com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown >>>Source) >>> at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown >>>Source) >>> at >>>com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown >>>Source) >>> at >>>com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown >>> >>> >>>Source) >>> at javax.xml.parsers.SAXParser.parse(Unknown Source) >>> at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:181) >>> at >>>org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:180) > >>> at >>>org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1494) >>> at >>>org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1282) >>> at >>>org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:255) >>> >>> >>> >>> at >>>org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:270) >>> >>> >>> >>> ... 56 more >>> >>> >>>_______________________________________________ >>>Carbon-dev mailing list >>>[email protected] >>>http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> >>> >>> >>>_______________________________________________ >>>Carbon-dev mailing list >>>[email protected] >>>http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> >> >> >>-- >>Harshana Martin >>Software Engineer >>WSO2 Inc. >>Web:http://wso2.com >> http://wso2.org >> >> >>Mobile: +94 716062650 >>Blog: http://harshana05.blogspot.com >>Profile: https://www.google.com/profiles/harshana05 >>Twitter: http://twitter.com/harshana05 >> >> >>_______________________________________________ >>Carbon-dev mailing list >>[email protected] >>http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > > >-- >Harshana Martin >Software Engineer >WSO2 Inc. >Web:http://wso2.com > http://wso2.org > > >Mobile: +94 716062650 >Blog: http://harshana05.blogspot.com >Profile: https://www.google.com/profiles/harshana05 >Twitter: http://twitter.com/harshana05 > -- Harshana Martin Software Engineer WSO2 Inc. Web:http://wso2.com http://wso2.org Mobile: +94 716062650 Blog: http://harshana05.blogspot.com Profile: https://www.google.com/profiles/harshana05 Twitter: http://twitter.com/harshana05
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
