Produced by Araxis Merge on 12/4/2017 8:32:30 AM Central Standard 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 | VCCM.zip\VCCM\CRM_solutions\FTPResources\source\WebResources\ftp_\ServiceConnectedDisabilitiesGrid | TestSOAP.html | Thu Nov 30 12:26:32 2017 UTC |
| 2 | VCCM.zip\VCCM\CRM_solutions\FTPResources\source\WebResources\ftp_\ServiceConnectedDisabilitiesGrid | TestSOAP.html | Thu Nov 30 18:32:55 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 4 | 148 |
| Changed | 3 | 6 |
| 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 | <html> | |
| 2 | <head> | |
| 3 | <title >SOAP Java Script Cli ent Test</ title> | |
| 4 | <scrip t type="te xt/javascr ipt"> | |
| 5 | fu nction soa p() { | |
| 6 | //debugg er; | |
| 7 | try { | |
| 8 | var xmlhttp = new XMLHtt pRequest() ; | |
| 9 | xmlhttp.op en('POST', 'http://j axws.webse rvices.esr . URL ', false); | |
| 10 | ||
| 11 | // b uild SOAP request | |
| 12 | var sr = | |
| 13 | '<?xml ver sion="1.0" encoding= "utf-8"?>' + | |
| 14 | '<soapenv: Envelope ' + | |
| 15 | 'xmlns :xsi="http ://www.w3. org/2001/X MLSchema-i nstance" ' + | |
| 16 | 'xmlns :api="http ://127.0.0 .1/Integri cs/Enswitc h/API" ' + | |
| 17 | 'xmlns :xsd="http ://www.w3. org/2001/X MLSchema" ' + | |
| 18 | 'xmlns :soapenv=" http://sch emas.xmlso ap.org/soa p/envelope /">' + | |
| 19 | '<soap env:Body>' + | |
| 20 | '< api:some_a pi_call so apenv:enco dingStyle= "http://sc hemas.xmls oap.org/so ap/encodin g/">' + | |
| 21 | '<userna me xsi:typ e="xsd:str ing">login _username< /username> ' + | |
| 22 | '<passwo rd xsi:typ e="xsd:str ing">passw ord</passw ord>' + | |
| 23 | '< /api:some_ api_call>' + | |
| 24 | '</soa penv:Body> ' + | |
| 25 | '</soapenv :Envelope> '; | |
| 26 | ||
| 27 | var sr2 = | |
| 28 | '<?xml ver sion="1.0" encoding= "utf-8"?>' + | |
| 29 | '<soapenv: Envelope x mlns:soape nv="http:/ /schemas.x mlsoap.org /soap/enve lope/" ' + | |
| 30 | 'xmlns:sch ="http://j axws.webse rvices.esr . URL /schemas" ' + | |
| 31 | 'xmlns :SOAP-ENV= "http://sc hemas.xmls oap.org/so ap/envelop e/">' + | |
| 32 | '<soap env:Header >' + | |
| 33 | '< wsse:Secur ity SOAP-E NV:mustUnd erstand="1 " xmlns:ws se="http:/ /docs.oasi s-open.org /wss/2004/ 01/oasis-2 00401-wss- wssecurity -secext-1. 0.xsd">' + | |
| 34 | '<wsse:U sernameTok en xmlns:w su="http:/ /docs.oasi s-open.org /wss/2004/ 01/oasis-2 00401-wss- wssecurity -utility-1 .0.xsd">' + | |
| 35 | '<ws se:Usernam e>CRMSvcUs r</wsse:Us ername>' + | |
| 36 | '<wsse:Pas sword Type ="http://d ocs.oasis- open.org/w ss/2004/01 /oasis-200 401-wss-us ername-tok en-profile -1.0#Passw ordText">
|
|
| 37 | '</wsse: UsernameTo ken>' + | |
| 38 | '< /wsse:Secu rity>' + | |
| 39 | '</soa penv:Heade r>' + | |
| 40 | '<soap env:Body>' + | |
| 41 | '< sch:getEES ummaryRequ est>' + | |
| 42 | '< sch:key>00 0000100859 1788V47697 8000000</s ch:key>' + | |
| 43 | '< sch:reques tName>allE EData</sch :requestNa me>' + | |
| 44 | '< sch:keyTyp e>vpid</sc h:keyType> ' + | |
| 45 | '< /sch:getEE SummaryReq uest>' + | |
| 46 | '</soa penv:Body> ' + | |
| 47 | '</soapenv :Envelope> '; | |
| 48 | ||
| 49 | xmlh ttp.onread ystatechan ge = funct ion () { | |
| 50 | if (xmlhtt p.readySta te == 4) { | |
| 51 | if (xm lhttp.stat us == 200) { | |
| 52 | al ert('done. '); | |
| 53 | } | |
| 54 | } | |
| 55 | } | |
| 56 | // S end the PO ST request | |
| 57 | xmlh ttp.setReq uestHeader ('Content- Type', 'te xt/xml'); | |
| 58 | xmlh ttp.send(s r2); | |
| 59 | // s end reques t | |
| 60 | // . .. | |
| 61 | } | |
| 62 | catch (e rr) { | |
| 63 | //Di splay Erro r.... | |
| 64 | aler t("Error: " + err.me ssage); | |
| 65 | ||
| 66 | } | |
| 67 | } | |
| 68 | </scri pt> | |
| 69 | </head> | |
| 70 | <body> | |
| 71 | <form name="Demo " action=" " method=" post"> | |
| 72 | <d iv> | |
| 73 | <input t ype="butto n" value=" Soap" oncl ick="soap( );" /> | |
| 74 | </ div> | |
| 75 | </form > | |
| 76 | </body> | |
| 77 | </html> |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.