Re: [wsdl] Where to put headerfaults in the SOAP Binding
by Bob Cunnings other posts by this author
Dec 6 2001 4:20PM messages near this date
[wsdl] Where to put headerfaults in the SOAP Binding
|
Re: [wsdl] Where to put headerfaults in the SOAP Binding
Hi,
Yes, the fault header entries are declared using soap:faultheader
elements nested within the request header declaration with which
they are associated, so this will all be contained within the <input>
element in the binding. Here is an example:
http://www.whitemesa.net/wsdl/std/soapauthtest.wsdl
RC
>
> I have a web service which accepts some information in the SOAP header and
> may return some errors based on these values. I want to describe this using
> WSDL.
>
> I can describe the SOAP header using a <soap:header> element within the
> <input> element of the SOAP Binding. However, the implications of the
> following text from the spec seem a little strange:
>
> The optional headerfault elements which appear inside soap:header
> and have the same syntax as soap:header) allows specification of
> the header type(s) that are used to transmit error information
> pertaining to the header defined by the soap:header. The SOAP
> specification states that errors pertaining to headers must be
> returned in headers, and this mechanism allows specification of
> the format of such headers.
>
> If the headerfaults must be defined within the header that they relate to,
> does this mean that the errors returned by the web service should be defined
> within the <soap:header> element of the request message? That would imply
> that the header faults that may appear in the output message are defined
> within the <input> element.
>
> James.
>
>
> Cape Clear Software Limited.
> 61 Fitzwilliam Lane
> Dublin 2
> Ireland
>
> Email : james.pasley@[...].com
> Switchboard : + 353 (1) 2419900
> Direct line : + 353 (1) 2419957
> Fax : + 353 (1) 2419901
> www : www.capeclear.com
>
>
>
>
> To unsubscribe from this group, send an email to:
> wsdl-unsubscribe@[...].com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
To unsubscribe from this group, send an email to:
wsdl-unsubscribe@[...].com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Thread:
James Pasley
Bob Cunnings
Simon Horrell
Bob Cunnings
Simon Horrell
Matt Long
|