Hi All,

I ahve a service "authenticate" which has three parameters username,
password, and serviceName. First two parameters are mandatory and the last
parameter is optional. Here is the WSDL portion of the service:....
......
<xs:element name="*authenticate*">
 -<http://127.0.0.1:8080/weblims3/services/labware_weblims_authenticate?wsdl#>
<xs:complexType>
 -<http://127.0.0.1:8080/weblims3/services/labware_weblims_authenticate?wsdl#>
<xs:sequence>
   <xs:element minOccurs="*0*" name="*username*" nillable="*true*" type="*
xs:string*" />
   <xs:element minOccurs="*0*" name="*password*" nillable="*true*" type="*
xs:string*" />
   <xs:element minOccurs="*0*" name="s*erviceName*" nillable="*true*" type="
*xs:string*" />
  </xs:sequence>
  </xs:complexType>
  </xs:element>
...

For all three params "minOccurs" is 0 which means optional. Is there any way
to mention mandatory parameters in services.xml?

Chinmoy

Reply via email to