[ 
https://issues.apache.org/jira/browse/WODEN-225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dilshan Edirisuriya updated WODEN-225:
--------------------------------------

    Attachment: OMWSDLWriter.txt
                DOMWSDLWriter.txt

Please review the attached patch. 

> Exception when serializing Empty description.
> ---------------------------------------------
>
>                 Key: WODEN-225
>                 URL: https://issues.apache.org/jira/browse/WODEN-225
>             Project: Woden
>          Issue Type: Bug
>          Components: Parser
>            Reporter: Dilshan Edirisuriya
>            Priority: Minor
>         Attachments: DOMWSDLWriter.txt, OMWSDLWriter.txt
>
>
> Element level API allows to create empty WSDL document in programmatically 
> but there are two strange  behaviors occurred when it serialize with 
> WSDLWritter.  
> 1.) When DescriptionElement desEle=fac.newDescription(); with no 
> targetNamespace value result in to a NullPointerException.
> 2.) when EndpointElement epEle= serElel.addEndpointElement(); without value 
> for name attribute also result in to a NullPointerException.

-- 
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: woden-dev-unsubscr...@ws.apache.org
For additional commands, e-mail: woden-dev-h...@ws.apache.org

Reply via email to