You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Simon McClenahan <si...@stellent.com> on 2002/04/19 17:53:21 UTC

Derivation from anyType

In my WSDL I have types that are derived from anyType. By changing the derivation from anyType from by extension to by restriction, my Java code generated by WSDL2Java has no getters/setters, resulting in compilation errors in my client code.

Apparently DevStudio.NET won't take the WSDLs if derivation from anyType is by extension.
 
Axis won't generate correct code if the WSDLs if derivation from anyType by restriction is used.


In my mind, deriving from anyType by restriction doesn't make sense anyway. Regardless, is Axis' behavior correct in this case? I will email my WSDL upon request.

cheers,
	Simon