c# - WCF - Setting Policy for UsernameToken -
i received updated wsdl service i'm consuming has below policy added <wsp:policy wssutil:id="usernametoken"> <ns0:supportingtokens xmlns:ns0="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512"> <wsp:policy> <ns0:usernametoken ns0:includetoken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512/includetoken/alwaystorecipient"> <wsp:policy> <ns0:wssusernametoken10 /> </wsp:policy> </ns0:usernametoken> </wsp:policy> </ns0:supportingtokens> </wsp:policy> i have updated reference right clicking service reference --> configure service option inside visual studio. generated custombinding replacing previous basichttpbinding <custombinding> <binding name="mybindingname"> <!-- wsdlimporter encountered unrecognized policy assertions in servicedescription 'http://ouaf.oracle.com/webservices/c...