Testharness problems

Apr 9, 2012 at 6:37 AM

i pass the “SMOKE TEST”

when i do the TESTHARNESS,i met problems:

when i test ,for eg:

1.[provide and register document set-b],

    it shows a messagebox:"value cannot be null.parameter name:endpoint cofigurationName"

2.when i do test:     [  Register Document Set – b tab]

it shows:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentNullException: Value cannot be null.
Parameter name: endpointConfigurationName
   at System.ServiceModel.ClientBase`1..ctor(String endpointConfigurationName)
   at Microsoft.XDS.Test.XDSRegistry.XDSRegistryClient..ctor(String endpointConfigurationName)
   at Microsoft.XDS.Test.frmIheTstHarness.btnRExecute_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.261 (RTMGDR.030319-2600)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
XDSTestHarness
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/DengMin/Desktop/XDSTestHarness.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.235 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.261 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.ServiceModel
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.233 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel/v4.0_4.0.0.0__b77a5c561934e089/System.ServiceModel.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.233 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Runtime.Serialization
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
SMDiagnostics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/SMDiagnostics/v4.0_4.0.0.0__b77a5c561934e089/SMDiagnostics.dll
----------------------------------------
System.Runtime.DurableInstancing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.DurableInstancing/v4.0_4.0.0.0__31bf3856ad364e35/System.Runtime.DurableInstancing.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.233 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

3.when i do the test :[     Stored Query tab.]

it shows:

System.ArgumentNullException: Value cannot be null.
Parameter name: endpointConfigurationName
   at System.ServiceModel.ClientBase`1..ctor(String endpointConfigurationName)
   at Microsoft.XDS.Test.XDSRegistry.XDSRegistryClient..ctor(String endpointConfigurationName)
   at Microsoft.XDS.Test.frmIheTstHarness.btnStoredQueryExecute_Click(Object sender, EventArgs e)
 

note:i will paste these 3 app.config next  

Apr 9, 2012 at 6:42 AM
//Repository app.config
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
    <section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    <section name="storageprovider" type="Microsoft.IHE.XDS.DocumentRepository.StorageProvider.SQLProviderSection,Microsoft.IHE.XDS.DocumentRepository.StorageProvider" />
  </configSections>
  <system.web>
    <webServices>
      <protocols>
        <add name="HttpGet" />
        <add name="HttpPost" />
      </protocols>
    </webServices>
  </system.web>
  <system.diagnostics>
    <sources>
      <source name="System.ServiceModel.MessageLogging" switchValue="Verbose,ActivityTracing">
        <listeners>
          <add type="System.Diagnostics.DefaultTraceListener" name="Default">
            <filter type="" />
          </add>
          <add name="TraceListener">
            <filter type="" />
          </add>
        </listeners>
      </source>
    </sources>
    <sharedListeners>
      <add initializeData="D:\Log\App_tracelog_Rep.svclog" type="System.Diagnostics.XmlWriterTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="TraceListener">
        <filter type="" />
      </add>
    </sharedListeners>
  </system.diagnostics>
  <connectionStrings>
    <add name="XDSRequestAsync" connectionString="Initial Catalog=XDS_REQUEST;Data Source=.\SQLEXPRESS;Integrated Security=SSPI;Enlist=false;" providerName="System.Data.SqlClient" />
    <add name="XDSRepository" connectionString="Initial Catalog=XDSRepositoryDB;Data Source=.\SQLEXPRESS;Integrated Security=SSPI;Enlist=false;" providerName="System.Data.SqlClient" />
    <add name="CONSTRING" connectionString="Initial Catalog=XDSRegistryDB;Data Source=.\SQLEXPRESS;Integrated Security=SSPI;Enlist=false;" providerName="System.Data.SqlClient" />
    <!--<add name="ConnectionString" connectionString="Initial Catalog=XDS_REQUEST_C1;Data Source=ilink\sql2008;uid=sa;pwd=Enter321;Enlist=false;" providerName="System.Data.SqlClient" />-->
    <add name="ATNA" connectionString="Initial Catalog=XDSRepositoryDB;Data Source=.\SQLEXPRESS;Integrated Security=SSPI;Enlist=false;" providerName="System.Data.SqlClient" />
  </connectionStrings>
  <appSettings>
    <add key="HASH_ALGORITHM" value="SHA1" />
    <add key="SYSLOG_SERVER" value="sun1" />
    <add key="SYSLOG_PORT" value="4010" />
          
    <!-- HTTPS/TLS -->
    <!--<add key="XDSREPOSITORY_SERVICE_ADDRESS" value="https://msft-ihe1:8081/XdsService/XDSRepository" />
		<add key="XDSREGISTRY_SERVICE_ADDRESS" value="https://msft-ihe1:8081/XdsService/XDSRegistry"/>
		<add key ="XDSREGISTRY_ENDPOINT_NAME" value="XDSRegistry_HTTPS_Endpoint"/>-->
    
    <!-- HTTPS/TLS -->
    <!-- HTTP -->
    <!--<add key="XDSREPOSITORY_SERVICE_ADDRESS" value="https://localhost:9081/XdsService/XDSRepository" />-->
    <!--<add key="XDSREGISTRY_SERVICE_ADDRESS" value="https://icw2:8443/ehealth/webservices/xdsb-registerdocuments" />-->
    <add key="XDSREPOSITORY_SERVICE_ADDRESS" value="http://localhost:6025/XdsService/XDSRepository" />
    <add key="XDSREGISTRY_SERVICE_ADDRESS" value="http://localhost:6025/xdsservice/xdsregistry" />
    <!--Open it after TLS <add key="XDSREPOSITORY_SERVICE_ADDRESS" value="https://localhost:9081/XdsService/XDSRepository" />-->
    <!--Open it after TLS <add key="XDSREGISTRY_SERVICE_ADDRESS" value="https://localhost:9080/xdsservice/xdsregistry" />-->
    <!--Open it after TLS <add key="XDSREGISTRY_ENDPOINT_NAME" value="XDSRegistry_HTTPS_Endpoint" />-->
    <!-- HTTP -->
    <!-- changes for PnR - register document set async -->
    <add key="IsAsync" value="false"/>
  </appSettings>
  <!-- This is the custom provider section which gets loaded into the QualityData.MyProviderSection Class -->
  <storageprovider defaultProvider="SQLStorageProvider">
    <!-- Change this to swap providers -->
    <providers>
      <clear />
      <!-- Here are one or more providers, each defined by its type "Class Name, DLL Name" 
         and each with settings.  Within the class, MyProviderSection, these get loaded into
         and are accessed by "Providers" property -->
      <add name="SQLStorageProvider" type="Microsoft.IHE.XDS.DocumentRepository.StorageProvider.SQLServerStorageProvider,Microsoft.IHE.XDS.DocumentRepository.StorageProvider" />
    </providers>
  </storageprovider>
  <system.serviceModel>
    <diagnostics>
      <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxSizeOfMessageToLog="50000000" />
    </diagnostics>
    <services>
      <service behaviorConfiguration="XDSRepository_ServiceBehavior"
        name="Microsoft.IHE.XDS.DocumentRepository.DocumentRepositoryService">
        <!--Open it after TLS <endpoint address="https://localhost:9081/XdsService/XDSRepository"
          binding="wsHttpBinding" bindingConfiguration="XDSRepository_HTTPS"
          name="XDSRepository_HTTPS_Endpoint" contract="Microsoft.IHE.XDS.DocumentRepository.IDocumentRepository" />-->
        <endpoint address="http://localhost:6025/XdsService/XDSRepository"
          binding="wsHttpBinding" bindingConfiguration="XDSRepository_HTTP"
          name="XDSRepository_HTTP_Endpoint" contract="Microsoft.IHE.XDS.DocumentRepository.IDocumentRepository" />
        <!--Open it after TLS <endpoint address="http://localhost/XdsService/XDSRepository"
          binding="mexHttpBinding" name="XDSRepository_Metadata_Endpoint"
          contract="IMetadataExchange" />-->
        <host>
          <baseAddresses>
            <!--Open it after TLS <add baseAddress="https://localhost:9081/XdsService/XDSRepository" />-->
            <add baseAddress="http://localhost:6025/XdsService/XDSRepository" />
          </baseAddresses>
        </host>
      </service>
    </services>
    <bindings>
      <wsHttpBinding>
        <!--Open it after TLS  <binding name="XDSRepository_HTTPS" closeTimeout="00:10:00" openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Mtom" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
          <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false" />
          <security mode="Transport">
            <transport clientCredentialType="Certificate" proxyCredentialType="None" />
            <message clientCredentialType="None" establishSecurityContext="false" negotiateServiceCredential="false" />
          </security>
        </binding>-->
        <!-- HTTP ONLY -->
        <binding name="XDSRepository_HTTP" closeTimeout="00:10:00" openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Mtom" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
          <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false" />
          <security mode="None">
            <transport clientCredentialType="None" proxyCredentialType="None" />
            <message clientCredentialType="None" establishSecurityContext="false" negotiateServiceCredential="false" />
          </security>
        </binding>
        <!-- HTTP ONLY -->
        <!--Open it after TLS   <binding name="XDSRegistry_HTTPS_Endpoint" closeTimeout="00:10:00" openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
          <readerQuotas maxDepth="32" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="4096" maxNameTableCharCount="2147483647" />
          <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false" />
          <security mode="Transport">
            <transport clientCredentialType="Certificate" proxyCredentialType="None" realm="" />
            <message clientCredentialType="Windows" negotiateServiceCredential="true" establishSecurityContext="true" />
          </security>
        </binding>-->
        <binding name="XDSRegistry_HTTP_Endpoint" closeTimeout="00:10:00" openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
          <readerQuotas maxDepth="32" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="4096" maxNameTableCharCount="2147483647" />
          <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false" />
          <security mode="None">
            <transport clientCredentialType="Windows" proxyCredentialType="None" realm="" />
            <message clientCredentialType="Windows" negotiateServiceCredential="true" establishSecurityContext="true" />
          </security>
        </binding>
      </wsHttpBinding>
    </bindings>
    <client>
      <!--<endpoint address="https://icw2:8443/ehealth/webservices/xdsb-registerdocuments" binding="wsHttpBinding" bindingConfiguration="XDSRegistry_HTTPS_Endpoint" contract="Microsoft.IHE.XDS.DocumentRepository.XDSRegistry.XDSRegistry" name="XDSRegistry_HTTPS_Endpoint" behaviorConfiguration="XDSRegistry_HTTPS_EndPointBehaviour" />-->
      <!--Open it after TLS  <endpoint address="https://localhost:9080/xdsservice/xdsregistry" binding="wsHttpBinding" bindingConfiguration="XDSRegistry_HTTPS_Endpoint" contract="Microsoft.IHE.XDS.DocumentRepository.XDSRegistry.XDSRegistry" name="XDSRegistry_HTTPS_Endpoint" behaviorConfiguration="XDSRegistry_HTTPS_EndPointBehaviour" />-->
      <!--<endpoint address="http://localhost:8731/XDSAsyncService/Microsoft.IHE.XDS.AsyncApp.Registry/XDSRegistryAsync/"
				 binding="wsHttpBinding" bindingConfiguration="XDSRegistry_HTTP_Endpoint"
				 contract="Microsoft.IHE.XDS.DocumentRepository.XDSRegistry.XDSRegistry"
				 name="XDSRegistry_HTTP_Endpoint" />-->
      <!--<endpoint address="http://emc-ihe1:9092/mosaix-iti42"
				 binding="wsHttpBinding" bindingConfiguration="XDSRegistry_HTTP_Endpoint"
				 contract="Microsoft.IHE.XDS.DocumentRepository.XDSRegistry.XDSRegistry"
				 name="XDSRegistry_HTTP_Endpoint" />-->
      <!--<endpoint address="http://misys3:8010/axis2/services/xdsregistryb" binding="wsHttpBinding" bindingConfiguration="XDSRegistry_HTTP_Endpoint" contract="Microsoft.IHE.XDS.DocumentRepository.XDSRegistry.XDSRegistry" name="XDSRegistry_HTTP_Endpoint" />-->
      <endpoint address="http://localhost:6025/xdsservice/xdsregistry" binding="wsHttpBinding" bindingConfiguration="XDSRegistry_HTTP_Endpoint" contract="Microsoft.IHE.XDS.DocumentRepository.XDSRegistry.XDSRegistry" name="XDSRegistry_HTTP_Endpoint" />
    </client>
    <behaviors>
      <serviceBehaviors>
        <behavior name="XDSRepository_ServiceBehavior">
          <serviceDebug includeExceptionDetailInFaults="true" />
          <!-- if TLS,do httpsGetEnabled="true"-->
          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="false" />
          <!-- HTTP ONLY -->
          <!--<serviceMetadata httpGetEnabled="true" />-->
          <!-- HTTP ONLY -->
          <!--Open it after TLS  <serviceCredentials>
               <serviceCertificate findValue="99e0fb6df06d82f2a802a9e5a1ca34c8e443f4fa" storeLocation="LocalMachine" storeName="Root" x509FindType="FindByThumbprint"/>
          </serviceCredentials>-->
        </behavior>
      </serviceBehaviors>
      <!--Open it after TLS <endpointBehaviors>
        <behavior name="XDSRegistry_HTTPS_EndPointBehaviour">
          <clientCredentials>
              <clientCertificate findValue ="f05be3965ae2ef0c7b296a8410b120fef39442a1" storeLocation="LocalMachine" storeName="My" x509FindType="FindByThumbprint"/>
          </clientCredentials>
        </behavior>
      </endpointBehaviors>-->
    </behaviors>
  </system.serviceModel>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"></supportedRuntime>
  </startup>
</configuration>

Apr 9, 2012 at 6:44 AM

//xdsregistry

<?xml version=
"1.0"?>
<configuration>
	<configSections>
		<section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
	</configSections>
	<system.diagnostics>
		<sources>
			<source name="System.ServiceModel.MessageLogging" switchValue="Verbose,ActivityTracing">
				<listeners>
					<add type="System.Diagnostics.DefaultTraceListener" name="Default">
						<filter type=""/>
					</add>
					<add name="TraceListener">
						<filter type=""/>
					</add>
				</listeners>
			</source>
		</sources>
		<sharedListeners>
			<add initializeData="D:\Log\App_tracelog_Reg.svclog" type="System.Diagnostics.XmlWriterTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="TraceListener">
				<filter type=""/>
			</add>
		</sharedListeners>
	</system.diagnostics>
	<connectionStrings>
		<!--<add name="XDSRegistry" connectionString="Initial Catalog=XDSRegistryDB;Data Source=ilink\sql2005;uid=admin;pwd=Enter321;"
           providerName="System.Data.SqlClient" />-->
		<add name="XDSRegistry" connectionString="Initial Catalog=XDSRegistryDB;Data Source=.\SQLEXPRESS;Integrated Security=SSPI;Enlist=false;" providerName="System.Data.SqlClient"/>
		<add name="ATNA" connectionString="Initial Catalog=XDSRegistryDB;Data Source=.\SQLEXPRESS;Integrated Security=SSPI;Enlist=false;" providerName="System.Data.SqlClient"/>
		<add name="CONSTRING" connectionString="Initial Catalog=XDS_REQUEST;Data Source=.\SQLEXPRESS;Integrated Security=SSPI;Enlist=false;" providerName="System.Data.SqlClient"/>
    <!--<add name="ConnectionString" connectionString="Initial Catalog=XDS_Request;Data Source=ilink\sql2008;uid=sa;pwd=Enter321;" providerName="System.Data.SqlClient"/>-->
	</connectionStrings>
	<appSettings>
		<add key="SYSLOG_SERVER" value="misys1"/>
  	<add key="SYSLOG_PORT" value="2863"/>
   	<add key="XDSREGISTRY_SERVICE_ADDRESS" value="http://localhost:6025/xdsservice/xdsregistry"/>
		<add key="PATIENT_ROOT_EXTENSION_SEPARATOR" value="{0}^^^&amp;{1}&amp;ISO"/>
	</appSettings>
	<system.serviceModel>
		<diagnostics>
			<messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxSizeOfMessageToLog="50000000"/>
		</diagnostics>
		<services>
			<service name="Microsoft.IHE.XDS.DocumentRegistry.DocumentRegistryService" behaviorConfiguration="XDSRegistry_ServiceBehavior">
				<host>
					<baseAddresses>
						<!-- HTTPS/TLS -->
            <!--Open it after TLS	<add baseAddress="https://localhost:9080/xdsservice/xdsregistry"/>-->
						<!-- HTTPS/TLS -->
						<!-- HTTP ONLY -->
						<add baseAddress="http://localhost:6025/xdsservice/xdsregistry"/>
						<!-- HTTP ONLY -->
					</baseAddresses>
				</host>

        <!--Open it after TLS<endpoint name="XDSRegistry_HTTPS_Endpoint" contract="Microsoft.IHE.XDS.DocumentRegistry.IDocumentRegistry" address="https://localhost:9080/xdsservice/xdsregistry" binding="wsHttpBinding" bindingConfiguration="XDSRegistry_HTTPS"/>-->
				<!-- HTTP ONLY -->
				<endpoint name="XDSRegistry_HTTP_Endpoint" contract="Microsoft.IHE.XDS.DocumentRegistry.IDocumentRegistry" address="http://localhost:6025/xdsservice/xdsregistry" binding="wsHttpBinding" bindingConfiguration="XDSRegistry_HTTP"/>
				<!-- HTTP ONLY -->
        <!--Open it after TLS<endpoint name="XDSRegistry_Metadata_Endpoint" address="http://localhost/xdsservice/xdsregistry" binding="mexHttpBinding" contract="IMetadataExchange"/>-->
			</service>
		</services>
		<bindings>
			<wsHttpBinding>
        <!--Open it after TLS<binding name="XDSRegistry_HTTPS" closeTimeout="00:10:00" openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
					<readerQuotas maxDepth="32" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="4096" maxNameTableCharCount="2147483647"/>
					<reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false"/>
					<security mode="Transport">
						<transport clientCredentialType="Certificate" proxyCredentialType="None"/>
						<message clientCredentialType="None" establishSecurityContext="false" negotiateServiceCredential="false"/>
					</security>
				</binding>-->
				<!-- HTTP ONLY -->
				<binding name="XDSRegistry_HTTP" closeTimeout="00:10:00" openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
					<readerQuotas maxDepth="32" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="4096" maxNameTableCharCount="2147483647"/>
					<reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false"/>
					<security mode="None">
						<transport clientCredentialType="None" proxyCredentialType="None"/>
						<message clientCredentialType="None" establishSecurityContext="false" negotiateServiceCredential="false"/>
					</security>
				</binding>
				<!-- HTTP ONLY -->
			</wsHttpBinding>
		</bindings>
		<behaviors>
			<serviceBehaviors>
				<behavior name="XDSRegistry_ServiceBehavior">
					<serviceDebug includeExceptionDetailInFaults="true"/>
					<!--ilink-->
					<!--<serviceMetadata httpGetEnabled="true" />-->
					<!-- HTTP ONLY -->
          <!-- if TLS ,do httpsGetEnabled="true"-->
					<serviceMetadata httpGetEnabled="true" httpsGetEnabled="false"/>
					<!-- HTTP ONLY -->
				<!--Open it after TLS	<serviceCredentials>-->
               <!--<serviceCertificate findValue ="2da3869ff0c8b8744c598edc5ddff88fc99ebd5a" storeLocation="LocalMachine" storeName="Root" x509FindType="FindByThumbprint"/>-->
          <!--Open it after TLS <serviceCertificate findValue ="f05be3965ae2ef0c7b296a8410b120fef39442a1" storeLocation="LocalMachine" storeName="Root" x509FindType="FindByThumbprint"/>-->
          <!--Open it after TLS	  	</serviceCredentials>-->
        </behavior>
			</serviceBehaviors>
		</behaviors>
	</system.serviceModel>
	<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"
/></startup></configuration>

Apr 9, 2012 at 6:45 AM
//testharness app.config
<?xml version="1.0"?>
<configuration>

	<appSettings>
    
    <add key="ebRIMTransformFile" value="D:\xds\Connectathon2012\Connectathon2012\source\Testing\XDSTestHarness\TransformFiles\ebRIM_21_to30_Conversion1.xslt"/>
    <!--<add key="ebRIMTransformFile" value="D:\xds\Connectathon2012\Connectathon2012\source\Testing\XDSTestHarness\TransformFiles\ebRIM_21_to30_Conversion1"/>-->
         <add key="REPOSITORY_ENDPOINT_NAME" value="XDSRepository_HTTP_Endpoint"/>
		<add key="REGISTRY_ENDPOINT_NAME" value="XDSRegistry_HTTP_Endpoint"/>
	</appSettings>
	<system.web>
		<webServices>
			<protocols>
				<add name="HttpGet"/>
				<add name="HttpPost"/>
			</protocols>
		</webServices>
	</system.web>
	<system.serviceModel>
		<diagnostics>
			<messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true"/>
		</diagnostics>

		<bindings>
			<wsHttpBinding>
				<binding name="WSHttpBinding_XDSRegistry" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
					<readerQuotas maxDepth="32" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="4096" maxNameTableCharCount="2147483647"/>
					<reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false"/>
					<security mode="None">
						<transport clientCredentialType="Windows" proxyCredentialType="None" realm=""/>
						<message clientCredentialType="Windows" negotiateServiceCredential="true" establishSecurityContext="true"/>
					</security>
				</binding>
        <!--Open it after TLS	<binding name="XDSRegistry_HTTPS_Endpoint" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
					<readerQuotas maxDepth="32" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="4096" maxNameTableCharCount="2147483647"/>
					<reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false"/>
					<security mode="Transport">
						<transport clientCredentialType="Certificate" proxyCredentialType="None" realm=""/>
						<message clientCredentialType="Windows" negotiateServiceCredential="true" establishSecurityContext="true"/>
					</security>
				</binding>-->
				<binding name="XDSRegistry_HTTP_Endpoint" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
					<readerQuotas maxDepth="32" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="4096" maxNameTableCharCount="2147483647"/>
					<reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false"/>
					<security mode="None">
						<transport clientCredentialType="Windows" proxyCredentialType="None" realm=""/>
						<message clientCredentialType="Windows" negotiateServiceCredential="true" establishSecurityContext="true"/>
					</security>
				</binding>
        <!--Open it after TLS	<binding name="XDSRepository_HTTPS_Endpoint" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Mtom" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
					<readerQuotas maxDepth="32" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="4096" maxNameTableCharCount="2147483647"/>
					<reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false"/>
					<security mode="Transport">
						<transport clientCredentialType="Certificate" proxyCredentialType="None" realm=""/>
						<message clientCredentialType="Windows" negotiateServiceCredential="true" establishSecurityContext="true"/>
					</security>
				</binding>-->
				<binding name="XDSRepository_HTTP_Endpoint" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Mtom" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
					<readerQuotas maxDepth="32" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="4096" maxNameTableCharCount="2147483647"/>
					<reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false"/>
					<security mode="None">
						<transport clientCredentialType="Windows" proxyCredentialType="None" realm=""/>
						<message clientCredentialType="Windows" negotiateServiceCredential="true" establishSecurityContext="true"/>
					</security>
				</binding>
			</wsHttpBinding>
		</bindings>


		<client>
      
			<!--<endpoint address="https://localhost:9080/XdsService/XDSRegistry" binding="wsHttpBinding" bindingConfiguration="XDSRegistry_HTTPS_Endpoint" contract="Microsoft.XDS.Test.XDSRegistry.XDSRegistry" name="XDSRegistry_HTTPS_Endpoint" behaviorConfiguration="clientBehaviour"/>-->
      
			<!--<endpoint address="http://localhost:6025/xdsservice/xdsregistry"
			 binding="wsHttpBinding" bindingConfiguration="XDSRegistry_HTTP_Endpoint"
			 contract="Microsoft.XDS.Test.XDSRegistry.XDSRegistry" name="XDSRegistry_HTTP_Endpoint" />-->

      <endpoint address="http://localhost:6025/xdsservice/xdsregistry" binding="wsHttpBinding" bindingConfiguration="XDSRegistry_HTTP_Endpoint" contract="Microsoft.XDS.Test.XDSRegistry.XDSRegistry" name="XDSRegistry_HTTP_Endpoint"/>
            
			<!--<endpoint address="https://localhost:9081/XdsService/XDSRepository" binding="wsHttpBinding" bindingConfiguration="XDSRepository_HTTPS_Endpoint" contract="Microsoft.XDS.Test.XDSRepository.XDSRepository" name="XDSRepository_HTTPS_Endpoint" behaviorConfiguration="clientBehaviour"/>-->
      
			<!--<endpoint address="http://localhost:6025/XdsService/XDSRepository"
			 binding="wsHttpBinding" bindingConfiguration="XDSRepository_HTTP_Endpoint"
			 contract="Microsoft.XDS.Test.XDSRepository.XDSRepository" name="XDSRepository_HTTP_Endpoint" />-->

      <endpoint address="http://localhost:6025/XdsService/XDSRepository" binding="wsHttpBinding" bindingConfiguration="XDSRepository_HTTP_Endpoint" contract="Microsoft.XDS.Test.XDSRepository.XDSRepository" name="XDSRepository_HTTP_Endpoint"/>
      
      
		</client>

		<behaviors>
			<endpointBehaviors>
				<behavior name="clientBehaviour">
					<clientCredentials>

					
            <clientCertificate findValue="8c8bc95ec118ec6fbf4d0ec46f13f22e4da619cd" storeLocation="LocalMachine" storeName="My" x509FindType="FindByThumbprint"/>


          </clientCredentials>
				</behavior>
			</endpointBehaviors>
		</behaviors>

	</system.serviceModel>	
	
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>