Got it - thanks Dilshan.

I spoke with Laurence regarding running Woden on mobile devices (on J2ME CDC). I am getting errors on standard Java methods (ex. split) so I guess that test would suffice that I cannot run Woden until CDC. I can look at the source code and see if I can figure out the extend of what needs to be changed but I may not have the time to port it. Anyone knows
of any mobile wsdl parsers?

Thanks

Dilshan Edirisuriya wrote:
Hi Demetris,


You are correct, those user guide pages are outdated. This is already reported in Woden-218 [1].

[1] - https://issues.apache.org/jira/browse/WODEN-218

Thanks ,

Dilshan

blog : http://dilshaned.blogspot.com/

On Wed, Mar 31, 2010 at 10:51 AM, Demetris <demet...@ece.neu.edu <mailto:demet...@ece.neu.edu>> wrote:


    Hi all,

      I am learning Woden and I have simply copied the examples listed
    both
    in the User Guide and in the distribution release notes - I
    noticed a few issues
    with the examples:

DescriptionElement descElem = reader.readWSDL(wsdlurl2); // the <description> element

    The above right hand side of the statement returns a Description
    and NOT a DescriptionElement
    so the compilation fails. To fix it I used this instead:

Description descComp = reader.readWSDL(wsdlurl2); // the Description component, always returned DescriptionElement descElem = descComp.toElement(); // the <description> element, if required

    Why is the original statement broken?

    Also with these statements the last one fails on the faults[0]:
         InterfaceElement interfaceElem = interfaces[0];
         InterfaceFaultElement[] faults =
    interfaceElem.getInterfaceFaultElements();
         XmlSchemaElement xsElem = faults[0].getElement();
    To fix it I has to use:
             XmlSchemaElement xsElem = faults[0].getXmlSchemaElement();

    I am wondering if the examples are stale or if I am missing something.

    Thanks

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: woden-dev-unsubscr...@ws.apache.org
    <mailto:woden-dev-unsubscr...@ws.apache.org>
    For additional commands, e-mail: woden-dev-h...@ws.apache.org
    <mailto:woden-dev-h...@ws.apache.org>



---------------------------------------------------------------------
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