ws-woden-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <>
Subject [jira] Created: (WODEN-218) User Guide examples do not correspond with current API
Date Mon, 10 Nov 2008 16:37:44 GMT
User Guide examples do not correspond with current API

                 Key: WODEN-218
             Project: Woden
          Issue Type: Bug
          Components: Website
            Reporter: Sebb

The User Guide includes the following code samples:

       WSDLFactory factory = WSDLFactory.newInstance();
       WSDLReader reader = factory.newWSDLReader();
       reader.setFeature(WSDLReader.FEATURE_VALIDATION, true);
       DescriptionElement descElem = reader.readWSDL(wsdlurl);  // WRONG readWSDL returns
a Description
       Description descComp = descElem.toComponent(); 

It's not clear how to get the descElem from the reader; this makes many of the following method
calls impossible to use.

        InterfaceElement interfaceElem = interfaces[0];
        InterfaceFaultElement[] faults = interfaceElem.getInterfaceFaultElements();
        XmlSchemaElement xsElem = faults[0].getElement(); // WRONG should be getXmlSchemaElement()

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:
For additional commands, e-mail:

View raw message