use of nl.nn.adapterframework.extensions.api.ApiWsdlXmlValidator in project iaf by ibissource.
the class WsdlXmlValidatorMixedModeTest method getOutputValidator.
public WsdlXmlValidator getOutputValidator() throws ConfigurationException {
WsdlXmlValidator val = new ApiWsdlXmlValidator();
val.setWsdl(WSDL);
val.setSoapBody(RESPONSE_SOAP_BODY);
val.setThrowException(true);
val.setSchemaLocation("http://ibissource.org/XSD/Generic/MessageHeader/2 schema1 http://api.ibissource.org/GetPolicyDetails schema2");
val.registerForward(new PipeForward("success", null));
val.configure();
return val;
}
use of nl.nn.adapterframework.extensions.api.ApiWsdlXmlValidator in project iaf by ibissource.
the class WsdlXmlValidatorMixedModeTest method getMixedValidator.
public WsdlXmlValidator getMixedValidator() throws ConfigurationException {
WsdlXmlValidator val = new ApiWsdlXmlValidator();
val.setWsdl(WSDL);
val.setSoapBody(REQUEST_SOAP_BODY);
val.setOutputSoapBody(RESPONSE_SOAP_BODY);
val.setThrowException(true);
val.setSchemaLocation("http://ibissource.org/XSD/Generic/MessageHeader/2 schema1 http://api.ibissource.org/GetPolicyDetails schema2");
val.registerForward(new PipeForward("success", null));
val.configure();
val.getResponseValidator().configure();
return val;
}
use of nl.nn.adapterframework.extensions.api.ApiWsdlXmlValidator in project iaf by ibissource.
the class WsdlXmlValidatorMixedModeTest method getInputValidator.
public WsdlXmlValidator getInputValidator() throws ConfigurationException {
WsdlXmlValidator val = new ApiWsdlXmlValidator();
val.setWsdl(WSDL);
val.setSoapBody(REQUEST_SOAP_BODY);
val.setThrowException(true);
val.setSchemaLocation("http://ibissource.org/XSD/Generic/MessageHeader/2 schema1 http://api.ibissource.org/GetPolicyDetails schema2");
val.registerForward(new PipeForward("success", null));
val.configure();
return val;
}
Aggregations