I am trying to configure an SAP web service that will be consumed by a .NET application. Thinking that it was easy, I installed the Service in SAP to use HTTP. I right-click on “Service Links” in the .NET Project Tree and select “Add Service Link ...”, enter the WSDL URL locally hosted on our servers and click “Go”, then select the endpoint , then click OK.
I opened the app.config file to find what it says <httpsTransport>instead <httpTransport>, although I configured it to use HTTP.
<system.serviceModel>
<bindings>
<customBinding>
<binding name="ZHR_RECRUITNEW1">
<textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16"
messageVersion="Soap11" writeEncoding="utf-8">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
</textMessageEncoding>
<httpsTransport manualAddressing="false" maxBufferPoolSize="524288"
maxReceivedMessageSize="65536" allowCookies="false" authenticationScheme="Anonymous"
bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
keepAliveEnabled="true" maxBufferSize="65536" proxyAuthenticationScheme="Anonymous"
realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false"
useDefaultWebProxy="true" requireClientCertificate="false" />
</binding>
</customBinding>
</bindings>
<client>
<endpoint address="http://<host>:8000/sap/bc/srt/rfc/sap/zhr_recruitnew/300/zhr_recruitnew/zhr_recruitnew"
binding="customBinding" bindingConfiguration="ZHR_RECRUITNEW1"
contract="ServiceReference2.ZHR_RECRUITNEW" name="ZHR_RECRUITNEW1" />
</client>
</system.serviceModel>
, "", xml httpsTransport httpTransport requireClientCertificate = "false"
, SAP, HTTPS, .NET , :
Could not establish trust relationship for the SSL/TLS secure channel with authority '<host>:<portnumber>'.
, "WsdlImporter " - , SAP
user270529