DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18084>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18084 Auto Typing in TypeMappingImpl only puts types in the default namespace Summary: Auto Typing in TypeMappingImpl only puts types in the default namespace Product: Axis Version: current (nightly) Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Serialization/Deserialization AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I have been working with the auto type feature in TypeMappingImpl and think it needs to be cleaned up a bit. I would like to be able to create the namsepace for java types that aren't registered the same way the java2wsdl emitter does. That is, namespaces are created from the package name and schema types are not the full package name, rather just the object name. This can be fixed two ways: a) ONLY create the namespaces from the package name and create schema type names from using the object name, and not the full package (ie: SomeObject instead of org.apache.app.SomeObject) b) Default to the "http://xml.apache.org/axis/java" name space and using the full package name for the types. Then, allow this this to be overridden/changed. Additionally, it would be beneficial to register the type if doAutoTypes is set in getTypeQName(), so there isn't a pervasive checking of "if ( doAutoTypes....)" throughout the code.
