Author: mmerz
Date: Mon Sep 20 12:27:15 2004
New Revision: 46945
Removed:
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/AnnotatedJWSHandler.java
Modified:
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/AxisHook.java
Log:
Deleted the AnnotatedJWSHandler in favor of the cleaned up
DropInDeploymentHandler.
Changed AxisHook to properly support functions using the Oneway annotation by
removing the empty response message. This way, the generated WSDL can indicate
a Oneway function is different than a regular function returning void.
Contributor: Jonathan Colwell
Modified:
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/AxisHook.java
==============================================================================
---
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/AxisHook.java
(original)
+++
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/AxisHook.java
Mon Sep 20 12:27:15 2004
@@ -21,6 +21,7 @@
import java.util.List;
import javax.xml.namespace.QName;
+import javax.wsdl.OperationType;
import org.apache.axis.wsdl.fromJava.Emitter;
import org.apache.axis.wsdl.fromJava.Namespaces;
@@ -92,8 +93,8 @@
od.setSoapAction(meth.getWmAction());
- if (meth.isOneWay()) {
- od.setReturnClass(java.lang.Void.TYPE);
+ if (meth.isOneWay()) {
+ od.setMep(OperationType.ONE_WAY);
}
else {
od.setReturnQName(new QName(meth.getWrName()));