Click here to Skip to main content
15,880,469 members
Articles / DevOps / Load Testing

VirtualService for ESB

Rate me:
Please Sign up or sign in to vote.
4.90/5 (32 votes)
19 Feb 2008CPOL37 min read 96.6K   1.2K   98  
This article describes the design, implementation, and usage of VirtualService for the Enterprise Service Bus, using the Microsoft .NET FX 3.5 technology.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
	<system.serviceModel>
		<extensions>
			<behaviorExtensions>
				<add name="logger" type="RKiss.Logger.LoggerBehaviorSection, Logger, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"/>
			</behaviorExtensions>
		</extensions>

		<bindings>
			<customBinding>
				<binding name="NewBinding2">
					<context contextExchangeMechanism="ContextSoapHeader" protectionLevel="None"/>
					<namedPipeTransport />
				</binding>
				<binding name="NewBinding3">
					<context contextExchangeMechanism="ContextSoapHeader" protectionLevel="None"/>
					<tcpTransport/>
				</binding>
			</customBinding>
		</bindings>
		
		<client>
			<endpoint name="test" address="net.pipe://localhost/gaga2" binding="customBinding" bindingConfiguration="NewBinding2" contract="Contract.ITest"  behaviorConfiguration="logmessages"/>
			<endpoint name="test3" address="net.pipe://localhost/gaga2" binding="customBinding" bindingConfiguration="NewBinding2" contract="Contract.ITest3"  behaviorConfiguration="logmessages"/>
		</client>

		<behaviors>
			<endpointBehaviors>
				<behavior name="logmessages">
					<logger enable="true" />
				</behavior>
			</endpointBehaviors>
		</behaviors>
	</system.serviceModel>
</configuration>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions