Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » BPEL Designer » variables in BPEL
variables in BPEL [message #5416] Wed, 09 August 2006 15:13 Go to next message
brujito is currently offline brujitoFriend
Messages: 6
Registered: July 2009
Junior Member
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
Re: variables in BPEL [message #5432 is a reply to message #5416] Mon, 14 August 2006 15:46 Go to previous messageGo to next message
James Moody is currently offline James MoodyFriend
Messages: 61
Registered: July 2009
Member
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
Re: variables in BPEL [message #5475 is a reply to message #5432] Wed, 16 August 2006 15:55 Go to previous message
brujito is currently offline brujitoFriend
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


Previous Topic:BPEL-Metamodel: Order in Sequence-Element
Next Topic:Designer status and roadmap
Goto Forum:
  


Current Time: Thu Apr 25 04:31:16 GMT 2024

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

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

Back to the top