Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumsvariables in BPEL
https://www.eclipse.org/forums/index.php/mv/msg/1895/5416/#msg_5416
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]]>brujito2006-08-09T15:13:19-00:00Re: variables in BPEL
https://www.eclipse.org/forums/index.php/mv/msg/1895/5432/#msg_5432
> 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]]>James Moody2006-08-14T15:46:54-00:00Re: variables in BPEL
https://www.eclipse.org/forums/index.php/mv/msg/1895/5475/#msg_5475
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.
"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