On 6/21/06, Oshani Seneviratne <[EMAIL PROTECTED]> wrote:
Hi Chathura,

Thank you very much for the inputs. Please see the replies to your
questions in line.

On 6/21/06, Chathura Herath <[EMAIL PROTECTED]> wrote:
> I presume you are talking about the Element model interfaces here. So
> give me a little isight here. Are you gonna have another
> implementation of element model interfaces??
> like
> AXIOMBasedDescriptionImpl implements Description, DescriptionElement
>
> AXIOMBasedBindingImpl  implements Description, DescriptionElement
>
> , etc.

I thought the StAX based parsing is only required to build up the
element model only. (i.e OMWSDLReader extending the BaseWSDLReader)
Since the ComponentModelBuilder seem to build the component model from
the element model, is there a direct requirement to have another
implementation as you've suggested?
Answer is NO. My idea was to build the woden Element model uaing an
external Reader, like OMWSDLReader. How ever i got the impression that
you are trying to create another set of classes (like
AXIOMBasedDescriptionImpl) which i seriously wanted to discourage. It
will be too much of a work and leads to duplication.

FYI we do not need the differed building in woden, though we require
StAX parsing.
http://marc2.theaimsgroup.com/?l=woden-dev&m=114347514430932&w=2
So if Your OMWSDLReader is in the same form as the DOMWSDLReader, i
think things will be good. As you suggested, if we are gonna build the
DescriptionImpl, etc using AXIOM , we could use the component model
builder to build the Component model. THink we are  on the same page
now.

I feel that classes such as
AXIOMBasedDescriptionImpl would be an attempt to implement the Woden
object model extending Axiom elements. Please correct me if I'm wrong
on this.

However, I saw a todo comment in the ComponentModelBuilder to move the
logic inside DescriptionImpl. In such a situation the suggested
implementation might be useful. But at the moment, I am only
concentrating on implementing the Woden element interface from Axiom.

> What of the Component. How can i get the component model build using a
> StAX parser?? Are you gonna implement the toComponent method as well.
> FYI Axis2 depends on the flattening capability of the component model.

IMO, descriptionElement.toComponent() should work even with the StAX
based parser.

Thanks and Regards,
Oshani.



--
Chathura Herath
http://people.apache.org/~chathura/
http://chathurah.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to