Hi Chathura,
the 'ref' attribute of <wsdl:infault> or <wsdl:outfault> is a qname
identifying the interface fault. The relevant API methods are:
* InterfaceFaultReferenceElement.getRef() which returns the 'ref' qname
* InterfaceFaultReferenceElement.getInterfaceFaultElement() which returns
the InterfaceFaultElement referred to by 'ref'
* InterfaceFaultReference.getInterfaceFault() which returns the
InterfaceFault component referred to by 'ref'
In comparison, the 'element' atttibute of <wsdl:input> or <wsdl:output> is
a qname indentifying a schema element declaration. The relevant API methods
are:
* InterfaceMessageReferenceElement.getElementName() which returns the
'element' qname
* InterfaceMessageReferenceElement.getElement() which returns the
XmlSchemaElement referred to by 'element'
* InterfaceMessageReference.getElementDeclaration() which returns an
ElementDeclaration component
> What i am looking for is equivalent mentod
> for InterfaceMessageReference's getElementDeclaration() method.
So the equivalent method to InterfaceMessageReference's
getElementDeclaration() method is InterfaceFaultReference's
getInterfaceFault() method (that is, both these methods return the
Component referred to by the attribute qname). Does this suit your
requirement?
John Kaputin
"Chathura Herath"
<[EMAIL PROTECTED]
com> To
[email protected]
07/06/2006 08:03 cc
Subject
Please respond to How to get the element ref of
[EMAIL PROTECTED] InterfaceFaultReference
he.org
HI,
I couldn't find a method to get the element ref for the
InterfaceFaultReference. What i am looking for is equivalent mentod
for InterfaceMessageReference's getElementDeclaration() method. John's
tip; toelement would allow me tho get the info, but a method for the
InterfaceFaultReference Component would make the componenet API
complete. May be another suggession for the wsdl working group
Thanks
Chathura
--
Chathura Herath
http://people.apache.org/~chathura/
http://chathurah.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]