Use the Web Services tab of the Configure message validation rules page to control how the community handles inbound Web Services and AS4 message authentication.
Authentication is an optional part of trading via Web Services and AS4.
In the Web Services tab, select a validation rule option:
UsernameToken
element in the SOAP header of an Web Services or AS4 inbound message has a user name and password. The following is an example of a user name and password within a UsernameToken
element.
<S:Envelope xmlns:S="http://www.w3.org/2001/12/soap-envelope" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/04/secext"> <S:Header> ... <wsse:Security> <wsse:UsernameToken> <wsse:Username>Joe</wsse:Username> <wsse:Password>ILoveJava</wsse:Password> </wsse:UsernameToken> </wsse:Security> </S:Header> </S:Envelope> |
<soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"> <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1"> <wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="UsernameToken-19053538"> <wsse:Username>wsbpLaptopCom</wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">5UcyqD5Djf5BZu0ZrZSF/5RSv3k=</wsse:Password> <wsse:Nonce>XIa3LzWkrNvL41RL9JOcMg==</wsse:Nonce> <wsu:Created>2010-09-28T13:37:08.473Z</wsu:Created> </wsse:UsernameToken> </wsse:Security> |
Whether you choose to reject or accept authenticated Web Services or AS4 messages, the choice applies to all Web Services or AS4 messages received for the community, unless you define exceptions.
You can specify exceptions for the two main categories of Web Services/AS4 authentication:
To apply exceptions, locate one of the above categories on the validation rules page and:
You can add multiple partners, categories or trading pickups to the exceptions lists. Activator applies the opposite of the selected behavior to any partners, collaboration categories, or trading pickups that display in the exceptions lists.