Hi sagara,

i went through the code samples and pointers you have given. they are very
helpful. writing a deserializer
for a Extension element is a very smart feature. but here i think it is a
overkill.

i went through the woden code & found that UnknownExtensionElement does have
a getElement() method.
so using this i should be able to get a XMLElement & then a DOM element.

what frustrate me is that this method cannot be located in Axis2. wonder
weather axis2 uses some old version of woden.

this is  the code fragment I'm working on,

DescriptionElement descElement=description.toElement();
>          ExtensionElement[]
> extensionElement=descElement.getExtensionElements();
>             for(ExtensionElement element: extensionElement){
>                XMLElement elem=(UnknownExtensionElement)element.*
> getElement()*;
>                Element domelement=(Element)elem.getSource();
>             }


but it doesnot show a method such as getElement().
any idea on this?

thanks
Pradeep Fernando.

Reply via email to