*/
@Test
public void invoke_tradePriceRequest_generatedMessages() throws Exception, SAXException, WSDLException {
// construct the client
String url = String.format("http://localhost:%d%s", port, contextPath);
SoapClient client = SoapClient.builder()
.endpointUri(url)
.build();
Wsdl parser = Wsdl.parse(wsdlUrl);
SoapBuilder soapBuilder = parser.binding().name(bindingName).find();
// get the operation to invoked -> assumption our operation is the first operation in the WSDL's
SoapOperation operation = soapBuilder.operation().name("GetLastTradePrice").find();
// construct the request
String request = soapBuilder.buildInputMessage(operation);
// post the request to the server
String response = client.post(request);
// get the response
String expectedResponse = soapBuilder.buildOutputMessage(operation, SoapContext.NO_CONTENT);
assertTrue(XMLUnit.compareXML(expectedResponse, response).identical());
}