You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
2.1 KiB
47 lines
2.1 KiB
<?xml version="1.0"?>
|
|
<configuration>
|
|
<system.serviceModel>
|
|
<services>
|
|
<!-- This section is optional with the new configuration model
|
|
introduced in .NET Framework 4. -->
|
|
<service name="Microsoft.ServiceModel.Samples.BarCodePrintService" behaviorConfiguration="BarCodePrintServiceBehavior">
|
|
<host>
|
|
<baseAddresses>
|
|
<add baseAddress="http://10.114.54.197:8000/ServiceModelSamples/service"/>
|
|
</baseAddresses>
|
|
</host>
|
|
<!-- this endpoint is exposed at the base address provided by host: http://10.114.54.90:8000/ServiceModelSamples/service -->
|
|
<endpoint address="" binding="wsHttpBinding" contract="Microsoft.ServiceModel.Samples.IBarCodePrint" bindingConfiguration="NoneSecurity"/>
|
|
<!-- the mex endpoint is exposed at http://10.114.54.90:8000/ServiceModelSamples/service/mex -->
|
|
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
|
|
</service>
|
|
</services>
|
|
<bindings>
|
|
<wsHttpBinding>
|
|
<binding name="NoneSecurity" maxBufferPoolSize="12000000" maxReceivedMessageSize="12000000" useDefaultWebProxy="false">
|
|
<readerQuotas maxStringContentLength="12000000" maxArrayLength="12000000"/>
|
|
<security mode="None"/>
|
|
</binding>
|
|
</wsHttpBinding>
|
|
</bindings>
|
|
<behaviors>
|
|
<serviceBehaviors>
|
|
<behavior name="BarCodePrintServiceBehavior">
|
|
<serviceMetadata httpGetEnabled="true"/>
|
|
<serviceDebug includeExceptionDetailInFaults="False"/>
|
|
</behavior>
|
|
</serviceBehaviors>
|
|
</behaviors>
|
|
</system.serviceModel>
|
|
<appSettings>
|
|
<add key="LOGFILEPATH" value="C:\logfile\"/>
|
|
<add key="AppName" value="D:\PrintTest\PrintApplication\WindowsFormsApplication4.exe"/>
|
|
<add key="proPath" value="C:\Program Files\lmw32\Lmwprint.exe"/>
|
|
<add key="BPtemPath" value="D:\AutoPrintService\CodeTemplate\tangsu.qdf"/>
|
|
<add key="BPdataPath" value="D:\AutoPrintService\CodeTemplate\tangsu.txt"/>
|
|
<add key="BPchar" value="*"/>
|
|
</appSettings>
|
|
<startup>
|
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
|
|
</startup>
|
|
</configuration>
|