[kepler-dev] On Multi-outputs of Web Service actor
jzhang at lternet.edu
Fri Aug 12 09:31:46 PDT 2005
I'm not sure whether you got my mail sent yesterday. I looked into Axis
source codes and found that Parameters.list only contains input parameters.
Thus the WS actor will not be able to add multiple output ports when there
are multiple outputs from a WSDL operation when parameters.returnParam ==
null i.e., _returnMode==1 . c.f. method configureActor and method
I guess we didn't find this bug because we don't have Web services that have
multiple outputs so far (although the specification allows). So this is not
a big problem if we use Axis based WS endpoints. But we may need to fix it
if we really want to support WS with multi-outputs. Actually this is not
very difficult and here is how I find the whole sets of inputs and outputs
from a WSDL document.
public static void getParas(SymbolTable t, Port p,Operation o) throws
Input input = o.getInput();
Output output = o.getOutput();
Vector inputs=new Vector();
Vector outputs=new Vector();
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Kepler-dev