Package com.eviware.soapui.model.iface

Examples of com.eviware.soapui.model.iface.MessageExchange


    return messageExchange;
  }

  public void setMessageExchange( MessageExchange messageExchange )
  {
    MessageExchange oldExchange = this.messageExchange;
    this.messageExchange = messageExchange;

    notifyPropertyChanged( MESSAGE_EXCHANGE, oldExchange, messageExchange );
  }
View Full Code Here


  public void updateXml()
  {
    try
    {
      MessageExchange messageExchange = messageExchangeModelItem.getMessageExchange();
      DefaultXmlDocument defaultXmlDocument = getDocument();

      if( messageExchange != null && messageExchange.getOperation() != null )
        defaultXmlDocument.setTypeSystem( messageExchange.getOperation().getInterface().getDefinitionContext()
            .getInterfaceDefinition().getSchemaTypeSystem() );

      defaultXmlDocument.setXml( messageExchange == null ? null : messageExchange.getRequestContentAsXml() );
    }
    catch( Throwable e )
    {
      SoapUI.logError( e );
    }
View Full Code Here

    }

    @Override
    public String getContent()
    {
      MessageExchange me = response.getMessageExchange();
      return me == null || me.getRawResponseData() == null ? "<missing raw response data>" : new String(
          me.getRawResponseData() );
    }
View Full Code Here

    }

    @Override
    public String getContent()
    {
      MessageExchange me = request.getMessageExchange();
      return me == null || me.getRawRequestData() == null ? "<missing raw request data>" : new String(
          me.getRawRequestData() );
    }
View Full Code Here

  public void updateXml()
  {
    try
    {
      MessageExchange messageExchange = messageExchangeModelItem.getMessageExchange();
      DefaultXmlDocument defaultXmlDocument = getDocument();

      if( messageExchange != null && messageExchange.getOperation() != null )
        defaultXmlDocument.setTypeSystem( messageExchange.getOperation().getInterface().getDefinitionContext()
            .getInterfaceDefinition().getSchemaTypeSystem() );

      defaultXmlDocument.setXml( messageExchange == null ? null : messageExchange.getResponseContentAsXml() );
    }
    catch( Exception e )
    {
      e.printStackTrace();
    }
View Full Code Here

      super( true, request, MessageExchangeModelItem.MESSAGE_EXCHANGE );
    }

    public StringToStringsMap getHeaders()
    {
      MessageExchange messageExchange = getModelItem().getMessageExchange();
      return messageExchange == null ? new StringToStringsMap() : messageExchange.getRequestHeaders();
    }
View Full Code Here

      super( true, response, MessageExchangeModelItem.MESSAGE_EXCHANGE );
    }

    public StringToStringsMap getHeaders()
    {
      MessageExchange messageExchange = getModelItem().getMessageExchange();
      return messageExchange == null ? new StringToStringsMap() : messageExchange.getResponseHeaders();
    }
View Full Code Here

      this.messageExchangeModelItem = messageExchangeModelItem;
    }

    public StringToStringMap getJMSHeadersAndProperties()
    {
      MessageExchange messageExchange = getModelItem().getMessageExchange();
      if( messageExchange != null )
        return messageExchange.getResponseHeaders().toStringToStringMap();
      else
        return new StringToStringMap();
    }
View Full Code Here

      this.messageExchangeModelItem = messageExchangeModelItem;
    }

    public StringToStringMap getJMSHeadersAndProperties()
    {
      MessageExchange messageExchange = getModelItem().getMessageExchange();
      if( messageExchange != null && messageExchange.getRequestHeaders() != null )
        return messageExchange.getRequestHeaders().toStringToStringMap();
      else
        return new StringToStringMap();
    }
View Full Code Here

    try
    {
      request.removeAttachmentsChangeListener( this );
      generateFiles();
      updateRequestContent( testStep, context );
      MessageExchange message = ( MessageExchange )testStep.run( ( TestCaseRunner )securityTestRunner, context );
      getSecurityScanRequestResult().setMessageExchange( message );
      request.addAttachmentsChangeListener( this );
    }
    catch( Exception e )
    {
View Full Code Here

TOP

Related Classes of com.eviware.soapui.model.iface.MessageExchange

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.