OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsrp-webservice message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [wsrp-webservice] optional desiredLocales parameter



sounds good


Mit freundlichen Gruessen / best regards,

        Richard Jacob
______________________________________________________
IBM Lab Boeblingen, Germany
Dept.8288, WebSphere Portal Server Development
Phone: ++49 7031 16-3469  -  Fax: ++49 7031 16-4888
Email: mailto:richard.jacob@de.ibm.com


|---------+---------------------------->
|         |           Andre Kramer     |
|         |           <andre.kramer@eu.|
|         |           citrix.com>      |
|         |                            |
|         |           04/10/2003 11:18 |
|         |           AM               |
|---------+---------------------------->
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                                                  |
  |       To:       Andre Kramer <andre.kramer@eu.citrix.com>, wsrp-webservice@lists.oasis-open.org                                                  |
  |       cc:                                                                                                                                        |
  |       Subject:  [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





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]