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: 1794
Registered: July 2009
Location: Firenze, Italy
Senior Member

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

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

am I doing something wrong?

Note that in the bpel file there is


thanks in advance

Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)

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.

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

Current Time: Sat Oct 01 01:58:53 GMT 2022

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

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

Back to the top