You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsif-dev@ws.apache.org by as...@apache.org on 2004/11/28 04:00:05 UTC

cvs commit: ws-wsif/java/src/org/apache/wsif/providers/soap/apacheaxis WSIFOperation_ApacheAxis.java

aslom       2004/11/27 19:00:05

  Modified:    java/src/org/apache/wsif/providers/soap/apacheaxis
                        WSIFOperation_ApacheAxis.java
  Log:
  applied Michael Schuerig to help using AXIS custom de/serializers in WSIF
  
  Revision  Changes    Path
  1.91      +2 -2      ws-wsif/java/src/org/apache/wsif/providers/soap/apacheaxis/WSIFOperation_ApacheAxis.java
  
  Index: WSIFOperation_ApacheAxis.java
  ===================================================================
  RCS file: /home/cvs/ws-wsif/java/src/org/apache/wsif/providers/soap/apacheaxis/WSIFOperation_ApacheAxis.java,v
  retrieving revision 1.90
  retrieving revision 1.91
  diff -u -r1.90 -r1.91
  --- WSIFOperation_ApacheAxis.java	23 Aug 2004 21:52:46 -0000	1.90
  +++ WSIFOperation_ApacheAxis.java	28 Nov 2004 03:00:05 -0000	1.91
  @@ -2097,8 +2097,8 @@
               Object serializer = tm.getSerializer();
               Object deserializer = tm.getDeserializer();
               
  -            if ( (javaType != null) && (javaType.isAssignableFrom(clazz))
  -                    && ( (elementType != null) && (elementType.equals(xmlType)) ) ){
  +            if ( (javaType == null) || (javaType.isAssignableFrom(clazz))
  +                    && ( (elementType == null) || (elementType.equals(xmlType)) ) ){
                   if ((serializer == null || serializer instanceof SerializerFactory)
                           && (deserializer == null || deserializer instanceof DeserializerFactory)
                           && (serializer != null || deserializer != null)) {