Author: slaws
Date: Fri Nov 23 02:55:29 2007
New Revision: 597638

URL: http://svn.apache.org/viewvc?rev=597638&view=rev
Log:
TUSCANY-1919
Fix the test for wrappedness for the void return type case

Modified:
    
incubator/tuscany/java/sca/modules/interface-wsdl/src/main/java/org/apache/tuscany/sca/interfacedef/wsdl/impl/WSDLOperationIntrospectorImpl.java

Modified: 
incubator/tuscany/java/sca/modules/interface-wsdl/src/main/java/org/apache/tuscany/sca/interfacedef/wsdl/impl/WSDLOperationIntrospectorImpl.java
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/interface-wsdl/src/main/java/org/apache/tuscany/sca/interfacedef/wsdl/impl/WSDLOperationIntrospectorImpl.java?rev=597638&r1=597637&r2=597638&view=diff
==============================================================================
--- 
incubator/tuscany/java/sca/modules/interface-wsdl/src/main/java/org/apache/tuscany/sca/interfacedef/wsdl/impl/WSDLOperationIntrospectorImpl.java
 (original)
+++ 
incubator/tuscany/java/sca/modules/interface-wsdl/src/main/java/org/apache/tuscany/sca/interfacedef/wsdl/impl/WSDLOperationIntrospectorImpl.java
 Fri Nov 23 02:55:29 2007
@@ -106,8 +106,8 @@
     public boolean isWrapperStyle() throws InvalidWSDLException {
         if (wrapperStyle == null) {
             wrapperStyle =
-                (operation.getInput().getMessage().getParts().values().size() 
== 0 || wrapper.getInputChildElements() != null) && (operation
-                    .getOutput() == null || wrapper.getOutputChildElements() 
!= null);
+                (operation.getInput() == null || 
operation.getInput().getMessage().getParts().size() == 0 || 
wrapper.getInputChildElements() != null) && 
+                (operation.getOutput() == null || 
operation.getOutput().getMessage().getParts().size() == 0 || 
wrapper.getOutputChildElements() != null);
         }
         return wrapperStyle;
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to