// If your activity returns a value, derive from CodeActivity<TResult>
        // and return the value from the Execute method.
        protected override void Execute(CodeActivityContext context)
        {
            // Obtain the runtime value of the Text input argument
            Claim           claim   = context.GetValue(this.Claim);
            EndpointAddress address = new EndpointAddress(context.GetValue(this.WCFEndpoint));

            //Set up the request parameters
            AppraisalService.SaveRequest request = new AppraisalService.SaveRequest();
            request.claim = claim;

            //Create WCF channel and invoke the WCF operation
            ChannelFactory <AppraisalService.AppraisalService> channelFactory =
                new ChannelFactory <AppraisalService.AppraisalService>(new BasicHttpBinding(), address);

            AppraisalService.AppraisalService channel  = channelFactory.CreateChannel();
            AppraisalService.SaveResponse     response = channel.Save(request);

            channelFactory.Close();

            //Set up the return value
            Result.Set(context, response.SaveResult);
        }
        // If your activity returns a value, derive from CodeActivity<TResult>
        // and return the value from the Execute method.
        protected override void Execute(CodeActivityContext context)
        {
            // Obtain the runtime value of the Text input argument
            Claim claim = context.GetValue(this.Claim);
            EndpointAddress address = new EndpointAddress(context.GetValue(this.WCFEndpoint));

            //Set up the request parameters
            AppraisalService.SaveRequest request = new AppraisalService.SaveRequest();
            request.claim = claim;

            //Create WCF channel and invoke the WCF operation
            ChannelFactory<AppraisalService.AppraisalService> channelFactory = 
                new ChannelFactory<AppraisalService.AppraisalService>(new BasicHttpBinding(), address);
            AppraisalService.AppraisalService channel = channelFactory.CreateChannel();
            AppraisalService.SaveResponse response = channel.Save(request);

            channelFactory.Close();

            //Set up the return value
            Result.Set(context, response.SaveResult);

        }