FIX: ?????? ?? ????? WSDL WCF ???? ??? ??? ??????? ?????? ????? ???????? ?????? ????? ?? ????? ??????? ??? ?? ????? ??.NET Framework 3.0 ?? Windows Server 2003 ? Windows XP? ????? ??????? Windows Vista ? Windows Server 2008

?????? ????????? ?????? ?????????
???? ???????: 971842 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

???????

??? ??????? ???? ????? ?????? ???????? ?????? ????? Windows (WCF) ?? ????? ????????? ?????? ??????? ?? ?????? Microsoft.NET Framework 3.0 ?? Windows Server 2003 ? Windows XP? ????? ??????? Windows Vista ? Windows Server 2008? ????? ?????? ?? ???? ?? ???????? ???????:

??????? ??????

???? ??? ????????? ??????:
  • ??? ?????? SDK Azure Windows ? Windows ????? Azure ??????? Microsoft Visual Studio.
  • ????? ????? "??? ????? ??????" ?????? ???? ?????? ???????? ?????? ????? Windows (WCF) ??? ???????.
  • ??????? ?? ???? ??????? ???????.
  • ??????? ??? ????? ??? ????? ????? ??? (WSDL) ?? WCF ??????.
?? ??? ?????????? ????? ???? ?????? ?? ????? WSDL ??? ????? ?????? ??? ???? ??? ??????? ?????? (http://127.0.0.1:5001/Service.svc?wsdl). ??? ???? ????? ?????? ?? ????? WSDL ??????? ??? ????? ??????? (http://127.0.0.1:81/Service.svc?wsdl). ???????? ??? ???? ??? ?????? ????? ???? ??? ??????? ????? ?????? ??? ??????? ???? ???????? ??????.

??????? 2

???? ??? ????????? ??????:
  • ??????? ???? WCF ??? ???? ??? ????? ?????.
  • ????? ??????? ?????? "????? ???? ????" ? ??svcutil.exe???? ??? ??????? ?????? ?????? ??????? ?? ??????.
?? ??? ?????????? ??? ?????? ????? ???? ?? ?????? ???????? ??????? ???? ???? ????? ??? ?????? ????? ?????? ??? ?????? ???? ??? ??????? ????.

?????

???? ???????? ??????? ?? ??? "?????? ?????" ???? ?????? ??? ????? ??????? ???????. ??? ???? ????? ?????? ???? ??? ??????? ??? ????? ??????? ??? ????? ??????.

????

??????? ??????? ??????

????? ????? ???? ????? ?? Microsoft. ???? ????? ??? ?? ?? ??????? ??????? ?? ??? ??????? ???. ?? ?????? ??? ??????? ?????? ??? ??? ??????? ???? ????? ??? ??????? ????????. ?? ??? ????? ???????? ?????? ??? ??? ??????? ??????. ?????? ??? ?? ??? ????? ??? ??????? ?????? ???? ????????? ??? ????? ??????? ?????? ???? ????? ??? ??? ??????? ??????.

?????? ??? ??????? ?????? ?? ???? ??? MSDN? ?? ?????? ???? Microsoft ?????? ??? ?????:
http://code.msdn.microsoft.com/KB971842

?????????? ?????? ??? MSDN ?????? ???? ????? ????? ????. ??? ?? ????? ????? ?????? ?? ??????? ??? ?????? ?????? "???? ????????? ????????" ??? ????? ???? ?????.

???????? ???? ???? ?????? ?????? ?? ?? ???? ??????? ????? ?? ???? ??? ???? ????? ??? ???? ?????. ???? ????? ?????? ????? ???????? ??? ????? ????? ???????? ????????? ???? ?? ???? ??? ???? ??? ??????? ?????? ????????. ?????? ??? ????? ????? ????? ???? ??????? ? Microsoft ?????? ?? ?????? ??? ???? ?????? ?? ?????? ???? Microsoft ?????? ??? ?????:
http://support.microsoft.com/contactus/?ws=support

????????? ???????

o ????? ??? ??????? ??????? ??? ?? ???? ???? ??.NET Framework 3.5 Service Pack 1 (SP1) ?? ??.NET Framework 3.0 Service Pack 2 (SP2) ?????? ??? ??? ????? ??????? ???????:
  • ???? ??????? Windows XP
  • Windows Server 2003
  • ???? ?????? SP2 ????? ??????? Vista Windows
  • Windows Server 2008 ???? ?????? SP2

???????????? Windows 7 ?? R2 2008 Server ???? ?? ??? ??????? ??????? ???? ??? ??? ??????? ?????? ???? ??????? ?? ????? ????? Microsoft:
981002????? ?????? ??????? ??? ??????? ???? Windows ?????? ???????? ???????? ????? ??.NET Framework 3.5 ???? ?????? SP1 ? Windows 7 ? Windows Server 2008 R2

?? ?????? ????? ???????

?? ???? ????? ????? ????? ???? ????????? ??? ????? ??? ??????? ??????.

??????? ??????? ??????? ??????

?? ??? ??? ??????? ?????? ??? ??? ??????? ????? ????.

??????? ?????

????? ????? ????? ?????????? ?? ??? ??????? ?????? ???? ????? (?? ???? ??????? ??????) ???????? ?? ?????? ??????. ??? ??? ???????? ???????? ?????? ???? ??????? ???????? ??????? ?????? ???? (UTC). ????? ???? ???? ??????? ?????? ??? ??????? ??? ??????? ??????. ?????? ????? ??? ??????? ??????? ?????? ???? ???????? ??????? ????????????? ???????????? ????? ????????? ?????????? ?? ???? ???? ????.
??????? ???????? ??? x86 ????? ?????? SP2 ????? ??????? Vista Windows ? Windows Server 2008 ???? ?????? SP2
?? ??? ??????????? ??? ??????
??? ?????????? ???????? ??????????????????????? ???????
Servicemonikersupport.dll3.0.4506.414317,24008 ????? 200912: 26??????? x86
System.runtime.serialization.dll3.0.4506.4143970,75208 ????? 200912: 26??????? x86
System.servicemodel.dll3.0.4506.41435,939,20008 ????? 200912: 26??????? x86

??????? ???????? ??? x64 ?? Windows Vista SP2 ? Windows Server 2008 ???? ?????? SP2
?? ??? ??????????? ??? ??????
??? ?????????? ???????? ??????????????????????? ???????
Servicemonikersupport.dll3.0.4506.414319,28808 ????? 200912: 26x 64
System.runtime.serialization.dll3.0.4506.4143847,87208 ????? 200912:26x 64
System.servicemodel.dll3.0.4506.41435,275,64808-Jul-200912:26x 64

Itanium-based version of Windows Server 2008 SP2
?? ??? ??????????? ??? ??????
??? ?????????? ???????? ??????????????????????? ???????
Servicemonikersupport.dll3.0.4506.414333,64008-Jul-200912:27?????-64
System.runtime.serialization.dll3.0.4506.4143847,87208-Jul-200912:26?????-64
System.servicemodel.dll3.0.4506.41435,275,64808-Jul-200912:26?????-64

?????

???? Microsoft ?? ??? ??????? ???? ?? ?????? Microsoft ??????? ?? ??? "????? ???".

??????? ????

To enable the hotfix after you installed it, you have to configure the WCF service to use the following service behavior:
<serviceBehaviors>
   <behavior name="<name>">
     <useRequestHeadersForMetadataAddress>
       <defaultPorts>
          <add scheme="http" port="81" />
          <add scheme="https" port="444" />
        </defaultPorts>
      </useRequestHeadersForMetadataAddress>
   </behavior>
</serviceBehaviors>

??????<name></name>is a placeholder that you should replace with the behavior name in your WCF service.

The hotfix causes WCF to generate the correct URI by using the "Host" HTTP header of the incoming metadata request. In this case, the "Host" header contains the load balancer address instead of the internal node address.

If a URI inside the WSDL document has a different scheme than the scheme of the "Host" header URI, for example, if a request for metadata comes over HTTPS but the metadata contains HTTP URIs, the hotfix will need the port number for that different scheme. The port number can be specified per scheme in the <defaultports> section.</defaultports>

???????

???? ???????: 971842 - ????? ??? ??????: 25/?? ?????/1431 - ??????: 3.0
????? ???
  • Microsoft .NET Framework 3.0
  • Microsoft .NET Framework 3.0 Service Pack 1
  • Microsoft .NET Framework 3.0 Service Pack 2
????? ??????: 
kbexpertiseadvanced kbsurveynew kbqfe kbmt KB971842 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????971842

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com