/// <summary> /// Invokes the TestStackEx service. /// </summary> public IServiceResponse TestStackEx(IServiceRequest incoming) { TestStackExResponse response = null; TestStackExRequest request = (TestStackExRequest)incoming; CompositeTestType output = null; response = new TestStackExResponse(); response.ResponseHeader = ServerInstance.TestStackEx( request.RequestHeader, request.TestId, request.Iteration, request.Input, out output); response.Output = output; return response; }
/// <summary> /// Initializes the message with the body. /// </summary> public TestStackExResponseMessage(TestStackExResponse TestStackExResponse) { this.TestStackExResponse = TestStackExResponse; }
/// <summary> /// Initializes the message with a service fault. /// </summary> public TestStackExResponseMessage(ServiceFault ServiceFault) { this.TestStackExResponse = new TestStackExResponse(); if (ServiceFault != null) { this.TestStackExResponse.ResponseHeader = ServiceFault.ResponseHeader; } }
/// <summary cref="IServiceMessage.CreateResponse" /> public object CreateResponse(IServiceResponse response) { TestStackExResponse body = response as TestStackExResponse; if (body == null) { body = new TestStackExResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new TestStackExResponseMessage(body); }