Wcf SOAP使用BizTalk为IIS创建web服务器

Wcf SOAP使用BizTalk为IIS创建web服务器,wcf,soap,wsdl,biztalk,Wcf,Soap,Wsdl,Biztalk,我必须使用BizTalk配置SOAP web服务 它的工作原理 1.客户端已登录/通过进入https://soap.mjr.ru/soap.svc 2.客户端发送请求,如 401是一个安全问题。IIS web服务上启用了什么安全性?您在SOAPUI中有哪些安全设置?安全仅允许windows Authoriasion。这正是我所需要的—因为客户端在Windows Login中发送SOAP消息您的绑定显示的是clientCredentialType=基本身份验证,而不是Windows。此外,您还没有

我必须使用BizTalk配置SOAP web服务

它的工作原理 1.客户端已登录/通过进入https://soap.mjr.ru/soap.svc 2.客户端发送请求,如


401是一个安全问题。IIS web服务上启用了什么安全性?您在SOAPUI中有哪些安全设置?安全仅允许windows Authoriasion。这正是我所需要的—因为客户端在Windows Login中发送SOAP消息您的绑定显示的是clientCredentialType=基本身份验证,而不是Windows。此外,您还没有回答SOAPUI是如何配置凭据的。这两个必须匹配,否则它们将不起作用
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:doc="https://docflow.mjr.ru.Request">
   <soapenv:Header/>
   <soapenv:Body>
      <doc:Request>
         <MessageIdentifier>1231</MessageIdentifier>
         <MessageType>3B18</MessageType>
         <MessagePriority>1</MessagePriority>
         <XmlRequest>kuehgiuehriveiveibveifbveifbviebfvieb</XmlRequest>
         <Sender>123456789</Sender>
         <Receiver>123456789</Receiver>
      </doc:Request>
   </soapenv:Body>
</soapenv:Envelope>
<?xml version="1.0" encoding="utf-8"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

  <configSections>
    <section name="bizTalkSettings" type="Microsoft.BizTalk.Adapter.Wcf.Runtime.BizTalkConfigurationSection, 

Microsoft.BizTalk.Adapter.Wcf.Runtime, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
  </configSections>

  <bizTalkSettings>
    <mexServiceHostFactory debug="false">
      <receiveLocationMappings>
      </receiveLocationMappings>
    </mexServiceHostFactory>
    <webServiceHostFactory debug="false" />
    <isolatedReceiver disable="false" />
    <btsWsdlExporter disable="false" />
  </bizTalkSettings>

  <appSettings />

  <connectionStrings />

  <system.web>
    <customErrors mode="Off" />
    <compilation defaultLanguage="c#" debug="false">

      <assemblies>
        <add assembly="mscorlib, version=2.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089" />
        <add assembly="Microsoft.BizTalk.Adapter.Wcf.Common, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
        <add assembly="Microsoft.BizTalk.Adapter.Wcf.Runtime, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
      </assemblies>

    </compilation>

    <authentication mode="Windows" />
        <identity impersonate="false" />
  </system.web>

  <system.serviceModel>

    <extensions><behaviorExtensions><add name="btsWsdlExporter" type="Microsoft.BizTalk.Adapter.Wcf.Metadata.BtsWsdlExporterElement, 

Microsoft.BizTalk.Adapter.Wcf.Runtime, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /></behaviorExtensions></extensions>

    <bindings>
      <basicHttpBinding>
        <binding name="httpBinding">
          <security mode="TransportCredentialOnly">
            <transport clientCredentialType="Basic" />
          </security>
        </binding>
      </basicHttpBinding>
    </bindings>

    <diagnostics>
      <endToEndTracing activityTracing="true" messageFlowTracing="true" propagateActivity="true">
      </endToEndTracing>
    </diagnostics>

    <behaviors>
      <serviceBehaviors>
        <behavior name="ServiceBehaviorConfiguration">
          <serviceDebug httpHelpPageEnabled="true" httpsHelpPageEnabled="true" includeExceptionDetailInFaults="true" />
          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />
        </behavior>
      </serviceBehaviors>
    </behaviors>

    <services>

      <service name="Microsoft.BizTalk.Adapter.Wcf.Runtime.BizTalkServiceInstance" behaviorConfiguration="ServiceBehaviorConfiguration">
       <host>
          <baseAddresses>
            <add baseAddress="https://10.8.1.226/soap.svc" />
            <add baseAddress="https://soap.mjr.ru/soap.svc" />
          </baseAddresses>
        </host>        
        <endpoint name="HttpMexEndpoint" address="mex" binding="mexHttpBinding" bindingConfiguration="" contract="IMetadataExchange" />
      </service>

    </services>
  </system.serviceModel>
</configuration>