Package com.eviware.soapui.impl.wsdl.support.soap

Examples of com.eviware.soapui.impl.wsdl.support.soap.SoapVersion


        this.mockResponse = mockResponse;
    }

    public void actionPerformed(ActionEvent e) {
        try {
            SoapVersion soapVersion = mockResponse.getOperation().getInterface().getSoapVersion();
            String content = mockResponse.getResponseContent();
            WsaUtils wsaUtils = new WsaUtils(content, soapVersion, mockResponse.getOperation(),
                    new DefaultPropertyExpansionContext(mockResponse));
            content = wsaUtils.addWSAddressingMockResponse(mockResponse);
            mockResponse.setResponseContent(content);
View Full Code Here


    public String internalAssertResponse(MessageExchange messageExchange, SubmitContext context)
            throws AssertionException {
        String responseContent = messageExchange.getResponseContent();
        try {
            // check manually before resource intensive xpath
            SoapVersion soapVersion = ((WsdlMessageExchange) messageExchange).getOperation().getInterface()
                    .getSoapVersion();
            if (SoapUtils.isSoapFault(responseContent, soapVersion)) {
                throw new AssertionException(new AssertionError("Response is a SOAP Fault"));
            }
        } catch (Exception e) {
View Full Code Here

        this.mockResponse = mockResponse;
    }

    public void actionPerformed(ActionEvent e) {
        try {
            SoapVersion soapVersion = mockResponse.getOperation().getInterface().getSoapVersion();
            String content = mockResponse.getResponseContent();
            WsaUtils wsaUtils = new WsaUtils(content, soapVersion, mockResponse.getOperation(),
                    new DefaultPropertyExpansionContext(mockResponse));
            content = wsaUtils.removeWSAddressing(mockResponse);
            mockResponse.setResponseContent(content);
View Full Code Here

    public String internalAssertResponse(MessageExchange messageExchange, SubmitContext context)
            throws AssertionException {
        String responseContent = messageExchange.getResponseContent();
        try {
            SoapVersion soapVersion = ((WsdlMessageExchange) messageExchange).getOperation().getInterface()
                    .getSoapVersion();

            if (!SoapUtils.isSoapFault(responseContent, soapVersion)) {
                throw new AssertionException(new AssertionError("Response is not a SOAP Fault"));
            }
View Full Code Here

        this.request = request;
    }

    public void actionPerformed(ActionEvent e) {
        try {
            SoapVersion soapVersion = request.getOperation().getInterface().getSoapVersion();
            String content = request.getRequestContent();
            WsaUtils wsaUtils = new WsaUtils(content, soapVersion, request.getOperation(),
                    new DefaultPropertyExpansionContext(request));
            content = wsaUtils.addWSAddressingRequest(request);
            request.setRequestContent(content);
View Full Code Here

    }

    public void actionPerformed(ActionEvent e) {
        try {
            if (UISupport.confirm("Remove WS-A headers", "Remove WS-A headers")) {
                SoapVersion soapVersion = request.getOperation().getInterface().getSoapVersion();
                String content = request.getRequestContent();
                WsaUtils wsaUtils = new WsaUtils(content, soapVersion, request.getOperation(),
                        new DefaultPropertyExpansionContext(request));
                content = wsaUtils.removeWSAddressing(request);
                request.setRequestContent(content);
View Full Code Here

TOP

Related Classes of com.eviware.soapui.impl.wsdl.support.soap.SoapVersion

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.