Keith,
the WSDL2 infoset does contain the <documentation> element as a child of 
each WSDL2 element, but this is not exposed in the WSDL2 component model. 
So as Jeremy confirmed, you will have to call toElement() on a Component 
to retreive it. This is because the Woden Component API attempts to 
accurately reflect the WSDL2 Component model as it's defined in the spec 
and the Element API models the XML representations in the spec, and the 
two models to not map directly. 

However, if this is an issue you can tell us a bit more about your usage 
of <documentation> as this will give us some feedback on possible 
shortcomings either in the spec or in the API.

regards,
John Kaputin


[EMAIL PROTECTED] wrote on 15/05/2007 11:06:45:

> Hi Keith, yes, because there is no documentation component in WSDL 2.
> 
> Cheers,
> Jeremy
> 
> On 15/05/07, keith chapman <[EMAIL PROTECTED]> wrote:
> > Hi all,
> >
> > What is the manner in which documentation in the WSDL can be accessed.
> > Should I always call toElement() on a component to access its 
documentation
> > element?
> >
> > Thanks,
> > Keith.
> >
> > --
> >  Keith Chapman
> > WSO2 Inc.
> > Oxygen for Web Services Developers.
> > http://wso2.org/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 






Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU







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

Reply via email to