Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
The "methods" configuration parameter takes a list of methods, but
if more than one method is specified then the execution of Java2WSDL
will fail. This is because axistools generates a call like
"... -m m1 m2 m3 ..."; however, the -m option expects a single
parameter, and hence the "m2" and "m3" are taken as class-of-port-type
arguments.
Workaround: instead of using something like
<methods>
<method>m1</method>
<method>m2</method>
<method>m3</method>
</methods>
you need to supply the list in a single method element, e.g.
<methods>
<method>m1 m2 m3</method>
</methods>
Attached is a simple patch for this problem.
<methods>
<method>m1</method>
<method>m2</method>
<method>m3</method>
</methods>
Is the intended configuration, not work around