Assert earlier when collecting an empty message.
Fix namespace handling in parsing of operations, e.g. for <wsdl:input>.