webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only

Glue wsdl2java problem generation

  • 1.  Glue wsdl2java problem generation

    Posted Wed June 16, 2004 10:41 AM

    Hello,

    If you want generate java object with wsdl2java from wsdl containing only one element with maxOccurs, the object is not generated !

    this is the wsdl extract :
    <complextype>
    <sequence>
    <element>
    </sequence>
    </complextype>
    so, Devices.java is not generated.

    a workarround is to add another element
    <complextype>
    <sequence>
    <element>
    <element>
    </sequence>
    </complextype>
    so, Devices.java is generated.

    Thanks in advance.


    #API-Management
    #webMethods
    #soa