Package com.eviware.soapui.support.types

Examples of com.eviware.soapui.support.types.StringList


  private final TestPropertyHolder holder;

  public DefaultPropertyTableHolderModel( TestPropertyHolder holder )
  {
    this.holder = holder;
    names = new StringList( getPropertyNames() );
  }
View Full Code Here


  }

  @Override
  public void fireTableDataChanged()
  {
    names = new StringList( getPropertyNames() );
    super.fireTableDataChanged();
  }
View Full Code Here

    }
  }

  public String[] getCryptoNames()
  {
    StringList result = new StringList();

    for( WssCrypto crypto : getCryptoList() )
      result.add( crypto.getLabel() );

    return result.toStringArray();
  }
View Full Code Here

    if( port != null )
    {
      String endpoint = WsdlUtils.getSoapEndpoint( port );
      if( endpoint != null )
      {
        StringList list = new StringList( getEndpoints() );

        // expand properties..
        for( int c = 0; c < list.size(); c++ )
          list.set( c, PropertyExpander.expandProperties( this, list.get( c ) ) );

        if( !list.contains( endpoint ) )
        {
          if( UISupport.confirm( "Update existing requests with new endpoint\n[" + endpoint + "]",
              "Update Definition" ) )
          {
            for( int c = 0; c < getOperationCount(); c++ )
View Full Code Here

    return result.toStringArray();
  }

  public String[] getIncomingWssNames()
  {
    StringList result = new StringList();

    for( IncomingWss crypto : getIncomingWssList() )
      result.add( crypto.getName() );

    return result.toStringArray();
  }
View Full Code Here

    return result.toStringArray();
  }

  public String[] getOutgoingWssNames()
  {
    StringList result = new StringList();

    for( OutgoingWss crypto : getOutgoingWssList() )
      result.add( crypto.getName() );

    return result.toStringArray();
  }
View Full Code Here

    table.addProperty( "Name", "name", true );
    table.addProperty( "Description", "description", true );
    table.addProperty( "Message Size", "contentLength", false );
    table.addProperty( "Encoding", "encoding", new String[] { null, "UTF-8", "iso-8859-1" } );

    StringList outgoingNames = new StringList( mockResponse.getMockOperation().getMockService().getProject()
        .getWssContainer().getOutgoingWssNames() );
    outgoingNames.add( "" );
    table.addProperty( "Outgoing WSS", "outgoingWss", outgoingNames.toStringArray() );

    // attachments
    table.addProperty( "Enable MTOM", "mtomEnabled", JPropertiesTable.BOOLEAN_OPTIONS );
    table.addProperty( "Force MTOM", "forceMtom", JPropertiesTable.BOOLEAN_OPTIONS );
    table.addProperty( "Enable multiparts", "multipartEnabled", JPropertiesTable.BOOLEAN_OPTIONS );
View Full Code Here

    return result.toArray( new RestRepresentation[result.size()] );
  }

  public String[] getResponseMediaTypes()
  {
    StringList result = new StringList();

    for( RestRepresentation representation : getRepresentations( Type.RESPONSE, null ) )
    {
      if( !result.contains( representation.getMediaType() ) )
        result.add( representation.getMediaType() );
    }

    return result.toStringArray();
  }
View Full Code Here

    return propertyMap.get( name.toUpperCase() );
  }

  public String[] getPropertyNames()
  {
    StringList result = new StringList();
    for( String name : propertyMap.keySet() )
      result.add( propertyMap.get( name ).getName() );

    return result.toStringArray();
  }
View Full Code Here

    table.addProperty( "Domain", "domain", true );
    table.addProperty( "WSS-Password Type", "wssPasswordType", new String[] { WsdlRequest.PW_TYPE_NONE,
        WsdlRequest.PW_TYPE_TEXT, WsdlRequest.PW_TYPE_DIGEST } );
    table.addProperty( "WSS TimeToLive", "wssTimeToLive", true );

    StringList keystores = new StringList( request.getOperation().getInterface().getProject().getWssContainer()
        .getCryptoNames() );
    keystores.add( 0, null );
    table.addProperty( "SSL Keystore", "sslKeystore", keystores.toStringArray() );

    table.addProperty( "Skip SOAP Action", "skipSoapAction", JPropertiesTable.BOOLEAN_OPTIONS );

    // mtom / attachments
    table.addProperty( "Enable MTOM", "mtomEnabled", JPropertiesTable.BOOLEAN_OPTIONS );
View Full Code Here

TOP

Related Classes of com.eviware.soapui.support.types.StringList

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.