[ http://issues.apache.org/jira/browse/WODEN-117?page=comments#action_12460525 ] John Kaputin commented on WODEN-117: ------------------------------------
If I remember correctly, our initial thinking on the API design was that because the direction of a binding fault reference depends on the interface fault reference in refers to, you should not be able to set the direction of a binding fault reference explicitly - i.e. its not independent of the interface fault reference. Instead you specify which interface fault reference the binding fault reference refers to with BindingFaultReferenceElement.setRef(QName) and you can then determine its direction from that interface fault reference by calling BindingFaultReferenceElement.getInterfaceFaultReferenceElement().getDirection(). This could perhaps be shortened with a convenience method. That said, we've mainly been focussing so far on parsing WSDL documents and have not thoroughly considered creating or modifying WSDL programmatically. It should be possible with Woden to create a partially complete (i.e. not yet valid) WSDL document and let Woden validation report the errors. So our current Element API might be too restrictive in this sense. We really need to be more Use Case driven, so Cindy if you have a use case you could share with us it might help our collective thinking on this. Even just a simple description of what you need to achieve with the Element API might be helpful. I notice that BindingMessageReference does have set/getDirection methods which perhaps contradicts what I just said about binding fault reference! More thought needed here. > BindingFaultReferenceElement provides no Direction attribute > ------------------------------------------------------------ > > Key: WODEN-117 > URL: http://issues.apache.org/jira/browse/WODEN-117 > Project: Woden > Issue Type: Bug > Reporter: Cindy McNally > > When adding a BindingFaultReferenceElement to a BindingOperationElement , > there is no way to indicate direction, i.e. whether it's an infault or an > outfault element. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]