You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrf-commits@ws.apache.org by sc...@apache.org on 2005/07/12 17:13:40 UTC

svn commit: r215963 - /webservices/wsrf/trunk/src/java/org/apache/ws/util/WsdlUtils.java

Author: scamp
Date: Tue Jul 12 08:13:38 2005
New Revision: 215963

URL: http://svn.apache.org/viewcvs?rev=215963&view=rev
Log:
updated for accepting no outputs in wsdl ...i.e. the Notify porttype

Modified:
    webservices/wsrf/trunk/src/java/org/apache/ws/util/WsdlUtils.java

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/util/WsdlUtils.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/util/WsdlUtils.java?rev=215963&r1=215962&r2=215963&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/util/WsdlUtils.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/util/WsdlUtils.java Tue Jul 12 08:13:38 2005
@@ -99,6 +99,10 @@
     public static boolean equals( Output output1,
                                   Output output2 )
     {
+        if(output1 == null && output2==null)
+        {
+            return true;
+        }
         return equals( output1.getMessage(),
                 output2.getMessage() );
     }