wscompile - WSDL to Java interface mapping questions

From: Mark D. Hansen <khookguy_at_YAHOO.COM>
Date: Wed, 09 Jul 2003 23:43:48 -0400

Why does wscompile create JAXB-like bindings for some parts in a WSDL message but not others? For example:

        <wsdl:message name="order">
                <wsdl:part name="body" element="oms:SalesOrder"/>
                <wsdl:part name="messagetypeHeader" element="xyz:typeofmessage"/>

When I generate a server interface (Service Endpoint Interface) from WSDL with the above message definition, the result is a java binding to a generated class mapping to the schema xyz:typeofmessage. However, the oms:SalesOrder schema gets bound to a generic SOAPElement class.

Any ideas?