public WebServiceField getFieldOutFromWsName( String wsName, boolean ignoreWsNsPrefix ) {
    WebServiceField param = null;

    if ( Utils.isEmpty( wsName ) ) {
      return param;
    }

    // if we are ignoring the name space prefix
    if ( ignoreWsNsPrefix ) {

      // we split the wsName and set it to the last element of what was parsed
      String[] wsNameParsed = wsName.split( ":" );
      wsName = wsNameParsed[wsNameParsed.length - 1];
    }

    // we now look for the wsname
    for ( Iterator<WebServiceField> iter = getFieldsOut().iterator(); iter.hasNext(); ) {
      WebServiceField paramCour = iter.next();
      if ( paramCour.getWsName().equals( wsName ) ) {
        param = paramCour;
        break;
      }
    }
    return param;
  }
@Test
  public void testGetFieldOut() throws Exception {
    DatabaseMeta dbMeta = mock( DatabaseMeta.class );
    IMetaStore metastore = mock( IMetaStore.class );
    WebServiceMeta webServiceMeta = new WebServiceMeta( getTestNode(), Collections.singletonList( dbMeta ), metastore );
    assertNull( webServiceMeta.getFieldOutFromWsName( "", true ) );
    assertEquals(
      "GetCurrentExchangeRateResult",
      webServiceMeta.getFieldOutFromWsName( "GetCurrentExchangeRateResult", false ).getName() );
    assertEquals(
      "GetCurrentExchangeRateResult",
      webServiceMeta.getFieldOutFromWsName( "something:GetCurrentExchangeRateResult", true ).getName() );

  }