Package com.eviware.soapui.impl.wsdl.teststeps

Examples of com.eviware.soapui.impl.wsdl.teststeps.WsdlResponseMessageExchange


    protected ValidationError[] validateXml( String xml )
    {
      WsdlOperation operation = getModelItem().getOperation();
      WsdlValidator validator = new WsdlValidator( ( operation.getInterface() ).getWsdlContext() );

      WsdlResponseMessageExchange wsdlResponseMessageExchange = new WsdlResponseMessageExchange( getModelItem() );
      wsdlResponseMessageExchange.setRequestContent( xml );
      return validator.assertRequest( wsdlResponseMessageExchange, false );
    }
View Full Code Here


      }

      WsdlOperation operation = getModelItem().getOperation();
      WsdlValidator validator = new WsdlValidator( ( operation.getInterface() ).getWsdlContext() );

      return validator.assertResponse( new WsdlResponseMessageExchange( getModelItem() ), false );
    }
View Full Code Here

        MessageExchange exchange = null;

        if( testStep instanceof WsdlTestRequestStep )
        {
          WsdlTestRequestStep testRequestStep = ( WsdlTestRequestStep )testStep;
          exchange = new WsdlResponseMessageExchange( testRequestStep.getTestRequest() );
          ( ( WsdlResponseMessageExchange )exchange ).setResponse( testRequestStep.getTestRequest().getResponse() );
        }
        else if( testStep instanceof RestTestRequestStepInterface )
        {
          RestTestRequestStepInterface testRequestStep = ( RestTestRequestStepInterface )testStep;
View Full Code Here

            public void actionPerformed(ActionEvent event) {
                TestStep testStep = getAssertable().getTestStep();
                MessageExchange exchange = null;

                if (testStep instanceof WsdlTestRequestStep) {
                    exchange = new WsdlResponseMessageExchange(((WsdlTestRequestStep) testStep).getTestRequest());
                } else if (testStep instanceof RestTestRequestStepInterface) {
                    exchange = new RestResponseMessageExchange(((RestRequestInterface) ((RestTestRequestStepInterface) testStep).getTestRequest()));
                } else if (testStep instanceof HttpTestRequestStepInterface) {
                    exchange = new HttpResponseMessageExchange(((HttpTestRequestStepInterface) testStep).getTestRequest());
                } else if (testStep instanceof WsdlMockResponseTestStep) {
View Full Code Here

TOP

Related Classes of com.eviware.soapui.impl.wsdl.teststeps.WsdlResponseMessageExchange

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.