Examples of StringToStringMap


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

    super( messages.get( "Title" ), messages.get( "Description" ) );
  }

  protected StringToStringMap initValues( Interface iface, Object param )
  {
    StringToStringMap values = super.initValues( iface, param );

    values.putIfMissing( SKELETON_DEPLOY, "none" );
    values.putIfMissing( DEPLOY_SCOPE, "none" );
    values.putIfMissing( TYPE_MAPPING_VERSION, "1.2" );

    return values;
  }
View Full Code Here

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

    builder.addString( USERNAME, "-U" );
    builder.addString( PASSWORD, "-P" );

    try
    {
      StringToStringMap nsMappings = StringToStringMap.fromXml( values.get( NAMESPACE_MAPPING ) );
      for( String namespace : nsMappings.keySet() )
      {
        builder.addArgs( "-N" + namespace + "=" + nsMappings.get( namespace ) );
      }
    }
    catch( Exception e )
    {
      SoapUI.logError( e );
View Full Code Here

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

    String filePath = workspace.getPath();

    String recent = SoapUI.getSettings().getString( RECENT_WORKSPACES_SETTING, null );
    if( recent != null )
    {
      StringToStringMap history = StringToStringMap.fromXml( recent );
      history.remove( filePath );
      SoapUI.getSettings().setString( RECENT_WORKSPACES_SETTING, history.toXml() );
    }

    for( int c = 0; c < recentWorkspacesMenu.getItemCount(); c++ )
    {
      JMenuItem item = recentWorkspacesMenu.getItem( c );
View Full Code Here

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

    recentWorkspacesMenu.getItem( recentWorkspacesMenu.getItemCount() - 1 ).setEnabled( true );
    System.out.println( recentWorkspacesMenu.getItem( recentWorkspacesMenu.getItemCount() - 1 ).getText() );

    String recent = SoapUI.getSettings().getString( RECENT_WORKSPACES_SETTING, null );
    StringToStringMap history = recent == null ? new StringToStringMap() : StringToStringMap.fromXml( recent );
    history.put( filePath, workspace.getName() );
    SoapUI.getSettings().setString( RECENT_WORKSPACES_SETTING, history.toXml() );

    if( isEmptyMarker( recentWorkspacesMenu.getItem( 0 ) ) )
      recentWorkspacesMenu.remove( 0 );

    recentEditorsMenu.removeAll();
View Full Code Here

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

    public void actionPerformed( ActionEvent e )
    {
      if( !UISupport.confirm( "Remove all Projects from this menu?", "Question" ) )
        return;

      StringToStringMap emptyMap = new StringToStringMap();

      SoapUI.getSettings().setString( RECENT_PROJECTS_SETTING, emptyMap.toXml() );
      updateRecentProjectsMenu();

    }
View Full Code Here

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

    public void actionPerformed( ActionEvent e )
    {
      if( !UISupport.confirm( "Remove all Workspaces from this menu?", "Question" ) )
        return;

      StringToStringMap emptyMap = new StringToStringMap();

      SoapUI.getSettings().setString( RECENT_WORKSPACES_SETTING, emptyMap.toXml() );
      updateRecentWorkspacesMenu();

    }
View Full Code Here

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

  }

  public void addProperty( String name, String value )
  {
    if( properties == null )
      properties = new StringToStringMap();

    properties.put( name, value );
  }
View Full Code Here

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

      }

      responseContentType = responseHeaders.get( "Content-Type", "" );
      if( responseContentType != null && responseContentType.toUpperCase().startsWith( "MULTIPART" ) )
      {
        StringToStringMap values = StringToStringMap.fromHttpHeader( responseContentType );
        responseMmSupport = new MultipartMessageSupport( new MonitorMessageExchangeDataSource( "monitor response",
            in, responseContentType ), values.get( "start" ), null, true, SoapUI.getSettings().getBoolean(
            WsdlSettings.PRETTY_PRINT_RESPONSE_MESSAGES ) );
        responseContentType = responseMmSupport.getRootPart().getContentType();
      }
      else
      {
View Full Code Here

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

      }

      requestContentType = requestHeaders.get( "Content-Type", "" );
      if( requestContentType != null && requestContentType.toUpperCase().startsWith( "MULTIPART" ) )
      {
        StringToStringMap values = StringToStringMap.fromHttpHeader( requestContentType );
        requestMmSupport = new MultipartMessageSupport( new MonitorMessageExchangeDataSource( "monitor request",
            in, requestContentType ), values.get( "start" ), null, true, SoapUI.getSettings().getBoolean(
            WsdlSettings.PRETTY_PRINT_RESPONSE_MESSAGES ) );
        requestContentType = requestMmSupport.getRootPart().getContentType();
      }
      else
      {
View Full Code Here

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

  protected String initWsdlRequest( WsdlRequest wsdlRequest, ExtendedPostMethod postMethod, String requestContent )
      throws Exception
  {
    MimeMultipart mp = null;

    StringToStringMap contentIds = new StringToStringMap();
    boolean isXOP = wsdlRequest.isMtomEnabled() && wsdlRequest.isForceMtom();

    // preprocess only if neccessary
    if( wsdlRequest.isMtomEnabled() || wsdlRequest.isInlineFilesEnabled() || wsdlRequest.getAttachmentCount() > 0 )
    {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.