PHP with wsHttpBinding with TransportWithMessageCredential using UserName Message Security
Hi, We have developed a .NET WCF web service that uses wsHttpBinding with TransportWithMessageCredential using UserName Message Security. It uses SSL to secure the transport and username security for the messages.
Should I be able to connect to this from PHP? If not, which sections of this security configuration are not yet supported in PHP?
The config below is for my .NET test client's wsHttpBinding (the important section being security)
<wsHttpBinding>
<binding name="WSHttpBinding_IManagementService" closeTimeout="00:10:00"
openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00"
bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
maxBufferPoolSize="5242880" maxReceivedMessageSize="655360"
messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
allowCookies="false">
<readerQuotas maxDepth="32" maxStringContentLength="81920" maxArrayLength="163840"
maxBytesPerRead="40960" maxNameTableCharCount="163840" />
<reliableSession ordered="true" inactivityTimeout="00:10:00"
enabled="false" />
<security mode="TransportWithMessageCredential">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="" />
<message clientCredentialType="UserName" negotiateServiceCredential="true"
algorithmSuite="Default" establishSecurityContext="true" />
</security>
</binding>
</wsHttpBinding>
Any help in consuming this web service in PHP is grately received,
Regards
- Login or register to post comments
- Printer friendly version
- 188 reads











Re: PHP with wsHttpBinding with TransportWithMessageCredential
WSF/PHP has UserName message security. So you should be able to consume you service using wsf/php. You can use the wsdl2php script that comes with WSF/PHP to code generate the client using the wsdl from your service. s
Regards
Nandika