code: public PortComponentMetaData getPortComponentByWsdlPort(String name)
     {
        ArrayList<String> pcNames = new ArrayList<String>();
        for (PortComponentMetaData pc : portComponents)
        {
           String wsdlPortName = pc.getWsdlPort().getLocalPart();
           if (wsdlPortName.equals(name))
              return pc;
  
           pcNames.add(wsdlPortName);
        }
  
        Loggers.METADATA_LOGGER.cannotGetPortComponentName(name, pcNames);
        return null;
     }
docs: Lookup a PortComponentMetaData by wsdl-port local part
  
  @param name - the wsdl-port local part
  @return PortComponentMetaData if found, null otherwise