|
|
|
|
|
|
|
|
|
|
|
Re: EclipseCon Demo/Slides [message #662552 is a reply to message #662547] |
Thu, 31 March 2011 05:47 |
Brian Fitzpatrick Messages: 500 Registered: July 2009 |
Senior Member |
|
|
Ok, got the attribute thing working. Thanks for the tip there.
As far as the namespace bits go...
For my root element, I'm defining:
@XmlRootBinding( namespace = "urn:switchyard-config:switchyard:1.0",
elementName = "switchyard" )
And then in the next level down in the hierarchy, I'm defining:
@XmlNamespace(prefix = "sca", uri = "http://docs.oasis-open.org/ns/opencsa/sca/200912")
public interface ... {
ModelElementType TYPE = blah...
@XmlBinding( path = "sca:composite/@name" )
It doesn't look any different than the IAddress/IContactsDatabase example, but I might be missing something.
[Updated on: Thu, 31 March 2011 05:54] Report message to a moderator
|
|
|
|
Re: EclipseCon Demo/Slides [message #662738 is a reply to message #662686] |
Thu, 31 March 2011 17:34 |
Brian Fitzpatrick Messages: 500 Registered: July 2009 |
Senior Member |
|
|
Well now I have a couple of issues. The namespace issue is one, but for some reason I can't get it to generate the implementation class for one of my interfaces. So when it tries to instantiate one, it dies because it's not there to instantiate.
I've tried everything I can think of short of deleting the file and recreating it. Any suggestions? Once I get it to the point where it'll build again I can put the code up.
[Update: Tried deleting it and rebuilding, no luck there.]
--Fitz-
[Updated on: Thu, 31 March 2011 17:36] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.02739 seconds