You are viewing a plain text version of this content. The canonical link for it is here.
Posted to woden-dev@ws.apache.org by "Dilshan Edirisuriya (JIRA)" <ji...@apache.org> on 2010/03/31 18:07:27 UTC

[jira] Updated: (WODEN-225) Exception when serializing Empty description.

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