|Re: variables in BPEL [message #5475 is a reply to message #5432]
||Wed, 16 August 2006 15:55
Registered: July 2009
What I do:
ResourceSet resourceSet = new ResourceSetImpl();
Create resource set and load xsd, wsdl and finally bpel files into it:
URI uri = URI.createFileURI(file.getAbsolutePath());
Then I get XSDTypeDefinition for variable :
XSDTypeDefinition type = var.getType();
Then I see two problems:
1. I get only proxy object, while there is correct xsd in resource set
2. The proxy object has incorrect namespace in QName
See 'complexTypeInXSD' variable in attached bpel.
"James Moody" <James_Moody@ca.ibm.com> wrote in message
> Rykovanov Dmitrii wrote:
> > Hello,
> > I'm using org.eclipse.bpel.model to parse my bpel files. How can I
> > bpel plugin loading dependent wsdl or xsd files and get type or message
> > definitions from it? Now I get dummy proxy objects instead.
> > --
> > Rykovanov Dmitri
> > mailto:email@example.com
> If you're getting proxy objects, then the model can't resolve the wsdl
> or xsd files, which is to say that it's trying to load them but failing.
> Could you open a bug in bugzilla, and please attach the test case
> (perhaps a zip file with the same structure as the workspace you're
> trying to use). That will let us reproduce the case and debug it.
> As a first hint, I'd make sure that all of the imports in the bpel file
> look correct.
Powered by FUDForum
. Page generated in 0.06640 seconds