Uploaded image for project: 'Woden'
  1. Woden
  2. WODEN-225

Exception when serializing empty Description.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • M9
    • Parser
    • None

    Description

      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.

      Attachments

        1. DOMWSDLWriter.txt
          2 kB
          Dilshan Edirisuriya
        2. OMWSDLWriter.txt
          2 kB
          Dilshan Edirisuriya

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            dilshan Dilshan Edirisuriya
            dilshan Dilshan Edirisuriya
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment