Issue Details (XML | Word | Printable)

Key: WODEN-159
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: John Kaputin
Reporter: Lawrence Mandel
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Woden

InterfaceImpl.getAllInterfaceOperations and getAllInterfaceFaults are not quite recursive

Created: 02/May/07 07:53 PM   Updated: 13/Feb/08 09:12 PM
Return to search
Component/s: Parser
Affects Version/s: M7a
Fix Version/s: M8

Time Tracking:
Not Specified

Resolution Date: 02/Aug/07 12:17 PM


 Description  « Hide
Jacek Kopecky <jacek.kopecky@deri.org> reported the following Woden bug on the W3C mailing list. See http://lists.w3.org/Archives/Public/www-ws-desc/2007May/0001.html.

InterfaceImpl.getAllInterfaceOperations and getAllInterfaceFaults are
not quite recursive, they only go one level of interface extension deep.
This manifests in the flickr test-suite WSDL file when trying to access
the InterfaceOperation of the BindingOperation for
"flickr.groups.pools.add" - the method getInterfaceOperation() returns
null because the actual operation is too deep in the hierarchy of
extended interfaces.

Fix: in both InterfaceImpl.getDerivedInterface*, change getInterface* to
getAllInterface* - this can get into an infinite loop if a circular
interface extension is not detected as an error first.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
John Kaputin made changes - 19/Jun/07 02:25 PM
Field Original Value New Value
Assignee John Kaputin [ jkaputin ]
John Kaputin made changes - 19/Jun/07 02:25 PM
Fix Version/s M8 [ 12312291 ]
John Kaputin made changes - 02/Aug/07 12:03 PM
Attachment Interface-6B.patch.txt [ 12363040 ]
John Kaputin made changes - 02/Aug/07 12:03 PM
Attachment Interface-6B.patch.txt [ 12363040 ]
John Kaputin made changes - 02/Aug/07 12:08 PM
Comment [ A new testcase for interface extension (assertion Interface-1009) which includes operations, faults and bindings, so any attempt to process these will result in an infinite loop if the circular reference is not correctly handled. Testcase to be contributed to W3C WSDL 2.0 test suite. ]
John Kaputin made changes - 02/Aug/07 12:17 PM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]