Skip to main content



      Home
Home » Modeling » BPEL Designer » problems in resolving XSDTypeDefinitionProxy
problems in resolving XSDTypeDefinitionProxy [message #674251] Thu, 26 May 2011 04:42 Go to next message
Eclipse UserFriend
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 18:34 Go to previous message
Eclipse UserFriend
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 Jul 05 08:17:06 EDT 2025

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

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

Back to the top