Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » BPEL Designer » problems in resolving XSDTypeDefinitionProxy
problems in resolving XSDTypeDefinitionProxy [message #674251] Thu, 26 May 2011 08:42 Go to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1808
Registered: July 2009
Location: Firenze, Italy
Senior Member
Hi

I loaded an example of bpel model (I started using the Validator junit
plugin of bpel, which loads a bpel file programmatically)

The bpel file has some variables, for instance

<bpel:variable name="counter" type="ns1:long"></bpel:variable>
<bpel:variable name="VariableBoolean" type="ns1:boolean"></bpel:variable>

When I get an instance of these variables from the EMF model, for
instance the "counter" variable, and retrieve its type I get

org.eclipse.bpel.model.proxy.XSDTypeDefinitionProxy@1eb904d (eProxyURI:
file:/<path to my bpel
file>#XSDTypeDefinition{http://www.w3.org/2001/XMLSchema}long)

which is not resolved, thus it is always a proxy...

am I doing something wrong?

Note that in the bpel file there is

xmlns:ns1="http://www.w3.org/2001/XMLSchema"

thanks in advance
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net


Re: problems in resolving XSDTypeDefinitionProxy [message #675913 is a reply to message #674251] Wed, 01 June 2011 22:34 Go to previous message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 811
Registered: August 2010
Location: Colorado Springs, CO
Senior Member

Sadly, I haven't been able to figure out how (or if ever) XSDTypeDefinitionProxies for simple types get resolved Sad

Not sure if it helps, but you should be able to get the QName from the proxy and determine XSD simple types from that.

HTH
Bob
Previous Topic:open a bpel file programmatically
Next Topic:Creating a new XML node (allowed by schema)
Goto Forum:
  


Current Time: Sat Nov 11 08:33:37 GMT 2023

Powered by FUDForum. Page generated in 0.02023 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top