|
It seems as if the message that is sent to the Soap
server is incorrect
I call the Soap service as follows
call = (Call)
service.createCall();
call.setTargetEndpointAddress(new java.net.URL(url)); String[][] in1 = new String[][]{{"abc","cba"}, {"def","fed"}};
call.setOperation("move");
Object resp = call.invoke(new
Object[]{in1});
Which generates the following Soap message
parameter
<arg0>
<arg0 xsi:type="xsd:string">abc</arg0> <arg0 xsi:type="xsd:string">cba</arg0> <arg0 xsi:type="xsd:string">def</arg0> <arg0 xsi:type="xsd:string">fed</arg0> </arg0> But should be generating this (this happens with
the old version)
<item
soapenc:arrayType="xsd:string[2]">
<item>abc</item> <item>cba</item> </item> <item soapenc:arrayType="xsd:string[2]"> <item>def</item> <item>fed</item> </item> Am I doing something wrong, or is there perhaps a
problem with axis?
|
- Re: Multi dimensional String array Jean
