Skip to content

Buthrakaur/WcfConfigurationSamples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

WcfConfigurationSamples

WsSecurityService

configuration for WS-Security enabled service with custom username+password validation

sample request:

<Envelope xmlns="http://www.w3.org/2003/05/soap-envelope">
	<Header>
		<wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2003/06/secext">
			<wsse:UsernameToken>
				<wsse:Username>aaa</wsse:Username>
				<wsse:Password>bbb</wsse:Password>
			</wsse:UsernameToken>
		</wsse:Security>
	</Header>
	<Body>
		<GetData xmlns="http://tempuri.org/">
			<value>123</value>
		</GetData>
	</Body>
</Envelope>

Config samples

HTTPS vs HTTP binding

        <binding name="XX">
          <!--HTTPS --> <security mode="Transport" />
          <!--HTTP--> <security mode="TransportCredentialOnly">
            <transport clientCredentialType="Basic"/>
          </security>
        </binding>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages