Skip to content

Instantly share code, notes, and snippets.

@KodeSeeker
Created March 23, 2013 03:12
Show Gist options
  • Save KodeSeeker/5226269 to your computer and use it in GitHub Desktop.
Save KodeSeeker/5226269 to your computer and use it in GitHub Desktop.
<?xml version="1.0"?>
<configuration>
<system.web>
<compilation debug="false" targetFramework="4.0">
<assemblies>
<add assembly="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/></assemblies></compilation>
</system.web>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="SunSetRiseServiceSoap"/>
</basicHttpBinding>
<customBinding>
<binding name="SunSetRiseServiceSoap12">
<textMessageEncoding messageVersion="Soap12"/>
<httpTransport/>
</binding>
</customBinding>
</bindings>
<client>
<endpoint address="http://www.webservicex.net/sunsetriseservice.asmx" binding="basicHttpBinding" bindingConfiguration="SunSetRiseServiceSoap" contract="sunSetClient.SunSetRiseServiceSoap" name="SunSetRiseServiceSoap"/>
<endpoint address="http://www.webservicex.net/sunsetriseservice.asmx" binding="customBinding" bindingConfiguration="SunSetRiseServiceSoap12" contract="sunSetClient.SunSetRiseServiceSoap" name="SunSetRiseServiceSoap12"/>
</client>
<behaviors>
<serviceBehaviors>
<behavior name="metadataAndDebugEnabled">
<serviceDebug
includeExceptionDetailInFaults="true"
/>
<serviceMetadata
httpGetEnabled="true"
httpGetUrl=""
/>
</behavior>
</serviceBehaviors>
</behaviors>
<serviceHostingEnvironment multipleSiteBindingsEnabled="true"/>
</system.serviceModel>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment