axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <>
Subject [jira] Created: (AXIS2-2867) setAction in generated code is empty
Date Wed, 27 Jun 2007 15:14:26 GMT
setAction in generated code is empty 

                 Key: AXIS2-2867
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
            Reporter: Davanum Srinivas

when i run wsdl2java against the version service (http://localhost:8080/axis2/services/Version?wsdl)
the setAction is set to an empty string. and the generated code does not work as the server
is not able to find the operation. Tracked it down to this diff 

Index: modules/kernel/src/org/apache/axis2/description/
--- modules/kernel/src/org/apache/axis2/description/     (revision
+++ modules/kernel/src/org/apache/axis2/description/     (working
@@ -456,7 +456,7 @@
             wsdl4jBindingOperation = (BindingOperation);
             wsdl4jOperation = findOperation(portType, wsdl4jBindingOperation);

-            axisBindingOperation.setName(new QName("", wsdl4jBindingOperation.getName()));
+            axisBindingOperation.setName(new QName(targetNamespace, wsdl4jBindingOperation.getName()));
             addDocumentation(axisBindingOperation, wsdl4jBindingOperation.getDocumentationElement());

             axisOperation = axisService.getOperation(new QName(targetNamespace, wsdl4jOperation.getName()));


This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message