geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r168161 - /geronimo/trunk/modules/axis-builder/src/java/org/apache/geronimo/axis/builder/OperationDescBuilder.java
Date Wed, 04 May 2005 18:23:03 GMT
Author: djencks
Date: Wed May  4 11:23:02 2005
New Revision: 168161

URL: http://svn.apache.org/viewcvs?rev=168161&view=rev
Log:
fix import.  rpc/literal has a better chance of working now

Modified:
    geronimo/trunk/modules/axis-builder/src/java/org/apache/geronimo/axis/builder/OperationDescBuilder.java

Modified: geronimo/trunk/modules/axis-builder/src/java/org/apache/geronimo/axis/builder/OperationDescBuilder.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/axis-builder/src/java/org/apache/geronimo/axis/builder/OperationDescBuilder.java?rev=168161&r1=168160&r2=168161&view=diff
==============================================================================
--- geronimo/trunk/modules/axis-builder/src/java/org/apache/geronimo/axis/builder/OperationDescBuilder.java
(original)
+++ geronimo/trunk/modules/axis-builder/src/java/org/apache/geronimo/axis/builder/OperationDescBuilder.java
Wed May  4 11:23:02 2005
@@ -23,9 +23,9 @@
 import javax.wsdl.Message;
 import javax.wsdl.BindingInput;
 import javax.wsdl.extensions.soap.SOAPOperation;
+import javax.wsdl.extensions.soap.SOAPBody;
 import javax.wsdl.extensions.ExtensibilityElement;
 import javax.xml.namespace.QName;
-import javax.xml.soap.SOAPBody;
 
 import org.apache.geronimo.axis.client.OperationInfo;
 import org.apache.geronimo.common.DeploymentException;
@@ -62,7 +62,7 @@
         List extensibilityElements = bindingInput.getExtensibilityElements();
         for (Iterator iterator = extensibilityElements.iterator(); iterator.hasNext();) {
             ExtensibilityElement extensibilityElement = (ExtensibilityElement) iterator.next();
-            if (SOAPBody.class.isAssignableFrom(extensibilityElement.getClass())) {
+            if (extensibilityElement instanceof SOAPBody) {
                 String namespaceURI = ((SOAPBody)extensibilityElement).getNamespaceURI();
                 return new QName(namespaceURI, operationName);
             }



Mime
View raw message