[ 
https://issues.apache.org/jira/browse/WODEN-142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12518440
 ] 

Dan Harvey commented on WODEN-142:
----------------------------------

There is only one place in the Axis2 code that they use the 
DocumentationElement which is in the file

/axis2/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java

this uses getContent() to get an Object then cast it to a org.w3c.dom.Element 
object. This just needs one line adding to get the Element out of our 
XMLElement holder.

I've attached a patch to this Jira which would do this for them.

> <documentation> element should not be wrapped as java.lang.Object
> -----------------------------------------------------------------
>
>                 Key: WODEN-142
>                 URL: https://issues.apache.org/jira/browse/WODEN-142
>             Project: Woden
>          Issue Type: Improvement
>            Reporter: John Kaputin
>            Assignee: Dan Harvey
>             Fix For: M8
>
>         Attachments: BaseWSDLReader.java.patch, 
> DocumentationElement.java.patch, DocumentationElementTest.java.patch, 
> DocumentationImpl.java.patch
>
>
> DocumentationElement has the methods set/getContent which wrap the 
> <wsdl:documentation> element as a java.lang.Object. The convention in the 
> Woden API for wrapping WSDL elements is to use XMLElement as the wrapper. At 
> the very least this interface should use XMLElement. A better approach might 
> be to represent mixed content in this interface.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to