static void Main(string[] args)
        {
            Console.WriteLine("Beginning Client Test\n");
            try
            {
                Console.WriteLine("Establishing Feedback Loop Endpoint\n");
                IntegrationPartner.FeedbackServiceClient IPFeedbackService = new IntegrationPartner.FeedbackServiceClient();

                Console.WriteLine("Creating a SOAP inspector to see the XML as it is " +
                                  "sent out and adding it to the endpoint behaviors\n");
                WcfSoapInspector wcfOut = new WcfSoapInspector();
                IPFeedbackService.Endpoint.Behaviors.Add(wcfOut);

                Console.WriteLine("Loading sample data\n");
                IntegrationPartner.FeedbackUpdate SampleData = GetSampleFeedbackUpdate();

                Console.WriteLine("Submitting sample data to Integration Partner feedback loop endpoint\n");
                IPFeedbackService.UpdatePriorAuthorizationRequest(SampleData);

                Console.WriteLine("\nSample data succesfully sent. Displaying outbound XML message\n");
                Console.WriteLine(wcfOut.sentMessages[0]);
            }
            catch (Exception ex)
            {
                Console.WriteLine("Error occurred attempting to send sample data\n");
                Console.WriteLine(ex.Message);
                Console.WriteLine(ex.StackTrace);
            }
            Console.WriteLine("Client Test Complete (press any key to continue)");
            Console.ReadLine();
        }
        static void Main(string[] args)
        {
            Console.WriteLine("Beginning Client Test\n");
            try
            {
                Console.WriteLine("Establishing Feedback Loop Endpoint\n");
                IntegrationPartner.FeedbackServiceClient IPFeedbackService = new IntegrationPartner.FeedbackServiceClient();

                Console.WriteLine("Creating a SOAP inspector to see the XML as it is " +
                    "sent out and adding it to the endpoint behaviors\n");
                WcfSoapInspector wcfOut = new WcfSoapInspector();
                IPFeedbackService.Endpoint.Behaviors.Add(wcfOut);

                Console.WriteLine("Loading sample data\n");
                IntegrationPartner.FeedbackUpdate SampleData = GetSampleFeedbackUpdate();

                Console.WriteLine("Submitting sample data to Integration Partner feedback loop endpoint\n");
                IPFeedbackService.UpdatePriorAuthorizationRequest(SampleData);

                Console.WriteLine("\nSample data succesfully sent. Displaying outbound XML message\n");
                Console.WriteLine(wcfOut.sentMessages[0]);
            }
            catch (Exception ex)
            {
                Console.WriteLine("Error occurred attempting to send sample data\n");
                Console.WriteLine(ex.Message);
                Console.WriteLine(ex.StackTrace);
            }
            Console.WriteLine("Client Test Complete (press any key to continue)");
            Console.ReadLine();
        }