|
Re: Should nuSoap server produce a fault if a required element is not provi: msg#00072php.nusoap.general
Unfortunately, it is up to you validate. At this time, NuSOAP only uses WSDL for serialization, not de-serialization. Scott Nichol Do not send e-mail directly to this e-mail address, because it is filtered to accept only mail from specific mail lists. ----- Original Message ----- From: "Mark Scott" <mark.scott@xxxxxxxxxxxxxxxxxx> To: <nusoap-general@xxxxxxxxxxxxxxxxxxxxx> Sent: Friday, April 15, 2005 6:24 AM Subject: [Nusoap-general] Should nuSoap server produce a fault if a required element is not provided in the SOAP message? > 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 > _______________________________________________ > Nusoap-general mailing list > Nusoap-general@xxxxxxxxxxxxxxxxxxxxx > https://lists.sourceforge.net/lists/listinfo/nusoap-general > ------------------------------------------------------- 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_ide95&alloc_id396&op=click |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: problems with charset encoding: 00072, Scott Nichol |
|---|---|
| Next by Date: | Re: Re: Howto make "nested" arrays?: 00072, Lars Lystrup Christensen |
| Previous by Thread: | Should nuSoap server produce a fault if a required element is not provided in the SOAP message?i: 00072, Mark Scott |
| Next by Thread: | How to make an soap array from a list: 00072, Jeroen Braakman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |