public Collection < QName > getPortComponentQNames ( ) { //TODO:Check if there is just one QName that drives all portcomponents //or each port component can have a distinct QName (namespace/prefix) //Maintain uniqueness of the QName Map < String , QName > map = new HashMap < String , QName > ( ) ; for ( PortComponentMetaData pcm : portComponents ) { QName qname = pcm . getWsdlPort ( ) ; map . put ( qname . getPrefix ( ) , qname ) ; } return map . values ( ) ; }
Get the QNames of the port components to be declared in the namespaces