|
|
Re: variables in BPEL [message #5475 is a reply to message #5432] |
Wed, 16 August 2006 15:55 |
brujito Messages: 6 Registered: July 2009 |
Junior Member |
|
|
Hi,
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());
resSet.getResource(uri, true);
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.
--
Rykovanov Dmitri
mailto:drykovan@abisoft.spb.ru
"James Moody" <James_Moody@ca.ibm.com> wrote in message
news:ebq5tf$bgb$1@utils.eclipse.org...
> Rykovanov Dmitrii wrote:
> > Hello,
> > I'm using org.eclipse.bpel.model to parse my bpel files. How can I
make
> > 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:drykovan@abisoft.spb.ru
> >
> >
>
> Hi,
>
> 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.
>
> james
|
|
|
Powered by
FUDForum. Page generated in 0.03337 seconds