|
Should nuSoap server produce a fault if a required element is not provided : msg#00066php.nusoap.general
In a WSDL file there is the following type definition (part of a bigger type): <xsd:complexType name="bookingSearchParamsProviderIdType"> <xsd:all> <xsd:element name="values" type="typens:providerIdArray"/> <xsd:element name="mode" type="typens:bookingSearchModeType"/> </xsd:all> </xsd:complexType> A client is producing a SOAP message that only contains the 'values' element and does not contain the 'mode' element, i.e. the message does not conform to the WSDL specification. Should nuSOAP produce a fault because of the missing element 'mode' or is it up to me to code the validation in the PHP code for the webservice? -- Mark Scott CSUK Solutions Technical Team Tel: +44 (0)845 6444 185 Email: mark.scott@xxxxxxxxxxxxxxxxxx ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Nusoap and Xul: 00066, Eric Jaume 00 |
|---|---|
| Next by Date: | How to make an soap array from a list: 00066, Jeroen Braakman |
| Previous by Thread: | Nusoap and Xuli: 00066, Eric Jaume 00 |
| Next by Thread: | Re: Should nuSoap server produce a fault if a required element is not provided in the SOAP message?: 00066, Scott Nichol |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |