RE: [wsdl] Where to put headerfaults in the SOAP Binding
by Matt Long other posts by this author
Dec 10 2001 5:10PM messages near this date
Re: [wsdl] Where to put headerfaults in the SOAP Binding
|
[wsdl] nowhere to specify actor URI in WSDL ?
Si,
I understand the soap:headerfault as specific the the soap:header that
scopes it. Therefore, the soap:header can be either scoped by <input> or
<output> . Faulting on a header using soap:headerfault would be specific the
header (whether input|output) header.
Thx,
-Matt
> -----Original Message-----
> From: Simon Horrell [mailto:simonh@[...].com]
> Sent: Monday, December 10, 2001 9:40 AM
> To: wsdl@[...].com
> Subject: Re: [wsdl] Where to put headerfaults in the SOAP Binding
>
>
> Hi Bob.
> Where does the WSDL spec say that a soap:headerfault will be "contained
> within the <input>element in the binding"?
> Did I overlook something?
>
> In sections http://www.w3.org/TR/wsdl#_soap:header and
> http://www.w3.org/TR/wsdl#_how-s, the WSDL spec shows that a
> soap:headerfault element can be present within soap:header
> elements defined
> within a /wsdl:definitions/wsdl:binding/wsdl:operation/wsdl:input or a
> /wsdl:definitions/wsdl:binding/wsdl:operation/wsdl:output.
>
> Because a soap:headerfault is describing part of the message that will go
> back as output, then could it be argued that it should be contained within
> the <output>element in the binding?
>
> Si.
>
> ----- Original Message -----
> From: "Bob Cunnings" <cunnings@[...].com>
> To: <wsdl@[...].com>
> Sent: Thursday, December 06, 2001 4:20 PM
> Subject: 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/
>
>
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/
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Break free. Great
American Smokeout
http://us.click.yahoo.com/3vN8tD/.pSDAA/ySSFAA/W6uqlB/TM
---------------------------------------------------------------------~->
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
|