Produced by Araxis Merge on 4/26/2017 7:30:58 AM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | C:\AraxisMergeCompare\Pri_un\BTSSS_CIF_04102017\BTSSS_code_build3_Sprint11\BTSSS_1_build2_Sprint11_CRM\Integration\VIMT.Integrations\ES\VIMT.Integrations.ES.Service\WcfHeaders\Header | CustomWseSecurityHeader.cs | Mon Apr 10 20:12:00 2017 UTC |
| 2 | C:\AraxisMergeCompare\Pri_re\BTSSS_CIF_04102017\BTSSS_code_build3_Sprint11\BTSSS_1_build2_Sprint11_CRM\Integration\VIMT.Integrations\ES\VIMT.Integrations.ES.Service\WcfHeaders\Header | CustomWseSecurityHeader.cs | Tue Apr 25 13:28:28 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 160 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | using Syst em.Service Model.Chan nels; | |
| 2 | using Syst em.Xml; | |
| 3 | ||
| 4 | namespace VIMT.Integ rations.ES .Service | |
| 5 | { | |
| 6 | intern al class C ustomWseSe curityHead er : Messa geHeader | |
| 7 | { | |
| 8 | pr ivate read only strin g _UserNam e; | |
| 9 | pr ivate read only strin g _Passwor d; | |
| 10 | pr ivate read only strin g _ClientM achine; | |
| 11 | pr ivate read only strin g _StnId; | |
| 12 | pr ivate read only strin g _Applica tionId; | |
| 13 | ||
| 14 | pu blic Custo mWseSecuri tyHeader(s tring user Name, | |
| 15 | string p assword, | |
| 16 | string c lientMachi ne, | |
| 17 | string s tnId, | |
| 18 | string a pplication Id) | |
| 19 | { | |
| 20 | _UserNam e = userNa me; | |
| 21 | _Passwor d = passwo rd; | |
| 22 | _ClientM achine = c lientMachi ne; | |
| 23 | _StnId = stnId; | |
| 24 | _Applica tionId = a pplication Id; | |
| 25 | } | |
| 26 | ||
| 27 | pr otected ov erride voi d OnWriteS tartHeader (XmlDictio naryWriter writer, M essageVers ion messag eVersion) | |
| 28 | { | |
| 29 | writer.W riteStartE lement(Pre fix, Name, Namespace ); | |
| 30 | ||
| 31 | WriteHea derAttribu tes(writer , messageV ersion); | |
| 32 | } | |
| 33 | ||
| 34 | pr otected ov erride voi d OnWriteH eaderConte nts(XmlDic tionaryWri ter writer , | |
| 35 | MessageV ersion mes sageVersio n) | |
| 36 | { | |
| 37 | writer.W riteStartE lement(Pre fix, "User nameToken" , Namespac e); | |
| 38 | writer.W riteElemen tString(Pr efix, "Use rname", Na mespace, _ UserName); | |
| 39 | writer.W riteElemen tString(Pr efix, "Pas sword", Na mespace, _ Password); | |
| 40 | ||
| 41 | writer.W riteEndEle ment(); | |
| 42 | ||
| 43 | writer.W riteStartE lement(VaP refix, "Va ServiceHea ders", VaN amespace); | |
| 44 | writer.W riteElemen tString(Va Prefix, "C LIENT_MACH INE", VaNa mespace, _ ClientMach ine); | |
| 45 | writer.W riteElemen tString(Va Prefix, "S TN_ID", Va Namespace, _StnId); | |
| 46 | writer.W riteElemen tString(Va Prefix, "a pplication Name", VaN amespace, _Applicati onId); | |
| 47 | ||
| 48 | writer.W riteEndEle ment(); | |
| 49 | } | |
| 50 | ||
| 51 | pu blic strin g Prefix | |
| 52 | { | |
| 53 | get { re turn "wsse "; } | |
| 54 | } | |
| 55 | ||
| 56 | pu blic strin g VaPrefix | |
| 57 | { | |
| 58 | get { re turn "vaws "; } | |
| 59 | } | |
| 60 | ||
| 61 | pu blic overr ide string Name | |
| 62 | { | |
| 63 | get { re turn "Secu rity"; } | |
| 64 | } | |
| 65 | ||
| 66 | pu blic overr ide string Namespace | |
| 67 | { | |
| 68 | get { re turn "http ://docs.oa sis-open.o rg/wss/200 4/01/oasis -200401-ws s-wssecuri ty-secext- 1.0.xsd"; } | |
| 69 | } | |
| 70 | ||
| 71 | pu blic strin g VaNamesp ace | |
| 72 | { | |
| 73 | get { retu rn "http:/ /vbawebser vices.vba. DNS /vawss"; } | |
| 74 | } | |
| 75 | ||
| 76 | pu blic overr ide bool M ustUnderst and | |
| 77 | { | |
| 78 | get { re turn false ; } | |
| 79 | } | |
| 80 | } | |
| 81 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.