Home

SharePoint WCF using Https

%3CLINGO-SUB%20id%3D%22lingo-sub-987267%22%20slang%3D%22en-US%22%3ESharePoint%20WCF%20using%20Https%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-987267%22%20slang%3D%22en-US%22%3E%3CP%3Ehi%20there%2C%3C%2FP%3E%3CP%3EI%20build%20up%20a%20WCF%20installed%20in%20the%20SharePoint%20ISAPI%20and%20test%20it%20on%20my%20lab.%20it%20works%20fine.%20when%20I%20installed%20it%20on%20my%20client's%20environment%2C%20all%20configuration%20is%20the%20same%2C%20it%20show%20me%20the%20following%20message%3A%20(Is%20there%20any%20idea%20on%20it%3F%3F%20Thanks)%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F155259iFE31FE754D234989%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%223120016a-8040-47b7-aedd-da0e84b3ba9c.JPG%22%20title%3D%223120016a-8040-47b7-aedd-da0e84b3ba9c.JPG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3Emy%20web.config%3A%3A%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%23002000%22%3E%26nbsp%3B%3CSYSTEM.SERVICEMODEL%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CBEHAVIORS%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CSERVICEBEHAVIORS%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CBEHAVIOR%20name%3D%22%26quot%3BMyServiceServiceBehavior%26quot%3B%22%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CSERVICEMETADATA%20httpgetenabled%3D%22%26quot%3Btrue%26quot%3B%22%20httpsgetenabled%3D%22%26quot%3Btrue%26quot%3B%22%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSERVICEMETADATA%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CSERVICEDEBUG%20includeexceptiondetailinfaults%3D%22%26quot%3Btrue%26quot%3B%22%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSERVICEDEBUG%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FBEHAVIOR%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSERVICEBEHAVIORS%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CENDPOINTBEHAVIORS%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CBEHAVIOR%20name%3D%22%26quot%3BjsonBehaviour%26quot%3B%22%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CWEBHTTP%3E%3C%2FWEBHTTP%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FBEHAVIOR%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FENDPOINTBEHAVIORS%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FBEHAVIORS%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CBINDINGS%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CBASICHTTPBINDING%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C!--%3Cbinding%20name%3D%26quot%3BBasicHttpEndpointBinding%26quot%3B%20maxBufferSize%3D%26quot%3B2147483647%26quot%3B%20maxBufferPoolSize%3D%26quot%3B524288%26quot%3B%20maxReceivedMessageSize%3D%26quot%3B2147483647%26quot%3B%3E%3CBR%20%2F%3E%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%20%3C%2Fbinding%3E--%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CBINDING%20name%3D%22%26quot%3BsecureHttpBinding%26quot%3B%22%20maxbuffersize%3D%22%26quot%3B2147483647%26quot%3B%22%20maxbufferpoolsize%3D%22%26quot%3B524288%26quot%3B%22%20maxreceivedmessagesize%3D%22%26quot%3B2147483647%26quot%3B%22%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CSECURITY%20mode%3D%22%26quot%3BTransport%26quot%3B%22%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C!--%3Ctransport%20clientCredentialType%3D%26quot%3BNone%26quot%3B%2F%3E--%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSECURITY%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FBINDING%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FBASICHTTPBINDING%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FBINDINGS%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%3CSERVICES%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CSERVICE%20name%3D%22%26quot%3BTecturaWsListItems.v2.Service%26quot%3B%22%20behaviorconfiguration%3D%22%26quot%3BMyServiceServiceBehavior%26quot%3B%22%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C!--%3Cendpoint%20address%3D%26quot%3B%26quot%3B%20binding%3D%26quot%3BbasicHttpBinding%26quot%3B%20bindingConfiguration%3D%26quot%3BBasicHttpEndpointBinding%26quot%3B%20contract%3D%26quot%3BTecturaWsListItems.v2.IService%26quot%3B%3E%3CBR%20%2F%3E%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%20%3C%2Fendpoint%3E--%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CENDPOINT%20address%3D%22%26quot%3B%26quot%3B%26lt%3BBR%22%3E%3C%2FENDPOINT%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20binding%3D%22basicHttpBinding%22%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20bindingConfiguration%3D%22secureHttpBinding%22%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20contract%3D%22TecturaWsListItems.v2.IService%22%2F%26gt%3B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CENDPOINT%20address%3D%22%26quot%3Bmex%26quot%3B%22%20binding%3D%22%26quot%3BmexHttpBinding%26quot%3B%22%20contract%3D%22%26quot%3BIMetadataExchange%26quot%3B%22%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FENDPOINT%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSERVICE%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSERVICES%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CSERVICEHOSTINGENVIRONMENT%20aspnetcompatibilityenabled%3D%22%26quot%3Btrue%26quot%3B%22%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSERVICEHOSTINGENVIRONMENT%3E%3CBR%20%2F%3E%26nbsp%3B%20%3C%2FSYSTEM.SERVICEMODEL%3E%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-987267%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-998224%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20WCF%20using%20Https%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-998224%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F180999%22%20target%3D%22_blank%22%3E%40Will%20%23%20_________%20H%3C%2FA%3E%26nbsp%3Byou%20have%20to%20configure%20the%20service%20to%20open%20remotely.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsocial.msdn.microsoft.com%2FForums%2Fen-US%2F148d5c95-7fd2-49f4-a036-c2494d7d49b7%2Faccessing-a-wcf-service-remotely%3Fforum%3Dwcf%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsocial.msdn.microsoft.com%2FForums%2Fen-US%2F148d5c95-7fd2-49f4-a036-c2494d7d49b7%2Faccessing-a-wcf-service-remotely%3Fforum%3Dwcf%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Will # _________ H
Contributor

hi there,

I build up a WCF installed in the SharePoint ISAPI and test it on my lab. it works fine. when I installed it on my client's environment, all configuration is the same, it show me the following message: (Is there any idea on it?? Thanks)

3120016a-8040-47b7-aedd-da0e84b3ba9c.JPG

my web.config::

 <system.serviceModel>
    <behaviors>
      <serviceBehaviors>
        <behavior name="MyServiceServiceBehavior">
          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true">
          </serviceMetadata>
          <serviceDebug includeExceptionDetailInFaults="true">
          </serviceDebug>
        </behavior>
      </serviceBehaviors>
      <endpointBehaviors>
        <behavior name="jsonBehaviour">
          <webHttp />
        </behavior>
      </endpointBehaviors>
    </behaviors>
    <bindings>
      <basicHttpBinding>
        <!--<binding name="BasicHttpEndpointBinding" maxBufferSize="2147483647" maxBufferPoolSize="524288" maxReceivedMessageSize="2147483647">
        </binding>-->
        <binding name="secureHttpBinding" maxBufferSize="2147483647" maxBufferPoolSize="524288" maxReceivedMessageSize="2147483647">
          <security mode="Transport">
            <!--<transport clientCredentialType="None"/>-->
          </security>
        </binding>
      </basicHttpBinding>
    </bindings>
  <services>
      <service name="TecturaWsListItems.v2.Service" behaviorConfiguration="MyServiceServiceBehavior">
        <!--<endpoint address="" binding="basicHttpBinding" bindingConfiguration="BasicHttpEndpointBinding" contract="TecturaWsListItems.v2.IService">
        </endpoint>-->
        <endpoint address=""
                  binding="basicHttpBinding"
                  bindingConfiguration="secureHttpBinding"
                  contract="TecturaWsListItems.v2.IService"/>
        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange">
        </endpoint>
      </service>
    </services>
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true">
    </serviceHostingEnvironment>
  </system.serviceModel>

1 Reply
Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
30 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies