Validation of WSDL definition before every port/binding

Here's a patch, that eliminates the annoying NPE when validating WSDL containing more than one port and/or binding.
The analysis is [here at Bugzilla](https://bugs.eclipse.org/bugs/show_bug.cgi?id=323157#c7).