internal void InitializeComponent() { this._context.SnapshotManager.EnableSnapshots = false; this._context.PropertyBag["IsRunningInLodeMode"] = true; _userCode = new TestUserCode(); _flow = _userCode; LoadInput(); this.Activities.Clear(); _flow.DataFetchActivity7 = new HP.ST.Ext.BasicActivities.DataFetchActivity(_context, "DataFetchActivity7"); _flow.StartActivity1 = new HP.ST.Ext.BasicActivities.StartActivity(_context, "StartActivity1"); _flow.Loop2 = new HP.ST.Fwk.RunTimeFWK.CompositeActivities.Loop <Loop2Input>(_context, "Loop2", LoopType.For); _flow.DataExporterActivity9 = new HP.ST.Ext.BasicActivities.DataExporterActivity(_context, "DataExporterActivity9"); _flow.DataExporterCloseActivity10 = new HP.ST.Ext.BasicActivities.DataExporterCloseActivity(_context, "DataExporterCloseActivity10"); _flow.EndActivity3 = new HP.ST.Ext.BasicActivities.EndActivity(_context, "EndActivity3"); _flow.DataDisconnectActivity8 = new HP.ST.Ext.BasicActivities.DataDisconnectActivity(_context, "DataDisconnectActivity8"); this.LoadRunnerDataCursor11 = new HP.ST.Ext.LoadRunnerRTAddin.LoadRunnerDataCursor(_context, "LoadRunnerDataCursor11"); this.LoadRunnerDataCursor11_Policy = new HP.ST.Fwk.SOAReplayAPI.DataHandling.CursorMovementPolicy(); _flow.Sequence6 = new HP.ST.Fwk.RunTimeFWK.CompositeActivities.Sequence(_context, "Sequence6"); _flow.StServiceCallActivity4 = new HP.ST.Ext.WebServicesActivities.StServiceCallActivity(_context, "StServiceCallActivity4"); _flow.StServiceCallActivity5 = new HP.ST.Ext.WebServicesActivities.StServiceCallActivity(_context, "StServiceCallActivity5"); _flow.DataFetchActivity7.Comment = @""; _flow.DataFetchActivity7.IconPath = @""; _flow.DataFetchActivity7.TransactionWastedTime += HP.ST.Fwk.RunTimeFWK.TransactionHandlers.TransactionWastedTime; _flow.DataFetchActivity7.AssemblyPath = @"AddIns\ServiceTest\BaseDataProviders\HP.ST.Ext.CustomDataProviders.dll"; _flow.DataFetchActivity7.QueryClassName = @"HP.ST.Ext.CustomDataProviders.ExcelFileDataQuery"; XmlDocument DataFetchActivity7_QueryParameters_Document = new XmlDocument(); DataFetchActivity7_QueryParameters_Document.PreserveWhitespace = true; string xmlDataFetchActivity7Params = @"<Arguments><QueryParametersContainer><QueryParameter><Name>Id</Name><Value>d254ae66-c938-460b-a494-5180a0bc8aa2</Value></QueryParameter><QueryParameter><Name>QueryName</Name><Value>citypairs!Input</Value></QueryParameter><QueryParameter><Name>IsEmbedded</Name><Value>True</Value></QueryParameter><QueryParameter><Name>Externalized</Name><Value>False</Value></QueryParameter><QueryParameter><Name>GroupText</Name><Value>citypairs</Value></QueryParameter><QueryParameter><Name>FilePath</Name><Value>" + _context.ResourceManager.GetValue("{citypairs!Input.TablePath}") + "</Value></QueryParameter><QueryParameter><Name>SheetName</Name><Value>Input$</Value></QueryParameter><QueryParameter><Name>ContainsHeadersRow</Name><Value>True</Value></QueryParameter></QueryParametersContainer></Arguments>"; DataFetchActivity7_QueryParameters_Document.LoadXml(xmlDataFetchActivity7Params); _flow.DataFetchActivity7.QueryParameters = DataFetchActivity7_QueryParameters_Document; _flow.dataSourceNameToDataSource.Add("citypairs!Input", _flow.DataFetchActivity7); this.Activities.Add(_flow.DataFetchActivity7); _flow.StartActivity1.Comment = @""; _flow.StartActivity1.IconPath = @"AddIns\ServiceTest\BasicActivities\toolbox_code_activity.png"; _flow.StartActivity1.Name = @"Start"; _flow.StartActivity1.JVM = new HP.ST.Ext.BasicActivities.JVMProperties(); _flow.StartActivity1.IsJavaUsed = false; _flow.StartActivity1.JVM.Classpath = @"%CLASSPATH%"; _flow.StartActivity1.JVM.AdditionalVMParameters = @""; _flow.StartActivity1.JMS = new HP.ST.Ext.BasicActivities.JMSProperties(); _flow.StartActivity1.IsJmsUsed = false; _flow.StartActivity1.JMS.JNDIContextFactory = @"<Select...>"; _flow.StartActivity1.JMS.JNDIProviderUrl = @""; _flow.StartActivity1.JMS.JMSConnectionFactory = @""; _flow.StartActivity1.JMS.SecurityPrincipal = @""; _flow.StartActivity1.JMS.SecurityCredentials = @""; _flow.StartActivity1.JMS.ConnectionsPerProcess = @"1"; _flow.StartActivity1.JMS.TimeoutOptions = @"DN_User_defined_Timeout"; _flow.StartActivity1.JMS.UserTimeout = @"20"; _flow.StartActivity1.JMS.GenerateAutoSelector = @"No"; _flow.StartActivity1.TransactionWastedTime += HP.ST.Fwk.RunTimeFWK.TransactionHandlers.TransactionWastedTime; this.Activities.Add(_flow.StartActivity1); _flow.Loop2.ConditionAsString = @"Run for 3 iterations"; _flow.Loop2.NumberOfIterations = (int)3; _flow.Loop2.Comment = @""; _flow.Loop2.IconPath = @"AddIns\ServiceTest\BasicActivities\toolbox_loop.png"; _flow.Loop2.Name = @"Test Flow"; _flow.Loop2.TransactionWastedTime += HP.ST.Fwk.RunTimeFWK.TransactionHandlers.TransactionWastedTime; _flow.Loop2.Activities.Add(this.LoadRunnerDataCursor11); _flow.Loop2.Activities.Add(_flow.Sequence6); this.Activities.Add(_flow.Loop2); _flow.DataExporterActivity9.Comment = @""; _flow.DataExporterActivity9.IconPath = @""; _flow.DataExporterActivity9.TransactionWastedTime += HP.ST.Fwk.RunTimeFWK.TransactionHandlers.TransactionWastedTime; VTDPropertyInfoBase pi51 = new VTDPropertyInfoBase("OutTable"); VTDBaseGetter binding_getter26 = new VTDObjectGetter(pi51); VTDPropertyInfoBase pi52 = new VTDPropertyInfoBase("Data"); VTDBaseSetter binding_setter26 = new VTDObjectSetter(pi52); binding_setter26 = new StringFormaterDecorator(binding_setter26, "{Step.DataFetchActivity7.OutTable}"); bind_dir26 = new BindDirection(_flow.DataFetchActivity7, binding_getter26, binding_setter26, BindTargetType.ToInProperty); _flow.DataExporterActivity9.InDirections.Add(bind_dir26); this.Activities.Add(_flow.DataExporterActivity9); _flow.DataExporterCloseActivity10.Comment = @""; _flow.DataExporterCloseActivity10.IconPath = @""; _flow.DataExporterCloseActivity10.TransactionWastedTime += HP.ST.Fwk.RunTimeFWK.TransactionHandlers.TransactionWastedTime; this.Activities.Add(_flow.DataExporterCloseActivity10); _flow.EndActivity3.Comment = @""; _flow.EndActivity3.IconPath = @"AddIns\ServiceTest\BasicActivities\toolbox_code_activity.png"; _flow.EndActivity3.Name = @"End"; _flow.EndActivity3.TransactionWastedTime += HP.ST.Fwk.RunTimeFWK.TransactionHandlers.TransactionWastedTime; this.Activities.Add(_flow.EndActivity3); _flow.DataDisconnectActivity8.Comment = @""; _flow.DataDisconnectActivity8.IconPath = @""; _flow.DataDisconnectActivity8.TransactionWastedTime += HP.ST.Fwk.RunTimeFWK.TransactionHandlers.TransactionWastedTime; VTDPropertyInfoBase pi53 = new VTDPropertyInfoBase("OutTable"); VTDBaseGetter binding_getter27 = new VTDObjectGetter(pi53); VTDPropertyInfoBase pi54 = new VTDPropertyInfoBase("Data"); VTDBaseSetter binding_setter27 = new VTDObjectSetter(pi54); binding_setter27 = new StringFormaterDecorator(binding_setter27, "{Step.DataFetchActivity7.OutTable}"); bind_dir27 = new BindDirection(_flow.DataFetchActivity7, binding_getter27, binding_setter27, BindTargetType.ToInProperty); _flow.DataDisconnectActivity8.InDirections.Add(bind_dir27); this.Activities.Add(_flow.DataDisconnectActivity8); this.LoadRunnerDataCursor11.Comment = @""; this.LoadRunnerDataCursor11.IconPath = @""; this.LoadRunnerDataCursor11.TransactionWastedTime += HP.ST.Fwk.RunTimeFWK.TransactionHandlers.TransactionWastedTime; VTDPropertyInfoBase pi55 = new VTDPropertyInfoBase("OutTable"); VTDBaseGetter binding_getter28 = new VTDObjectGetter(pi55); VTDPropertyInfoBase pi56 = new VTDPropertyInfoBase("InTable"); VTDBaseSetter binding_setter28 = new VTDObjectSetter(pi56); binding_setter28 = new StringFormaterDecorator(binding_setter28, "{Step.DataFetchActivity7.OutTable}"); bind_dir28 = new BindDirection(_flow.DataFetchActivity7, binding_getter28, binding_setter28, BindTargetType.ToInProperty); this.LoadRunnerDataCursor11.InDirections.Add(bind_dir28); this.LoadRunnerDataCursor11_Policy.StartPosition = CursorStartPosition.UserSpecificRecord; this.LoadRunnerDataCursor11_Policy.StartAtSpecificRow = 2; this.LoadRunnerDataCursor11_Policy.EndPosition = CursorEndPosition.LastRecord; this.LoadRunnerDataCursor11_Policy.EndAtSpecificRow = 8; this.LoadRunnerDataCursor11_Policy.StepType = CursorStepType.Forward; this.LoadRunnerDataCursor11_Policy.StepSize = 1; this.LoadRunnerDataCursor11_Policy.ActionAfterLastRecord = CursorActionAfterLastRecord.Stay; this.LoadRunnerDataCursor11.Policy = this.LoadRunnerDataCursor11_Policy; this.LoadRunnerDataCursor11.ReportStepData = true; _flow.Loop2.BeforeExecuteStepEvent += this.LoadRunnerDataCursor11.ResetCursor; _flow.Sequence6.Comment = @""; _flow.Sequence6.IconPath = @""; _flow.Sequence6.Name = @"Sequence6"; _flow.Sequence6.TransactionWastedTime += HP.ST.Fwk.RunTimeFWK.TransactionHandlers.TransactionWastedTime; _flow.Sequence6.Activities.Add(_flow.StServiceCallActivity4); _flow.Sequence6.Activities.Add(_flow.StServiceCallActivity5); XmlDocument StServiceCallActivity4_InputEnvelope_Document = new XmlDocument(); StServiceCallActivity4_InputEnvelope_Document.PreserveWhitespace = true; StServiceCallActivity4_InputEnvelope_Document.LoadXml( @"<?xml version=""1.0"" encoding=""utf-8""?> <Envelope xmlns=""http://schemas.xmlsoap.org/soap/envelope/""> <Body> <GetFlights xmlns=""HP.SOAQ.SampleApp""> <DepartureCity>{DataSource.citypairs!Input.DepartureCity}</DepartureCity> <ArrivalCity>{DataSource.citypairs!Input.ArrivalCity}</ArrivalCity> <FlightDate>2020-09-02T00:00:00-06:00</FlightDate> </GetFlights> </Body> </Envelope>"); _flow.StServiceCallActivity4.InputEnvelope = StServiceCallActivity4_InputEnvelope_Document; _flow.StServiceCallActivity4.Comment = @""; _flow.StServiceCallActivity4.IconPath = @"AddIns\ServiceTest\WSImportTechnology\ictb_service_operations_16.png"; _flow.StServiceCallActivity4.Name = @"GetFlights"; _flow.StServiceCallActivity4.TransportProtocol.SOAPProperties.EndpointAddress = String.IsNullOrEmpty(_context.ResourceManager.GetValue(@"{Step.GeneralProperties.StServiceCallActivity4.TransportProtocol.SOAPProperties.EndpointAddress}")) ? @"http://*****:*****@"{Step.GeneralProperties.StServiceCallActivity4.TransportProtocol.SOAPProperties.EndpointAddress}"); _flow.StServiceCallActivity4.TransportProtocol.SOAPProperties.SoapAction = @"HP.SOAQ.SampleApp/IFlightsSoapService/GetFlights"; _flow.StServiceCallActivity4.TransportProtocol.SOAPProperties.ContentType = @"text/xml; charset=utf-8"; _flow.StServiceCallActivity4.TransportProtocol.SOAPProperties.Timeout = (int)100000; _flow.StServiceCallActivity4.Service = @"HPFlights_Service"; _flow.StServiceCallActivity4.Port = @"FlightsServiceMethods"; _flow.StServiceCallActivity4.Operation = @"GetFlights"; _flow.StServiceCallActivity4.IsOneWay = false; _flow.StServiceCallActivity4.SendRequestToService = true; _flow.StServiceCallActivity4.FaultExpected = false; _flow.StServiceCallActivity4.IsAsync = false; _flow.StServiceCallActivity4.TargetNamespace = @"http://tempuri.org/"; _flow.StServiceCallActivity4.ListenOnPort = (int)0; _flow.StServiceCallActivity4.StartStepEvent += HP.ST.Ext.WebServicesActivities.TransactionHandlers.TransactionStart; _flow.StServiceCallActivity4.EndStepEvent += HP.ST.Ext.WebServicesActivities.TransactionHandlers.TransactionEnd; _flow.StServiceCallActivity4.TransactionWastedTime += HP.ST.Fwk.RunTimeFWK.TransactionHandlers.TransactionWastedTime; VTDPropertyInfoBase pi57 = new VTDPropertyInfoBase("DepartureCity"); VTDBaseGetter binding_getter29 = new VTDObjectGetter(pi57); VTDPropertyInfoBase pi58 = new VTDPropertyInfoBase("InputEnvelope", "/*[local-name(.)='Envelope'][1]/*[local-name(.)='Body'][1]/*[local-name(.)='GetFlights'][1]/*[local-name(.)='DepartureCity'][1]"); VTDBaseSetter binding_setter29 = new VTDXPathSetter(pi58, XmlTypeCode.String); binding_setter29 = new StringFormaterDecorator(binding_setter29, "{DataSource.citypairs!Input.DepartureCity}"); bind_dir29 = new BindDirection(this.LoadRunnerDataCursor11, binding_getter29, binding_setter29, BindTargetType.ToInProperty); _flow.StServiceCallActivity4.InDirections.Add(bind_dir29); VTDPropertyInfoBase pi59 = new VTDPropertyInfoBase("ArrivalCity"); VTDBaseGetter binding_getter30 = new VTDObjectGetter(pi59); VTDPropertyInfoBase pi60 = new VTDPropertyInfoBase("InputEnvelope", "/*[local-name(.)='Envelope'][1]/*[local-name(.)='Body'][1]/*[local-name(.)='GetFlights'][1]/*[local-name(.)='ArrivalCity'][1]"); VTDBaseSetter binding_setter30 = new VTDXPathSetter(pi60, XmlTypeCode.String); binding_setter30 = new StringFormaterDecorator(binding_setter30, "{DataSource.citypairs!Input.ArrivalCity}"); bind_dir30 = new BindDirection(this.LoadRunnerDataCursor11, binding_getter30, binding_setter30, BindTargetType.ToInProperty); _flow.StServiceCallActivity4.InDirections.Add(bind_dir30); XmlDocument StServiceCallActivity5_InputEnvelope_Document = new XmlDocument(); StServiceCallActivity5_InputEnvelope_Document.PreserveWhitespace = true; StServiceCallActivity5_InputEnvelope_Document.LoadXml( @"<Envelope xmlns=""http://schemas.xmlsoap.org/soap/envelope/"" xmlns:p1=""http://www.w3.org/2001/XMLSchema-instance""><Body><CreateFlightOrder xmlns=""HP.SOAQ.SampleApp""><FlightOrder><Class>Business</Class><CustomerName>Tim Leach</CustomerName><DepartureDate>{Step.InputProperties.StServiceCallActivity4.Body.GetFlights.FlightDate}</DepartureDate><FlightNumber>{Step.OutputProperties.StServiceCallActivity4.Body.GetFlightsResponse.GetFlightsResult.Flight[1].FlightNumber}</FlightNumber><NumberOfTickets>2</NumberOfTickets></FlightOrder></CreateFlightOrder></Body></Envelope>"); _flow.StServiceCallActivity5.InputEnvelope = StServiceCallActivity5_InputEnvelope_Document; _flow.StServiceCallActivity5.Comment = @""; _flow.StServiceCallActivity5.IconPath = @"AddIns\ServiceTest\WSImportTechnology\ictb_service_operations_16.png"; _flow.StServiceCallActivity5.Name = @"CreateFlightOrder"; _flow.StServiceCallActivity5.TransportProtocol.SOAPProperties.EndpointAddress = String.IsNullOrEmpty(_context.ResourceManager.GetValue(@"{Step.GeneralProperties.StServiceCallActivity5.TransportProtocol.SOAPProperties.EndpointAddress}")) ? @"http://*****:*****@"{Step.GeneralProperties.StServiceCallActivity5.TransportProtocol.SOAPProperties.EndpointAddress}"); _flow.StServiceCallActivity5.TransportProtocol.SOAPProperties.SoapAction = @"HP.SOAQ.SampleApp/IFlightsSoapService/CreateFlightOrder"; _flow.StServiceCallActivity5.TransportProtocol.SOAPProperties.ContentType = @"text/xml; charset=utf-8"; _flow.StServiceCallActivity5.TransportProtocol.SOAPProperties.Timeout = (int)100000; _flow.StServiceCallActivity5.Service = @"HPFlights_Service"; _flow.StServiceCallActivity5.Port = @"FlightsServiceMethods"; _flow.StServiceCallActivity5.Operation = @"CreateFlightOrder"; _flow.StServiceCallActivity5.IsOneWay = false; _flow.StServiceCallActivity5.SendRequestToService = true; _flow.StServiceCallActivity5.FaultExpected = false; _flow.StServiceCallActivity5.IsAsync = false; _flow.StServiceCallActivity5.TargetNamespace = @"http://tempuri.org/"; _flow.StServiceCallActivity5.ListenOnPort = (int)0; _flow.StServiceCallActivity5.StartStepEvent += HP.ST.Ext.WebServicesActivities.TransactionHandlers.TransactionStart; _flow.StServiceCallActivity5.EndStepEvent += HP.ST.Ext.WebServicesActivities.TransactionHandlers.TransactionEnd; _flow.StServiceCallActivity5.TransactionWastedTime += HP.ST.Fwk.RunTimeFWK.TransactionHandlers.TransactionWastedTime; VTDPropertyInfoBase pi61 = new VTDPropertyInfoBase("OutputEnvelope", "/*[local-name(.)='Envelope'][1]/*[local-name(.)='Body'][1]/*[local-name(.)='GetFlightsResponse'][1]/*[local-name(.)='GetFlightsResult'][1]/*[local-name(.)='Flight'][{Array0}]/*[local-name(.)='FlightNumber'][1]"); VTDBaseGetter binding_getter31 = new VTDXPathGetter(pi61, XmlTypeCode.Int); binding_getter31 = new XPathGetterDecorator(binding_getter31, "{Array0}", 1); VTDPropertyInfoBase pi62 = new VTDPropertyInfoBase("InputEnvelope", "/*[local-name(.)='Envelope'][1]/*[local-name(.)='Body'][1]/*[local-name(.)='CreateFlightOrder'][1]/*[local-name(.)='FlightOrder'][1]/*[local-name(.)='FlightNumber'][1]"); VTDBaseSetter binding_setter31 = new VTDXPathSetter(pi62, XmlTypeCode.Int); bind_dir31 = new BindDirection(_flow.StServiceCallActivity4, binding_getter31, binding_setter31, BindTargetType.ToInProperty); _flow.StServiceCallActivity5.InDirections.Add(bind_dir31); VTDPropertyInfoBase pi63 = new VTDPropertyInfoBase("InputEnvelope", "/*[local-name(.)='Envelope'][1]/*[local-name(.)='Body'][1]/*[local-name(.)='GetFlights'][1]/*[local-name(.)='FlightDate'][1]"); VTDBaseGetter binding_getter32 = new VTDXPathGetter(pi63, XmlTypeCode.DateTime); VTDPropertyInfoBase pi64 = new VTDPropertyInfoBase("InputEnvelope", "/*[local-name(.)='Envelope'][1]/*[local-name(.)='Body'][1]/*[local-name(.)='CreateFlightOrder'][1]/*[local-name(.)='FlightOrder'][1]/*[local-name(.)='DepartureDate'][1]"); VTDBaseSetter binding_setter32 = new VTDXPathSetter(pi64, XmlTypeCode.DateTime); bind_dir32 = new BindDirection(_flow.StServiceCallActivity4, binding_getter32, binding_setter32, BindTargetType.ToInProperty); _flow.StServiceCallActivity5.InDirections.Add(bind_dir32); }
internal void InitializeComponent() { this._context.SnapshotManager.EnableSnapshots = false; this._context.PropertyBag["IsRunningInLodeMode"] = true; _userCode = new TestUserCode(); _flow = _userCode; LoadInput(); this.Activities.Clear(); _flow.DataFetchActivity13 = new HP.ST.Ext.BasicActivities.DataFetchActivity(_context, "DataFetchActivity13"); _flow.StartActivity1 = new HP.ST.Ext.BasicActivities.StartActivity(_context, "StartActivity1"); _flow.Loop2 = new HP.ST.Fwk.RunTimeFWK.CompositeActivities.Loop <Loop2Input>(_context, "Loop2", LoopType.For); _flow.DataExporterActivity15 = new HP.ST.Ext.BasicActivities.DataExporterActivity(_context, "DataExporterActivity15"); _flow.DataExporterCloseActivity16 = new HP.ST.Ext.BasicActivities.DataExporterCloseActivity(_context, "DataExporterCloseActivity16"); _flow.EndActivity3 = new HP.ST.Ext.BasicActivities.EndActivity(_context, "EndActivity3"); _flow.DataDisconnectActivity14 = new HP.ST.Ext.BasicActivities.DataDisconnectActivity(_context, "DataDisconnectActivity14"); this.LoadRunnerDataCursor17 = new HP.ST.Ext.LoadRunnerRTAddin.LoadRunnerDataCursor(_context, "LoadRunnerDataCursor17"); this.LoadRunnerDataCursor17_Policy = new HP.ST.Fwk.SOAReplayAPI.DataHandling.CursorMovementPolicy(); _flow.Sequence12 = new HP.ST.Fwk.RunTimeFWK.CompositeActivities.Sequence(_context, "Sequence12"); _flow.StServiceCallActivity7 = new HP.ST.Ext.WebServicesActivities.StServiceCallActivity(_context, "StServiceCallActivity7"); _flow.StServiceCallActivity6 = new HP.ST.Ext.WebServicesActivities.StServiceCallActivity(_context, "StServiceCallActivity6"); _flow.StServiceCallActivity5 = new HP.ST.Ext.WebServicesActivities.StServiceCallActivity(_context, "StServiceCallActivity5"); _flow.DataFetchActivity13.Comment = @""; _flow.DataFetchActivity13.IconPath = @""; _flow.DataFetchActivity13.TransactionWastedTime += HP.ST.Fwk.RunTimeFWK.TransactionHandlers.TransactionWastedTime; _flow.DataFetchActivity13.AssemblyPath = @"AddIns\ServiceTest\BaseDataProviders\HP.ST.Ext.CustomDataProviders.dll"; _flow.DataFetchActivity13.QueryClassName = @"HP.ST.Ext.CustomDataProviders.LocalDataQuery"; XmlDocument DataFetchActivity13_QueryParameters_Document = new XmlDocument(); DataFetchActivity13_QueryParameters_Document.PreserveWhitespace = true; string xmlDataFetchActivity13Params = @"<Arguments><QueryParametersContainer><QueryParameter><Name>Id</Name><Value>0050e89f-6653-4cec-ab78-e64a5b6f1e81</Value></QueryParameter><QueryParameter><Name>QueryName</Name><Value>Members</Value></QueryParameter><QueryParameter><Name>IsEmbedded</Name><Value>True</Value></QueryParameter><QueryParameter><Name>Externalized</Name><Value>False</Value></QueryParameter><QueryParameter><Name>GroupText</Name><Value></Value></QueryParameter><QueryParameter><Name>TableStructure</Name><Value>FirstName,String,|LastName,String,|SSN,String,</Value></QueryParameter><QueryParameter><Name>TableContents</Name><Value>Hercule|Poirot|554-98-0001^Sherlock|Holmes|332-10-0002</Value></QueryParameter></QueryParametersContainer></Arguments>"; DataFetchActivity13_QueryParameters_Document.LoadXml(xmlDataFetchActivity13Params); _flow.DataFetchActivity13.QueryParameters = DataFetchActivity13_QueryParameters_Document; _flow.dataSourceNameToDataSource.Add("Members", _flow.DataFetchActivity13); this.Activities.Add(_flow.DataFetchActivity13); _flow.StartActivity1.Comment = @""; _flow.StartActivity1.IconPath = @"AddIns\ServiceTest\BasicActivities\toolbox_code_activity.png"; _flow.StartActivity1.Name = @"Start"; _flow.StartActivity1.JVM = new HP.ST.Ext.BasicActivities.JVMProperties(); _flow.StartActivity1.IsJavaUsed = false; _flow.StartActivity1.JVM.Classpath = @"%CLASSPATH%"; _flow.StartActivity1.JVM.AdditionalVMParameters = @""; _flow.StartActivity1.JMS = new HP.ST.Ext.BasicActivities.JMSProperties(); _flow.StartActivity1.IsJmsUsed = false; _flow.StartActivity1.JMS.JNDIContextFactory = @"<Select...>"; _flow.StartActivity1.JMS.JNDIProviderUrl = @""; _flow.StartActivity1.JMS.JMSConnectionFactory = @""; _flow.StartActivity1.JMS.SecurityPrincipal = @""; _flow.StartActivity1.JMS.SecurityCredentials = @""; _flow.StartActivity1.JMS.ConnectionsPerProcess = @"1"; _flow.StartActivity1.JMS.TimeoutOptions = @"DN_User_defined_Timeout"; _flow.StartActivity1.JMS.UserTimeout = @"20"; _flow.StartActivity1.JMS.GenerateAutoSelector = @"No"; _flow.StartActivity1.TransactionWastedTime += HP.ST.Fwk.RunTimeFWK.TransactionHandlers.TransactionWastedTime; this.Activities.Add(_flow.StartActivity1); _flow.Loop2.ConditionAsString = @"Run for 2 iterations"; _flow.Loop2.NumberOfIterations = (int)2; _flow.Loop2.Comment = @""; _flow.Loop2.IconPath = @"AddIns\ServiceTest\BasicActivities\toolbox_loop.png"; _flow.Loop2.Name = @"Test Flow"; _flow.Loop2.TransactionWastedTime += HP.ST.Fwk.RunTimeFWK.TransactionHandlers.TransactionWastedTime; _flow.Loop2.Activities.Add(this.LoadRunnerDataCursor17); _flow.Loop2.Activities.Add(_flow.Sequence12); this.Activities.Add(_flow.Loop2); _flow.DataExporterActivity15.Comment = @""; _flow.DataExporterActivity15.IconPath = @""; _flow.DataExporterActivity15.TransactionWastedTime += HP.ST.Fwk.RunTimeFWK.TransactionHandlers.TransactionWastedTime; VTDPropertyInfoBase pi73 = new VTDPropertyInfoBase("OutTable"); VTDBaseGetter binding_getter37 = new VTDObjectGetter(pi73); VTDPropertyInfoBase pi74 = new VTDPropertyInfoBase("Data"); VTDBaseSetter binding_setter37 = new VTDObjectSetter(pi74); binding_setter37 = new StringFormaterDecorator(binding_setter37, "{Step.DataFetchActivity13.OutTable}"); bind_dir37 = new BindDirection(_flow.DataFetchActivity13, binding_getter37, binding_setter37, BindTargetType.ToInProperty); _flow.DataExporterActivity15.InDirections.Add(bind_dir37); this.Activities.Add(_flow.DataExporterActivity15); _flow.DataExporterCloseActivity16.Comment = @""; _flow.DataExporterCloseActivity16.IconPath = @""; _flow.DataExporterCloseActivity16.TransactionWastedTime += HP.ST.Fwk.RunTimeFWK.TransactionHandlers.TransactionWastedTime; this.Activities.Add(_flow.DataExporterCloseActivity16); _flow.EndActivity3.Comment = @""; _flow.EndActivity3.IconPath = @"AddIns\ServiceTest\BasicActivities\toolbox_code_activity.png"; _flow.EndActivity3.Name = @"End"; _flow.EndActivity3.TransactionWastedTime += HP.ST.Fwk.RunTimeFWK.TransactionHandlers.TransactionWastedTime; this.Activities.Add(_flow.EndActivity3); _flow.DataDisconnectActivity14.Comment = @""; _flow.DataDisconnectActivity14.IconPath = @""; _flow.DataDisconnectActivity14.TransactionWastedTime += HP.ST.Fwk.RunTimeFWK.TransactionHandlers.TransactionWastedTime; VTDPropertyInfoBase pi75 = new VTDPropertyInfoBase("OutTable"); VTDBaseGetter binding_getter38 = new VTDObjectGetter(pi75); VTDPropertyInfoBase pi76 = new VTDPropertyInfoBase("Data"); VTDBaseSetter binding_setter38 = new VTDObjectSetter(pi76); binding_setter38 = new StringFormaterDecorator(binding_setter38, "{Step.DataFetchActivity13.OutTable}"); bind_dir38 = new BindDirection(_flow.DataFetchActivity13, binding_getter38, binding_setter38, BindTargetType.ToInProperty); _flow.DataDisconnectActivity14.InDirections.Add(bind_dir38); this.Activities.Add(_flow.DataDisconnectActivity14); this.LoadRunnerDataCursor17.Comment = @""; this.LoadRunnerDataCursor17.IconPath = @""; this.LoadRunnerDataCursor17.TransactionWastedTime += HP.ST.Fwk.RunTimeFWK.TransactionHandlers.TransactionWastedTime; VTDPropertyInfoBase pi77 = new VTDPropertyInfoBase("OutTable"); VTDBaseGetter binding_getter39 = new VTDObjectGetter(pi77); VTDPropertyInfoBase pi78 = new VTDPropertyInfoBase("InTable"); VTDBaseSetter binding_setter39 = new VTDObjectSetter(pi78); binding_setter39 = new StringFormaterDecorator(binding_setter39, "{Step.DataFetchActivity13.OutTable}"); bind_dir39 = new BindDirection(_flow.DataFetchActivity13, binding_getter39, binding_setter39, BindTargetType.ToInProperty); this.LoadRunnerDataCursor17.InDirections.Add(bind_dir39); this.LoadRunnerDataCursor17_Policy.StartPosition = CursorStartPosition.FirstRecord; this.LoadRunnerDataCursor17_Policy.StartAtSpecificRow = 1; this.LoadRunnerDataCursor17_Policy.EndPosition = CursorEndPosition.LastRecord; this.LoadRunnerDataCursor17_Policy.EndAtSpecificRow = 2; this.LoadRunnerDataCursor17_Policy.StepType = CursorStepType.Forward; this.LoadRunnerDataCursor17_Policy.StepSize = 1; this.LoadRunnerDataCursor17_Policy.ActionAfterLastRecord = CursorActionAfterLastRecord.Wraparound; this.LoadRunnerDataCursor17.Policy = this.LoadRunnerDataCursor17_Policy; this.LoadRunnerDataCursor17.ReportStepData = true; _flow.Loop2.BeforeExecuteStepEvent += this.LoadRunnerDataCursor17.ResetCursor; _flow.Sequence12.Comment = @""; _flow.Sequence12.IconPath = @""; _flow.Sequence12.Name = @"Sequence12"; _flow.Sequence12.TransactionWastedTime += HP.ST.Fwk.RunTimeFWK.TransactionHandlers.TransactionWastedTime; _flow.Sequence12.Activities.Add(_flow.StServiceCallActivity7); _flow.Sequence12.Activities.Add(_flow.StServiceCallActivity6); _flow.Sequence12.Activities.Add(_flow.StServiceCallActivity5); XmlDocument StServiceCallActivity7_InputEnvelope_Document = new XmlDocument(); StServiceCallActivity7_InputEnvelope_Document.PreserveWhitespace = true; StServiceCallActivity7_InputEnvelope_Document.LoadXml( @"<Envelope xmlns=""http://schemas.xmlsoap.org/soap/envelope/"" xmlns:p1=""http://www.w3.org/2001/XMLSchema-instance""><Body><memberSearch xmlns=""http://hp.com/SOAQ/ServiceSimulation/2010/demo/01""><name><firstName xmlns=""http://schemas.datacontract.org/2004/07/HP.SOAQ.ServiceSimulation.Demo"">{DataSource.Members.FirstName}</firstName><lastName xmlns=""http://schemas.datacontract.org/2004/07/HP.SOAQ.ServiceSimulation.Demo"">{DataSource.Members.LastName}</lastName></name><socialSecurityNumber>{DataSource.Members.SSN}</socialSecurityNumber></memberSearch></Body></Envelope>"); _flow.StServiceCallActivity7.InputEnvelope = StServiceCallActivity7_InputEnvelope_Document; _flow.StServiceCallActivity7.Comment = @""; _flow.StServiceCallActivity7.IconPath = @"AddIns\ServiceTest\WSImportTechnology\ictb_service_operations_16.png"; _flow.StServiceCallActivity7.Name = @"memberSearch"; _flow.StServiceCallActivity7.TransportProtocol.SOAPProperties.EndpointAddress = String.IsNullOrEmpty(_context.ResourceManager.GetValue(@"{Step.GeneralProperties.StServiceCallActivity7.TransportProtocol.SOAPProperties.EndpointAddress}")) ? @"http://*****:*****@"{Step.GeneralProperties.StServiceCallActivity7.TransportProtocol.SOAPProperties.EndpointAddress}"); _flow.StServiceCallActivity7.TransportProtocol.SOAPProperties.SoapAction = @"http://hp.com/SOAQ/ServiceSimulation/2010/demo/01/IMemberAccounts/memberSearch"; _flow.StServiceCallActivity7.TransportProtocol.SOAPProperties.ContentType = @"text/xml; charset=utf-8"; _flow.StServiceCallActivity7.TransportProtocol.SOAPProperties.Timeout = (int)100000; _flow.StServiceCallActivity7.Service = @"MemberAccounts"; _flow.StServiceCallActivity7.Port = @"BasicHttpBinding_IMemberAccounts"; _flow.StServiceCallActivity7.Operation = @"memberSearch"; _flow.StServiceCallActivity7.IsOneWay = false; _flow.StServiceCallActivity7.SendRequestToService = true; _flow.StServiceCallActivity7.FaultExpected = false; _flow.StServiceCallActivity7.IsAsync = false; _flow.StServiceCallActivity7.TargetNamespace = @"http://hp.com/SOAQ/ServiceSimulation/2010/demo/01"; _flow.StServiceCallActivity7.ListenOnPort = (int)0; _flow.StServiceCallActivity7.StartStepEvent += HP.ST.Ext.WebServicesActivities.TransactionHandlers.TransactionStart; _flow.StServiceCallActivity7.EndStepEvent += HP.ST.Ext.WebServicesActivities.TransactionHandlers.TransactionEnd; _flow.StServiceCallActivity7.TransactionWastedTime += HP.ST.Fwk.RunTimeFWK.TransactionHandlers.TransactionWastedTime; VTDPropertyInfoBase pi79 = new VTDPropertyInfoBase("SSN"); VTDBaseGetter binding_getter40 = new VTDObjectGetter(pi79); VTDPropertyInfoBase pi80 = new VTDPropertyInfoBase("InputEnvelope", "/*[local-name(.)='Envelope'][1]/*[local-name(.)='Body'][1]/*[local-name(.)='memberSearch'][1]/*[local-name(.)='socialSecurityNumber'][1]"); VTDBaseSetter binding_setter40 = new VTDXPathSetter(pi80, XmlTypeCode.String); binding_setter40 = new StringFormaterDecorator(binding_setter40, "{DataSource.Members.SSN}"); bind_dir40 = new BindDirection(this.LoadRunnerDataCursor17, binding_getter40, binding_setter40, BindTargetType.ToInProperty); _flow.StServiceCallActivity7.InDirections.Add(bind_dir40); VTDPropertyInfoBase pi81 = new VTDPropertyInfoBase("LastName"); VTDBaseGetter binding_getter41 = new VTDObjectGetter(pi81); VTDPropertyInfoBase pi82 = new VTDPropertyInfoBase("InputEnvelope", "/*[local-name(.)='Envelope'][1]/*[local-name(.)='Body'][1]/*[local-name(.)='memberSearch'][1]/*[local-name(.)='name'][1]/*[local-name(.)='lastName'][1]"); VTDBaseSetter binding_setter41 = new VTDXPathSetter(pi82, XmlTypeCode.String); binding_setter41 = new StringFormaterDecorator(binding_setter41, "{DataSource.Members.LastName}"); bind_dir41 = new BindDirection(this.LoadRunnerDataCursor17, binding_getter41, binding_setter41, BindTargetType.ToInProperty); _flow.StServiceCallActivity7.InDirections.Add(bind_dir41); VTDPropertyInfoBase pi83 = new VTDPropertyInfoBase("FirstName"); VTDBaseGetter binding_getter42 = new VTDObjectGetter(pi83); VTDPropertyInfoBase pi84 = new VTDPropertyInfoBase("InputEnvelope", "/*[local-name(.)='Envelope'][1]/*[local-name(.)='Body'][1]/*[local-name(.)='memberSearch'][1]/*[local-name(.)='name'][1]/*[local-name(.)='firstName'][1]"); VTDBaseSetter binding_setter42 = new VTDXPathSetter(pi84, XmlTypeCode.String); binding_setter42 = new StringFormaterDecorator(binding_setter42, "{DataSource.Members.FirstName}"); bind_dir42 = new BindDirection(this.LoadRunnerDataCursor17, binding_getter42, binding_setter42, BindTargetType.ToInProperty); _flow.StServiceCallActivity7.InDirections.Add(bind_dir42); XmlDocument StServiceCallActivity6_InputEnvelope_Document = new XmlDocument(); StServiceCallActivity6_InputEnvelope_Document.PreserveWhitespace = true; StServiceCallActivity6_InputEnvelope_Document.LoadXml( @"<Envelope xmlns=""http://schemas.xmlsoap.org/soap/envelope/""><Body><getMemberPlan xmlns=""http://hp.com/SOAQ/ServiceSimulation/2010/demo/01""><memberId>{Step.OutputProperties.StServiceCallActivity7.Body.memberSearchResponse.memberSearchResult.Member[1].memberId}</memberId></getMemberPlan></Body></Envelope>"); _flow.StServiceCallActivity6.InputEnvelope = StServiceCallActivity6_InputEnvelope_Document; _flow.StServiceCallActivity6.Comment = @""; _flow.StServiceCallActivity6.IconPath = @"AddIns\ServiceTest\WSImportTechnology\ictb_service_operations_16.png"; _flow.StServiceCallActivity6.Name = @"getMemberPlan"; _flow.StServiceCallActivity6.TransportProtocol.SOAPProperties.EndpointAddress = String.IsNullOrEmpty(_context.ResourceManager.GetValue(@"{Step.GeneralProperties.StServiceCallActivity6.TransportProtocol.SOAPProperties.EndpointAddress}")) ? @"http://*****:*****@"{Step.GeneralProperties.StServiceCallActivity6.TransportProtocol.SOAPProperties.EndpointAddress}"); _flow.StServiceCallActivity6.TransportProtocol.SOAPProperties.SoapAction = @"http://hp.com/SOAQ/ServiceSimulation/2010/demo/01/IMemberAccounts/getMemberPlan"; _flow.StServiceCallActivity6.TransportProtocol.SOAPProperties.ContentType = @"text/xml; charset=utf-8"; _flow.StServiceCallActivity6.TransportProtocol.SOAPProperties.Timeout = (int)100000; _flow.StServiceCallActivity6.Service = @"MemberAccounts"; _flow.StServiceCallActivity6.Port = @"BasicHttpBinding_IMemberAccounts"; _flow.StServiceCallActivity6.Operation = @"getMemberPlan"; _flow.StServiceCallActivity6.IsOneWay = false; _flow.StServiceCallActivity6.SendRequestToService = true; _flow.StServiceCallActivity6.FaultExpected = false; _flow.StServiceCallActivity6.IsAsync = false; _flow.StServiceCallActivity6.TargetNamespace = @"http://hp.com/SOAQ/ServiceSimulation/2010/demo/01"; _flow.StServiceCallActivity6.ListenOnPort = (int)0; _flow.StServiceCallActivity6.StartStepEvent += HP.ST.Ext.WebServicesActivities.TransactionHandlers.TransactionStart; _flow.StServiceCallActivity6.EndStepEvent += HP.ST.Ext.WebServicesActivities.TransactionHandlers.TransactionEnd; _flow.StServiceCallActivity6.TransactionWastedTime += HP.ST.Fwk.RunTimeFWK.TransactionHandlers.TransactionWastedTime; VTDPropertyInfoBase pi85 = new VTDPropertyInfoBase("OutputEnvelope", "/*[local-name(.)='Envelope'][1]/*[local-name(.)='Body'][1]/*[local-name(.)='memberSearchResponse'][1]/*[local-name(.)='memberSearchResult'][1]/*[local-name(.)='Member'][{Array0}]/*[local-name(.)='memberId'][1]"); VTDBaseGetter binding_getter43 = new VTDXPathGetter(pi85, XmlTypeCode.Long); binding_getter43 = new XPathGetterDecorator(binding_getter43, "{Array0}", 1); VTDPropertyInfoBase pi86 = new VTDPropertyInfoBase("InputEnvelope", "/*[local-name(.)='Envelope'][1]/*[local-name(.)='Body'][1]/*[local-name(.)='getMemberPlan'][1]/*[local-name(.)='memberId'][1]"); VTDBaseSetter binding_setter43 = new VTDXPathSetter(pi86, XmlTypeCode.Long); bind_dir43 = new BindDirection(_flow.StServiceCallActivity7, binding_getter43, binding_setter43, BindTargetType.ToInProperty); _flow.StServiceCallActivity6.InDirections.Add(bind_dir43); XmlDocument StServiceCallActivity5_InputEnvelope_Document = new XmlDocument(); StServiceCallActivity5_InputEnvelope_Document.PreserveWhitespace = true; StServiceCallActivity5_InputEnvelope_Document.LoadXml( @"<Envelope xmlns=""http://schemas.xmlsoap.org/soap/envelope/""><Body><getMemberDetail xmlns=""http://hp.com/SOAQ/ServiceSimulation/2010/demo/01""><memberId>{Step.OutputProperties.StServiceCallActivity7.Body.memberSearchResponse.memberSearchResult.Member[1].memberId}</memberId></getMemberDetail></Body></Envelope>"); _flow.StServiceCallActivity5.InputEnvelope = StServiceCallActivity5_InputEnvelope_Document; _flow.StServiceCallActivity5.Comment = @""; _flow.StServiceCallActivity5.IconPath = @"AddIns\ServiceTest\WSImportTechnology\ictb_service_operations_16.png"; _flow.StServiceCallActivity5.Name = @"getMemberDetail"; _flow.StServiceCallActivity5.TransportProtocol.SOAPProperties.EndpointAddress = String.IsNullOrEmpty(_context.ResourceManager.GetValue(@"{Step.GeneralProperties.StServiceCallActivity5.TransportProtocol.SOAPProperties.EndpointAddress}")) ? @"http://*****:*****@"{Step.GeneralProperties.StServiceCallActivity5.TransportProtocol.SOAPProperties.EndpointAddress}"); _flow.StServiceCallActivity5.TransportProtocol.SOAPProperties.SoapAction = @"http://hp.com/SOAQ/ServiceSimulation/2010/demo/01/IMemberAccounts/getMemberDetail"; _flow.StServiceCallActivity5.TransportProtocol.SOAPProperties.ContentType = @"text/xml; charset=utf-8"; _flow.StServiceCallActivity5.TransportProtocol.SOAPProperties.Timeout = (int)100000; _flow.StServiceCallActivity5.Service = @"MemberAccounts"; _flow.StServiceCallActivity5.Port = @"BasicHttpBinding_IMemberAccounts"; _flow.StServiceCallActivity5.Operation = @"getMemberDetail"; _flow.StServiceCallActivity5.IsOneWay = false; _flow.StServiceCallActivity5.SendRequestToService = true; _flow.StServiceCallActivity5.FaultExpected = false; _flow.StServiceCallActivity5.IsAsync = false; _flow.StServiceCallActivity5.TargetNamespace = @"http://hp.com/SOAQ/ServiceSimulation/2010/demo/01"; _flow.StServiceCallActivity5.ListenOnPort = (int)0; _flow.StServiceCallActivity5.StartStepEvent += HP.ST.Ext.WebServicesActivities.TransactionHandlers.TransactionStart; _flow.StServiceCallActivity5.EndStepEvent += HP.ST.Ext.WebServicesActivities.TransactionHandlers.TransactionEnd; _flow.StServiceCallActivity5.TransactionWastedTime += HP.ST.Fwk.RunTimeFWK.TransactionHandlers.TransactionWastedTime; VTDPropertyInfoBase pi87 = new VTDPropertyInfoBase("OutputEnvelope", "/*[local-name(.)='Envelope'][1]/*[local-name(.)='Body'][1]/*[local-name(.)='memberSearchResponse'][1]/*[local-name(.)='memberSearchResult'][1]/*[local-name(.)='Member'][{Array0}]/*[local-name(.)='memberId'][1]"); VTDBaseGetter binding_getter44 = new VTDXPathGetter(pi87, XmlTypeCode.Long); binding_getter44 = new XPathGetterDecorator(binding_getter44, "{Array0}", 1); VTDPropertyInfoBase pi88 = new VTDPropertyInfoBase("InputEnvelope", "/*[local-name(.)='Envelope'][1]/*[local-name(.)='Body'][1]/*[local-name(.)='getMemberDetail'][1]/*[local-name(.)='memberId'][1]"); VTDBaseSetter binding_setter44 = new VTDXPathSetter(pi88, XmlTypeCode.Long); bind_dir44 = new BindDirection(_flow.StServiceCallActivity7, binding_getter44, binding_setter44, BindTargetType.ToInProperty); _flow.StServiceCallActivity5.InDirections.Add(bind_dir44); }
internal void InitializeComponent() { this._context.SnapshotManager.EnableSnapshots = false; this._context.PropertyBag["IsRunningInLodeMode"] = true; _userCode = new TestUserCode(); _flow = _userCode; LoadInput(); this.Activities.Clear(); _flow.DataFetchActivity14 = new HP.ST.Ext.BasicActivities.DataFetchActivity(_context, "DataFetchActivity14"); _flow.StartActivity1 = new HP.ST.Ext.BasicActivities.StartActivity(_context, "StartActivity1"); _flow.Loop2 = new HP.ST.Fwk.RunTimeFWK.CompositeActivities.Loop <Loop2Input>(_context, "Loop2", LoopType.ForEach); _flow.DataExporterActivity16 = new HP.ST.Ext.BasicActivities.DataExporterActivity(_context, "DataExporterActivity16"); _flow.DataExporterCloseActivity17 = new HP.ST.Ext.BasicActivities.DataExporterCloseActivity(_context, "DataExporterCloseActivity17"); _flow.EndActivity3 = new HP.ST.Ext.BasicActivities.EndActivity(_context, "EndActivity3"); _flow.DataDisconnectActivity15 = new HP.ST.Ext.BasicActivities.DataDisconnectActivity(_context, "DataDisconnectActivity15"); this.LoadRunnerDataCursor18 = new HP.ST.Ext.LoadRunnerRTAddin.LoadRunnerDataCursor(_context, "LoadRunnerDataCursor18"); this.LoadRunnerDataCursor18_Policy = new HP.ST.Fwk.SOAReplayAPI.DataHandling.CursorMovementPolicy(); _flow.Sequence13 = new HP.ST.Fwk.RunTimeFWK.CompositeActivities.Sequence(_context, "Sequence13"); _flow.StServiceCallActivity4 = new HP.ST.Ext.WebServicesActivities.StServiceCallActivity(_context, "StServiceCallActivity4"); _flow.StServiceCallActivity5 = new HP.ST.Ext.WebServicesActivities.StServiceCallActivity(_context, "StServiceCallActivity5"); _flow.DataFetchActivity14.Comment = @""; _flow.DataFetchActivity14.IconPath = @""; _flow.DataFetchActivity14.TransactionWastedTime += HP.ST.Fwk.RunTimeFWK.TransactionHandlers.TransactionWastedTime; _flow.DataFetchActivity14.AssemblyPath = @"AddIns\ServiceTest\BaseDataProviders\HP.ST.Ext.CustomDataProviders.dll"; _flow.DataFetchActivity14.QueryClassName = @"HP.ST.Ext.CustomDataProviders.ExcelFileDataQuery"; XmlDocument DataFetchActivity14_QueryParameters_Document = new XmlDocument(); DataFetchActivity14_QueryParameters_Document.PreserveWhitespace = true; string xmlDataFetchActivity14Params = @"<Arguments><QueryParametersContainer><QueryParameter><Name>Id</Name><Value>3def751e-23e2-4763-ac5f-818c714e4ed3</Value></QueryParameter><QueryParameter><Name>QueryName</Name><Value>TestClaims!Sheet1</Value></QueryParameter><QueryParameter><Name>IsEmbedded</Name><Value>False</Value></QueryParameter><QueryParameter><Name>Externalized</Name><Value>False</Value></QueryParameter><QueryParameter><Name>GroupText</Name><Value>TestClaims</Value></QueryParameter><QueryParameter><Name>FilePath</Name><Value>" + _context.ResourceManager.GetValue("{TestClaims!Sheet1.TablePath}") + "</Value></QueryParameter><QueryParameter><Name>SheetName</Name><Value>Sheet1$</Value></QueryParameter><QueryParameter><Name>ContainsHeadersRow</Name><Value>True</Value></QueryParameter></QueryParametersContainer></Arguments>"; DataFetchActivity14_QueryParameters_Document.LoadXml(xmlDataFetchActivity14Params); _flow.DataFetchActivity14.QueryParameters = DataFetchActivity14_QueryParameters_Document; _flow.dataSourceNameToDataSource.Add("TestClaims!Sheet1", _flow.DataFetchActivity14); this.Activities.Add(_flow.DataFetchActivity14); XmlDocument StartActivity1_ExecutionInputParameters_Document = new XmlDocument(); StartActivity1_ExecutionInputParameters_Document.PreserveWhitespace = true; StartActivity1_ExecutionInputParameters_Document.LoadXml( @"<Arguments><ServiceEndpoint>http://localhost:8102/ServiceSimulation/Demo/ClaimProcessingService/ClaimProcessingService</ServiceEndpoint></Arguments>"); _flow.StartActivity1.ExecutionInputParameters = StartActivity1_ExecutionInputParameters_Document; _flow.StartActivity1.Comment = @""; _flow.StartActivity1.IconPath = @"AddIns\ServiceTest\BasicActivities\toolbox_code_activity.png"; _flow.StartActivity1.Name = @"Start"; _flow.StartActivity1.JVM = new HP.ST.Ext.BasicActivities.JVMProperties(); _flow.StartActivity1.IsJavaUsed = false; _flow.StartActivity1.JVM.Classpath = @"%CLASSPATH%"; _flow.StartActivity1.JVM.AdditionalVMParameters = @""; _flow.StartActivity1.JMS = new HP.ST.Ext.BasicActivities.JMSProperties(); _flow.StartActivity1.IsJmsUsed = false; _flow.StartActivity1.JMS.JNDIContextFactory = @"<Select...>"; _flow.StartActivity1.JMS.JNDIProviderUrl = @""; _flow.StartActivity1.JMS.JMSConnectionFactory = @""; _flow.StartActivity1.JMS.SecurityPrincipal = @""; _flow.StartActivity1.JMS.SecurityCredentials = @""; _flow.StartActivity1.JMS.ConnectionsPerProcess = @"1"; _flow.StartActivity1.JMS.TimeoutOptions = @"DN_User_defined_Timeout"; _flow.StartActivity1.JMS.UserTimeout = @"20"; _flow.StartActivity1.JMS.GenerateAutoSelector = @"No"; _flow.StartActivity1.TransactionWastedTime += HP.ST.Fwk.RunTimeFWK.TransactionHandlers.TransactionWastedTime; this.Activities.Add(_flow.StartActivity1); _flow.Loop2.ConditionAsString = @"For each item in {DataSource.TestClaims!Sheet1}"; _flow.Loop2.NumberOfIterations = (int)1; _flow.Loop2.Condition += delegate(object sender, STActivityBaseEventArgs e) { return(!LoadRunnerDataCursor18.IsAtEndPosition); }; _flow.Loop2.Comment = @""; _flow.Loop2.IconPath = @"AddIns\ServiceTest\BasicActivities\toolbox_loop.png"; _flow.Loop2.Name = @"Test Flow"; _flow.Loop2.TransactionWastedTime += HP.ST.Fwk.RunTimeFWK.TransactionHandlers.TransactionWastedTime; _flow.Loop2.Activities.Add(this.LoadRunnerDataCursor18); _flow.Loop2.Activities.Add(_flow.Sequence13); this.Activities.Add(_flow.Loop2); _flow.DataExporterActivity16.Comment = @""; _flow.DataExporterActivity16.IconPath = @""; _flow.DataExporterActivity16.TransactionWastedTime += HP.ST.Fwk.RunTimeFWK.TransactionHandlers.TransactionWastedTime; VTDPropertyInfoBase pi265 = new VTDPropertyInfoBase("OutTable"); VTDBaseGetter binding_getter133 = new VTDObjectGetter(pi265); VTDPropertyInfoBase pi266 = new VTDPropertyInfoBase("Data"); VTDBaseSetter binding_setter133 = new VTDObjectSetter(pi266); binding_setter133 = new StringFormaterDecorator(binding_setter133, "{Step.DataFetchActivity14.OutTable}"); bind_dir133 = new BindDirection(_flow.DataFetchActivity14, binding_getter133, binding_setter133, BindTargetType.ToInProperty); _flow.DataExporterActivity16.InDirections.Add(bind_dir133); this.Activities.Add(_flow.DataExporterActivity16); _flow.DataExporterCloseActivity17.Comment = @""; _flow.DataExporterCloseActivity17.IconPath = @""; _flow.DataExporterCloseActivity17.TransactionWastedTime += HP.ST.Fwk.RunTimeFWK.TransactionHandlers.TransactionWastedTime; this.Activities.Add(_flow.DataExporterCloseActivity17); _flow.EndActivity3.Comment = @""; _flow.EndActivity3.IconPath = @"AddIns\ServiceTest\BasicActivities\toolbox_code_activity.png"; _flow.EndActivity3.Name = @"End"; _flow.EndActivity3.TransactionWastedTime += HP.ST.Fwk.RunTimeFWK.TransactionHandlers.TransactionWastedTime; this.Activities.Add(_flow.EndActivity3); _flow.DataDisconnectActivity15.Comment = @""; _flow.DataDisconnectActivity15.IconPath = @""; _flow.DataDisconnectActivity15.TransactionWastedTime += HP.ST.Fwk.RunTimeFWK.TransactionHandlers.TransactionWastedTime; VTDPropertyInfoBase pi267 = new VTDPropertyInfoBase("OutTable"); VTDBaseGetter binding_getter134 = new VTDObjectGetter(pi267); VTDPropertyInfoBase pi268 = new VTDPropertyInfoBase("Data"); VTDBaseSetter binding_setter134 = new VTDObjectSetter(pi268); binding_setter134 = new StringFormaterDecorator(binding_setter134, "{Step.DataFetchActivity14.OutTable}"); bind_dir134 = new BindDirection(_flow.DataFetchActivity14, binding_getter134, binding_setter134, BindTargetType.ToInProperty); _flow.DataDisconnectActivity15.InDirections.Add(bind_dir134); this.Activities.Add(_flow.DataDisconnectActivity15); this.LoadRunnerDataCursor18.Comment = @""; this.LoadRunnerDataCursor18.IconPath = @""; this.LoadRunnerDataCursor18.TransactionWastedTime += HP.ST.Fwk.RunTimeFWK.TransactionHandlers.TransactionWastedTime; VTDPropertyInfoBase pi269 = new VTDPropertyInfoBase("OutTable"); VTDBaseGetter binding_getter135 = new VTDObjectGetter(pi269); VTDPropertyInfoBase pi270 = new VTDPropertyInfoBase("InTable"); VTDBaseSetter binding_setter135 = new VTDObjectSetter(pi270); binding_setter135 = new StringFormaterDecorator(binding_setter135, "{Step.DataFetchActivity14.OutTable}"); bind_dir135 = new BindDirection(_flow.DataFetchActivity14, binding_getter135, binding_setter135, BindTargetType.ToInProperty); this.LoadRunnerDataCursor18.InDirections.Add(bind_dir135); this.LoadRunnerDataCursor18_Policy.StartPosition = CursorStartPosition.FirstRecord; this.LoadRunnerDataCursor18_Policy.StartAtSpecificRow = 1; this.LoadRunnerDataCursor18_Policy.StartCondition.ColumnName = ""; this.LoadRunnerDataCursor18_Policy.StartCondition.Comparison = ConditionOperator.Equal; this.LoadRunnerDataCursor18_Policy.StartCondition.Value = ""; this.LoadRunnerDataCursor18_Policy.EndPosition = CursorEndPosition.UserSpecificRecord; this.LoadRunnerDataCursor18_Policy.EndAtSpecificRow = 1; this.LoadRunnerDataCursor18_Policy.EndCondition.ColumnName = ""; this.LoadRunnerDataCursor18_Policy.EndCondition.Comparison = ConditionOperator.Equal; this.LoadRunnerDataCursor18_Policy.EndCondition.Value = ""; this.LoadRunnerDataCursor18_Policy.StepType = CursorStepType.Forward; this.LoadRunnerDataCursor18_Policy.StepSize = 1; this.LoadRunnerDataCursor18_Policy.ActionAfterLastRecord = CursorActionAfterLastRecord.Wraparound; this.LoadRunnerDataCursor18.Policy = this.LoadRunnerDataCursor18_Policy; this.LoadRunnerDataCursor18.ReportStepData = true; _flow.Loop2.BeforeExecuteStepEvent += this.LoadRunnerDataCursor18.ResetCursor; _flow.Sequence13.Comment = @""; _flow.Sequence13.IconPath = @""; _flow.Sequence13.Name = @"Sequence13"; _flow.Sequence13.TransactionWastedTime += HP.ST.Fwk.RunTimeFWK.TransactionHandlers.TransactionWastedTime; _flow.Sequence13.Activities.Add(_flow.StServiceCallActivity4); _flow.Sequence13.Activities.Add(_flow.StServiceCallActivity5); XmlDocument StServiceCallActivity4_InputEnvelope_Document = new XmlDocument(); StServiceCallActivity4_InputEnvelope_Document.PreserveWhitespace = true; StServiceCallActivity4_InputEnvelope_Document.LoadXml( @"<Envelope xmlns=""http://schemas.xmlsoap.org/soap/envelope/"" xmlns:p1=""http://www.w3.org/2001/XMLSchema-instance""><Body><enterClaim xmlns=""http://hp.com/SOAQ/ServiceSimulation/2010/demo/01""><claim><claimedAmount xmlns=""http://schemas.datacontract.org/2004/07/HP.SOAQ.ServiceSimulation.Demo"">{DataSource.TestClaims!Sheet1.ClaimAount}</claimedAmount><date xmlns=""http://schemas.datacontract.org/2004/07/HP.SOAQ.ServiceSimulation.Demo"">{DataSource.TestClaims!Sheet1.Date}</date><description xmlns=""http://schemas.datacontract.org/2004/07/HP.SOAQ.ServiceSimulation.Demo"">{DataSource.TestClaims!Sheet1.ClaimDesc}</description><firstName xmlns=""http://schemas.datacontract.org/2004/07/HP.SOAQ.ServiceSimulation.Demo"">{DataSource.TestClaims!Sheet1.FirstName}</firstName><lastName xmlns=""http://schemas.datacontract.org/2004/07/HP.SOAQ.ServiceSimulation.Demo"">{DataSource.TestClaims!Sheet1.LastName}</lastName><socialSecurityNumber xmlns=""http://schemas.datacontract.org/2004/07/HP.SOAQ.ServiceSimulation.Demo"">{DataSource.TestClaims!Sheet1.SSN}</socialSecurityNumber></claim></enterClaim></Body></Envelope>"); _flow.StServiceCallActivity4.InputEnvelope = StServiceCallActivity4_InputEnvelope_Document; _flow.StServiceCallActivity4.Comment = @""; _flow.StServiceCallActivity4.IconPath = @"AddIns\ServiceTest\WSImportTechnology\ictb_service_operations_16.png"; _flow.StServiceCallActivity4.Name = @"enterClaim"; _flow.StServiceCallActivity4.TransportProtocol.SOAPProperties.EndpointAddress = String.IsNullOrEmpty(_context.ResourceManager.GetValue(@"{Step.GeneralProperties.StServiceCallActivity4.TransportProtocol.SOAPProperties.EndpointAddress}")) ? @"{Step.OutputProperties.StartActivity1.ServiceEndpoint}" : _context.ResourceManager.GetValue(@"{Step.GeneralProperties.StServiceCallActivity4.TransportProtocol.SOAPProperties.EndpointAddress}"); _flow.StServiceCallActivity4.TransportProtocol.SOAPProperties.SoapAction = @"http://hp.com/SOAQ/ServiceSimulation/2010/demo/01/IClaimProcessing/enterClaim"; _flow.StServiceCallActivity4.TransportProtocol.SOAPProperties.ContentType = @"text/xml; charset=utf-8"; _flow.StServiceCallActivity4.TransportProtocol.SOAPProperties.Timeout = (int)100000; _flow.StServiceCallActivity4.Service = @"ClaimProcessing"; _flow.StServiceCallActivity4.Port = @"BasicHttpBinding_IClaimProcessing"; _flow.StServiceCallActivity4.Operation = @"enterClaim"; _flow.StServiceCallActivity4.IsOneWay = false; _flow.StServiceCallActivity4.SendRequestToService = true; _flow.StServiceCallActivity4.FaultExpected = false; _flow.StServiceCallActivity4.IsAsync = false; _flow.StServiceCallActivity4.TargetNamespace = @"http://hp.com/SOAQ/ServiceSimulation/2010/demo/01"; _flow.StServiceCallActivity4.ListenOnPort = (int)0; XmlDocument StServiceCallActivity4_ChannelBindingXml = new XmlDocument(); StServiceCallActivity4_ChannelBindingXml.PreserveWhitespace = true; StServiceCallActivity4_ChannelBindingXml.LoadXml(@"<?xml version=""1.0""?> <ArrayOfChannelBindingBase xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xmlns:xsd=""http://www.w3.org/2001/XMLSchema""> <ChannelBindingBase xsi:type=""HttpChannelBinding""> <IsKeepAlive>false</IsKeepAlive> <IsPreemptiveAuthentication>false</IsPreemptiveAuthentication> <ConnectionTimeout>0</ConnectionTimeout> </ChannelBindingBase> </ArrayOfChannelBindingBase>"); _flow.StServiceCallActivity4.ChannelBindingXml = StServiceCallActivity4_ChannelBindingXml; _flow.StServiceCallActivity4.StartStepEvent += HP.ST.Ext.WebServicesActivities.TransactionHandlers.TransactionStart; _flow.StServiceCallActivity4.EndStepEvent += HP.ST.Ext.WebServicesActivities.TransactionHandlers.TransactionEnd; _flow.StServiceCallActivity4.TransactionWastedTime += HP.ST.Fwk.RunTimeFWK.TransactionHandlers.TransactionWastedTime; VTDPropertyInfoBase pi271 = new VTDPropertyInfoBase("ExecutionInputParameters", "/*[local-name(.)='Arguments'][1]/*[local-name(.)='ServiceEndpoint'][1]"); VTDBaseGetter binding_getter136 = new VTDXPathGetter(pi271, XmlTypeCode.String); VTDPropertyInfoBase pi272 = new VTDPropertyInfoBase("TransportProtocol.SOAPProperties.EndpointAddress"); VTDBaseSetter binding_setter136 = new VTDObjectSetter(pi272); binding_setter136 = new StringFormaterDecorator(binding_setter136, "{Step.OutputProperties.StartActivity1.ServiceEndpoint}"); bind_dir136 = new BindDirection(_flow.StartActivity1, binding_getter136, binding_setter136, BindTargetType.ToInProperty); _flow.StServiceCallActivity4.InDirections.Add(bind_dir136); VTDPropertyInfoBase pi273 = new VTDPropertyInfoBase("SSN"); VTDBaseGetter binding_getter137 = new VTDObjectGetter(pi273); VTDPropertyInfoBase pi274 = new VTDPropertyInfoBase("InputEnvelope", "/*[local-name(.)='Envelope'][1]/*[local-name(.)='Body'][1]/*[local-name(.)='enterClaim'][1]/*[local-name(.)='claim'][1]/*[local-name(.)='socialSecurityNumber'][1]"); VTDBaseSetter binding_setter137 = new VTDXPathSetter(pi274, XmlTypeCode.String); binding_setter137 = new StringFormaterDecorator(binding_setter137, "{DataSource.TestClaims!Sheet1.SSN}"); bind_dir137 = new BindDirection(this.LoadRunnerDataCursor18, binding_getter137, binding_setter137, BindTargetType.ToInProperty); _flow.StServiceCallActivity4.InDirections.Add(bind_dir137); VTDPropertyInfoBase pi275 = new VTDPropertyInfoBase("LastName"); VTDBaseGetter binding_getter138 = new VTDObjectGetter(pi275); VTDPropertyInfoBase pi276 = new VTDPropertyInfoBase("InputEnvelope", "/*[local-name(.)='Envelope'][1]/*[local-name(.)='Body'][1]/*[local-name(.)='enterClaim'][1]/*[local-name(.)='claim'][1]/*[local-name(.)='lastName'][1]"); VTDBaseSetter binding_setter138 = new VTDXPathSetter(pi276, XmlTypeCode.String); binding_setter138 = new StringFormaterDecorator(binding_setter138, "{DataSource.TestClaims!Sheet1.LastName}"); bind_dir138 = new BindDirection(this.LoadRunnerDataCursor18, binding_getter138, binding_setter138, BindTargetType.ToInProperty); _flow.StServiceCallActivity4.InDirections.Add(bind_dir138); VTDPropertyInfoBase pi277 = new VTDPropertyInfoBase("FirstName"); VTDBaseGetter binding_getter139 = new VTDObjectGetter(pi277); VTDPropertyInfoBase pi278 = new VTDPropertyInfoBase("InputEnvelope", "/*[local-name(.)='Envelope'][1]/*[local-name(.)='Body'][1]/*[local-name(.)='enterClaim'][1]/*[local-name(.)='claim'][1]/*[local-name(.)='firstName'][1]"); VTDBaseSetter binding_setter139 = new VTDXPathSetter(pi278, XmlTypeCode.String); binding_setter139 = new StringFormaterDecorator(binding_setter139, "{DataSource.TestClaims!Sheet1.FirstName}"); bind_dir139 = new BindDirection(this.LoadRunnerDataCursor18, binding_getter139, binding_setter139, BindTargetType.ToInProperty); _flow.StServiceCallActivity4.InDirections.Add(bind_dir139); VTDPropertyInfoBase pi279 = new VTDPropertyInfoBase("ClaimDesc"); VTDBaseGetter binding_getter140 = new VTDObjectGetter(pi279); VTDPropertyInfoBase pi280 = new VTDPropertyInfoBase("InputEnvelope", "/*[local-name(.)='Envelope'][1]/*[local-name(.)='Body'][1]/*[local-name(.)='enterClaim'][1]/*[local-name(.)='claim'][1]/*[local-name(.)='description'][1]"); VTDBaseSetter binding_setter140 = new VTDXPathSetter(pi280, XmlTypeCode.String); binding_setter140 = new StringFormaterDecorator(binding_setter140, "{DataSource.TestClaims!Sheet1.ClaimDesc}"); bind_dir140 = new BindDirection(this.LoadRunnerDataCursor18, binding_getter140, binding_setter140, BindTargetType.ToInProperty); _flow.StServiceCallActivity4.InDirections.Add(bind_dir140); VTDPropertyInfoBase pi281 = new VTDPropertyInfoBase("Date"); VTDBaseGetter binding_getter141 = new VTDObjectGetter(pi281); VTDPropertyInfoBase pi282 = new VTDPropertyInfoBase("InputEnvelope", "/*[local-name(.)='Envelope'][1]/*[local-name(.)='Body'][1]/*[local-name(.)='enterClaim'][1]/*[local-name(.)='claim'][1]/*[local-name(.)='date'][1]"); VTDBaseSetter binding_setter141 = new VTDXPathSetter(pi282, XmlTypeCode.DateTime); bind_dir141 = new BindDirection(this.LoadRunnerDataCursor18, binding_getter141, binding_setter141, BindTargetType.ToInProperty); _flow.StServiceCallActivity4.InDirections.Add(bind_dir141); VTDPropertyInfoBase pi283 = new VTDPropertyInfoBase("ClaimAount"); VTDBaseGetter binding_getter142 = new VTDObjectGetter(pi283); VTDPropertyInfoBase pi284 = new VTDPropertyInfoBase("InputEnvelope", "/*[local-name(.)='Envelope'][1]/*[local-name(.)='Body'][1]/*[local-name(.)='enterClaim'][1]/*[local-name(.)='claim'][1]/*[local-name(.)='claimedAmount'][1]"); VTDBaseSetter binding_setter142 = new VTDXPathSetter(pi284, XmlTypeCode.Float); bind_dir142 = new BindDirection(this.LoadRunnerDataCursor18, binding_getter142, binding_setter142, BindTargetType.ToInProperty); _flow.StServiceCallActivity4.InDirections.Add(bind_dir142); XmlDocument StServiceCallActivity5_InputEnvelope_Document = new XmlDocument(); StServiceCallActivity5_InputEnvelope_Document.PreserveWhitespace = true; StServiceCallActivity5_InputEnvelope_Document.LoadXml( @"<Envelope xmlns=""http://schemas.xmlsoap.org/soap/envelope/""><Body><getClaim xmlns=""http://hp.com/SOAQ/ServiceSimulation/2010/demo/01""><claimId><id xmlns=""http://schemas.datacontract.org/2004/07/HP.SOAQ.ServiceSimulation.Demo"">{Step.OutputProperties.StServiceCallActivity4.Body.enterClaimResponse.enterClaimResult.id}</id></claimId></getClaim></Body></Envelope>"); _flow.StServiceCallActivity5.InputEnvelope = StServiceCallActivity5_InputEnvelope_Document; _flow.StServiceCallActivity5.Comment = @""; _flow.StServiceCallActivity5.IconPath = @"AddIns\ServiceTest\WSImportTechnology\ictb_service_operations_16.png"; _flow.StServiceCallActivity5.Name = @"getClaim"; _flow.StServiceCallActivity5.TransportProtocol.SOAPProperties.EndpointAddress = String.IsNullOrEmpty(_context.ResourceManager.GetValue(@"{Step.GeneralProperties.StServiceCallActivity5.TransportProtocol.SOAPProperties.EndpointAddress}")) ? @"{Step.OutputProperties.StartActivity1.ServiceEndpoint}" : _context.ResourceManager.GetValue(@"{Step.GeneralProperties.StServiceCallActivity5.TransportProtocol.SOAPProperties.EndpointAddress}"); _flow.StServiceCallActivity5.TransportProtocol.SOAPProperties.SoapAction = @"http://hp.com/SOAQ/ServiceSimulation/2010/demo/01/IClaimProcessing/getClaim"; _flow.StServiceCallActivity5.TransportProtocol.SOAPProperties.ContentType = @"text/xml; charset=utf-8"; _flow.StServiceCallActivity5.TransportProtocol.SOAPProperties.Timeout = (int)100000; _flow.StServiceCallActivity5.Service = @"ClaimProcessing"; _flow.StServiceCallActivity5.Port = @"BasicHttpBinding_IClaimProcessing"; _flow.StServiceCallActivity5.Operation = @"getClaim"; _flow.StServiceCallActivity5.IsOneWay = false; _flow.StServiceCallActivity5.SendRequestToService = true; _flow.StServiceCallActivity5.FaultExpected = false; _flow.StServiceCallActivity5.IsAsync = false; _flow.StServiceCallActivity5.TargetNamespace = @"http://hp.com/SOAQ/ServiceSimulation/2010/demo/01"; _flow.StServiceCallActivity5.ListenOnPort = (int)0; XmlDocument StServiceCallActivity5_ChannelBindingXml = new XmlDocument(); StServiceCallActivity5_ChannelBindingXml.PreserveWhitespace = true; StServiceCallActivity5_ChannelBindingXml.LoadXml(@"<?xml version=""1.0""?> <ArrayOfChannelBindingBase xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xmlns:xsd=""http://www.w3.org/2001/XMLSchema""> <ChannelBindingBase xsi:type=""HttpChannelBinding""> <IsKeepAlive>false</IsKeepAlive> <IsPreemptiveAuthentication>false</IsPreemptiveAuthentication> <ConnectionTimeout>0</ConnectionTimeout> </ChannelBindingBase> </ArrayOfChannelBindingBase>"); _flow.StServiceCallActivity5.ChannelBindingXml = StServiceCallActivity5_ChannelBindingXml; _flow.StServiceCallActivity5.StartStepEvent += HP.ST.Ext.WebServicesActivities.TransactionHandlers.TransactionStart; _flow.StServiceCallActivity5.EndStepEvent += HP.ST.Ext.WebServicesActivities.TransactionHandlers.TransactionEnd; _flow.StServiceCallActivity5.TransactionWastedTime += HP.ST.Fwk.RunTimeFWK.TransactionHandlers.TransactionWastedTime; VTDPropertyInfoBase pi285 = new VTDPropertyInfoBase("ExecutionInputParameters", "/*[local-name(.)='Arguments'][1]/*[local-name(.)='ServiceEndpoint'][1]"); VTDBaseGetter binding_getter143 = new VTDXPathGetter(pi285, XmlTypeCode.String); VTDPropertyInfoBase pi286 = new VTDPropertyInfoBase("TransportProtocol.SOAPProperties.EndpointAddress"); VTDBaseSetter binding_setter143 = new VTDObjectSetter(pi286); binding_setter143 = new StringFormaterDecorator(binding_setter143, "{Step.OutputProperties.StartActivity1.ServiceEndpoint}"); bind_dir143 = new BindDirection(_flow.StartActivity1, binding_getter143, binding_setter143, BindTargetType.ToInProperty); _flow.StServiceCallActivity5.InDirections.Add(bind_dir143); VTDPropertyInfoBase pi287 = new VTDPropertyInfoBase("OutputEnvelope", "/*[local-name(.)='Envelope'][1]/*[local-name(.)='Body'][1]/*[local-name(.)='enterClaimResponse'][1]/*[local-name(.)='enterClaimResult'][1]/*[local-name(.)='id'][1]"); VTDBaseGetter binding_getter144 = new VTDXPathGetter(pi287, XmlTypeCode.Long); VTDPropertyInfoBase pi288 = new VTDPropertyInfoBase("InputEnvelope", "/*[local-name(.)='Envelope'][1]/*[local-name(.)='Body'][1]/*[local-name(.)='getClaim'][1]/*[local-name(.)='claimId'][1]/*[local-name(.)='id'][1]"); VTDBaseSetter binding_setter144 = new VTDXPathSetter(pi288, XmlTypeCode.Long); bind_dir144 = new BindDirection(_flow.StServiceCallActivity4, binding_getter144, binding_setter144, BindTargetType.ToInProperty); _flow.StServiceCallActivity5.InDirections.Add(bind_dir144); }