← Prev in month
← Prev in thread
Re: [wsrp-webservice] optional desiredLocales parameter
After yesterdays call I decided to go ahead and give a "minOccurs='0'
desiredLocales" a quick test .NET <--> Axis 1.0.
using:
<element name="desiredLocales" type="xsd:string" minOccurs="0"
maxOccurs="unbounded" />
instead of (3 uses):
<element name="desiredLocales" type="xsd:string" nillable="true"
maxOccurs="unbounded" />
results (same for all .NET <--> Axis combinations):
sending null for desiredLocales - received desiredLocales == null
sending new String[0] for desiredLocales - received desiredLocales == null
sending new String[] { "ga" } - received desiredLocales.length == 1
desiredLocales[0].equals("ga"}
sending new String[] { "ga", "de" } - you get the picture, I'm sure.
So (if Axis is used with the --noWrapped flag) having an optional array
param is ok (note: the optional array is always in the last param position -
for above test & our wsdl).
regards,
Andre
← Prev in month
← Prev in thread