Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sapphire-dev] Code for editor

Hey Konstantin (and the rest of the Sapphire dev team)...

I'm tired and at my wit's end with this for now. I'm hoping it's something stupid I'm doing. 

Currently it doesn't generate the SOAPBinding class in the generated code of .apt_generated, which is perplexing. And I'm running into a bizarre DOM Error where I think it's telling me that my service/bindingsoap element path is invalid in this exception [1].

The second issue is that if I try to create a tag with a period in it (i.e. bindingsoap should be binding.soap), it throws a different error.

And the third issue is the bizarre namespace problem. I'm shooting for creating something like the switchyard.xml file in the sample directory in the attached project. So far I'm just to the switchyard -> composite -> service -> binding.soap level in the XML as far as generating it.

I suspect that there must be some way of creating sub-components so not everything is nested in the switchyard sdef file to the Nth degree, which would probably make this easier to comprehend as well. 

Sorry this is in an e-mail and not in the forum. I couldn't figure out how to attach the file in the forum and didn't want to include absolutely everything code-wise in [CODE][/CODE] tags. I figured the sapphire mailing list was the next best thing.

Thanks in advance for any and all help here. I suspect it's user error, but have exhausted my options for now.


[1] !ENTRY org.eclipse.sapphire.ui 4 0 2011-03-31 13:42:40.442
!MESSAGE Invalid Characer Error
org.w3c.dom.DOMException: Invalid Characer Error
	at org.eclipse.wst.xml.core.internal.document.DocumentImpl.createElementNS(
	at org.eclipse.sapphire.modeling.xml.XmlElement.addChildElement(
	at org.eclipse.sapphire.modeling.xml.XmlElement.addChildElement(
	at org.eclipse.sapphire.modeling.xml.StandardXmlListBindingImpl.addUnderlyingObject(
	at org.eclipse.sapphire.modeling.LayeredListBindingImpl.add(
	at org.eclipse.sapphire.modeling.ModelElementList.addNewElement(
	at org.eclipse.sapphire.ui.swt.renderer.actions.internal.OutlineNodeAddActionHandlerFactory$
	at org.eclipse.sapphire.ui.SapphireActionHandler.execute(
	at org.eclipse.sapphire.ui.SapphireActionLink$1.linkActivated(
	at org.eclipse.sapphire.ui.swt.renderer.internal.formtext.SapphireFormText.activateLink(
	at org.eclipse.sapphire.ui.swt.renderer.internal.formtext.SapphireFormText.handleMouseClick(
	at org.eclipse.sapphire.ui.swt.renderer.internal.formtext.SapphireFormText.access$16(
	at org.eclipse.sapphire.ui.swt.renderer.internal.formtext.SapphireFormText$6.mouseUp(
	at org.eclipse.swt.widgets.TypedListener.handleEvent(
	at org.eclipse.swt.widgets.EventTable.sendEvent(
	at org.eclipse.swt.widgets.Widget.sendEvent(
	at org.eclipse.swt.widgets.Display.runDeferredEvents(
	at org.eclipse.swt.widgets.Display.readAndDispatch(
	at org.eclipse.ui.internal.Workbench.runEventLoop(
	at org.eclipse.ui.internal.Workbench.runUI(
	at org.eclipse.ui.internal.Workbench.access$4(
	at org.eclipse.ui.internal.Workbench$
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
	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(
	at org.eclipse.equinox.launcher.Main.basicRun(
	at org.eclipse.equinox.launcher.Main.main(

Brian Fitzpatrick (aka "Fitz")
Senior Software Engineer, SOA-P
JBoss by Red Hat

Description: Zip archive

Back to the top