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=9891>.
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=9891

Why does TypeMappingImpl.register require AXIS factories?

           Summary: Why does TypeMappingImpl.register require AXIS
                    factories?
           Product: Axis
           Version: current (nightly)
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Basic Architecture
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


There is code in TypeMappingImpl.register:

        // Make sure the factories conform to the Axis interfaces
        if (sf != null &&
            !(sf instanceof SerializerFactory)) {
            throw new JAXRPCException();
        }
        if (dsf != null &&
            !(dsf instanceof DeserializerFactory)) {
            throw new JAXRPCException();
        }

If sf isn't an AXIS Serializer and/or dsf isn't an AXIS DeserializerFactory, 
registration fails.

The TCK factories are not AXIS factories, so the TCK fails when it calls
TypeMapping.register.

Reply via email to