name attribute of wsdl:fault always equal to that of soap:fault

View: New views
2 Messages — Rating Filter:   Alert me  

name attribute of wsdl:fault always equal to that of soap:fault

by Kent Tong :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Hope this is the right list for this question. In WSDL 1.1, the name attribute of soap:fault must match
that of its parent:

                        <wsdl:fault name="f01" >
                                <soap:fault name="f01" use="literal"/>
                        </wsdl:fault>

My question, if that is the case, why it needs a name attribute at all? Why have a redundant name
attribute?

Thanks!
--
Kent Tong
Wicket tutorials freely available at http://www.agileskills2.org/EWDW
Axis2 tutorials freely available at http://www.agileskills2.org/DWSAA

RE: name attribute of wsdl:fault always equal to that of soap:fault

by Rogers, Tony :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Technically, no, it's not the right place because ws-desc is about WSDL
2.0

Tony Rogers
tony.rogers@...

-----Original Message-----
From: www-ws-desc-request@... [mailto:www-ws-desc-request@...] On
Behalf Of Kent Tong
Sent: Sunday, 18 November 2007 14:36
To: www-ws-desc@...
Subject: name attribute of wsdl:fault always equal to that of soap:fault


Hi,

Hope this is the right list for this question. In WSDL 1.1, the name
attribute of soap:fault must match that of its parent:

                        <wsdl:fault name="f01" >
                                <soap:fault name="f01" use="literal"/>
                        </wsdl:fault>

My question, if that is the case, why it needs a name attribute at all?
Why have a redundant name attribute?

Thanks!

-----
--
Kent Tong
Wicket tutorials freely available at http://www.agileskills2.org/EWDW
--
View this message in context:
http://www.nabble.com/name-attribute-of-wsdl%3Afault-always-equal-to-tha
t-of-soap%3Afault-tf4829040.html#a13816067
Sent from the w3.org - www-ws-desc mailing list archive at Nabble.com.