You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sc...@apache.org on 2002/01/28 18:25:39 UTC

cvs commit: xml-axis/java/src/org/apache/axis/encoding TypeMappingImpl.java

scheu       02/01/28 09:25:39

  Modified:    java/src/org/apache/axis/encoding TypeMappingImpl.java
  Log:
  quick fix for Mark Roder
  
  Revision  Changes    Path
  1.2       +7 -6      xml-axis/java/src/org/apache/axis/encoding/TypeMappingImpl.java
  
  Index: TypeMappingImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/encoding/TypeMappingImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TypeMappingImpl.java	26 Jan 2002 02:40:33 -0000	1.1
  +++ TypeMappingImpl.java	28 Jan 2002 17:25:39 -0000	1.2
  @@ -166,12 +166,13 @@
       public void register(Class javaType, QName xmlType, 
                            javax.xml.rpc.encoding.SerializerFactory sf,
                            javax.xml.rpc.encoding.DeserializerFactory dsf) throws JAXRPCException {        
  -        if (xmlType.getNamespaceURI() == null ||
  -            xmlType.getNamespaceURI().equals("") ||
  -            javaType == null ||
  -            xmlType == null) {
  -            throw new JAXRPCException();
  -        }
  +
  +        //if (xmlType.getNamespaceURI() == null ||
  +        //    xmlType.getNamespaceURI().equals("") ||
  +        //    javaType == null ||
  +        //    xmlType == null) {
  +        //    throw new JAXRPCException();
  +        //}
           // Make sure the factories conform to the Axis interfaces
           if (sf != null &&
               !(sf instanceof SerializerFactory)) {