All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nl.hsac.fitnesse.sample.AddIntegerFixture Maven / Gradle / Ivy

There is a newer version: 5.3.17
Show newest version
package nl.hsac.fitnesse.sample;

import nl.hsac.fitnesse.fixture.fit.SoapCallMapColumnFixture;
import nl.hsac.fitnesse.fixture.util.XmlHttpResponse;

public class AddIntegerFixture extends SoapCallMapColumnFixture {
    static {
        registerNs("tempuri", "http://tempuri.org");
    }

    /**
     * Creates new.
     */
    public AddIntegerFixture() {
        super(XmlHttpResponse.class);
        setTemplateName("samplePost.ftl.xml");
    }

    @Override
    protected XmlHttpResponse callService() {
        return callServiceImpl("url", "http://tempuri.org/SOAP.Demo.AddInteger");
    }

    public String result() {
        return getRawResponse().getXPath("//tempuri:AddIntegerResult/text()");
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy