getNonce() – a C# routine to generate the Nonce code for WS-Security
I created this code to generate a unique Nonce code. This relates back to this post about BizTalk calling a webservice with Basic Authenticiation. Message Assignment is prior blog was updated to call C# business component: <pre> xmlDocSoapHeader.LoadXml( "<headers>" + "<wsse:Security mustUnderstand=\"1\" xmlns:wsse=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd\" xmlns:wsu=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd\">" + "<wsse:UsernameToken wsu:Id=\"UsernameToken-E4E3CB1F68472DCF2914369675811859\">" + " <wsse:Username>" + strServiceBenchUserID […]