Jeff Thomas created WODEN-243:

             Summary: Code error in org.apache.woden.internal.DOMWSDLWriter
                 Key: WODEN-243
             Project: Woden
          Issue Type: Bug
          Components: Parser
    Affects Versions: M10
            Reporter: Jeff Thomas

Looks like a small error in the DOMWSDLWriter:

The check on line 767 should be against the 'interfaceName' and not the 'name' 

760                  QName name = service.getName();
761                     if (name != null){
762                         DOMUtils.printAttribute(Constants.ATTR_NAME,
763                                 name.getLocalPart(),
764                                 pw);
765                     }
766                     QName interfaceName = service.getInterfaceName();
767                     if (name != null){
770                                 interfaceName,des, pw);
771                     }

This could lead to a NullPointerException in printQualifiedAttribute.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to