Produced by Araxis Merge on 2/1/2017 2:56:56 PM Eastern 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 | C:\Araxis_Merge_Comprasion\Pub_un\BTSSS_CIF_122016.zip\BTSSS_CIF_12_20_16\clean\CRM\trunk\SDK\SampleCode\CS\WsdlBasedProxies\Online | Setup.txt | Tue Dec 20 19:51:47 2016 UTC |
| 2 | Wed Feb 1 19:56:56 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 0 | 0 |
| Removed | 1 | 53 |
| 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 | DEPENDENCI ES | |||||
| 2 | - Microsof t.Identity Model.dll: This is t he same as sembly tha t is requi red by Mic rososft.Xr m.Sdk.dll in order t o | |||||
| 3 | authenti cate again st a claim s environm ent. | |||||
| 4 | - DeviceId Manager.cs : Sample w hich manag es Device credential s | |||||
| 5 | - WsdlToke nManager.c s: Sample that authe nticates a user with CRM witho ut a depen dency on M icrosoft.X rm.Sdk.dll | |||||
| 6 | ||||||
| 7 | SERVICE RE FERENCES | |||||
| 8 | Add the fo llowing se rvice refe rences, us ing your s erver name : | |||||
| 9 | ||||||
| 10 | 1) Example URL: http s://disco. crm.dynami cs.com/XRM Services/2 011/Discov ery.svc?WS DL | |||||
| 11 | Namespa ce: CrmSdk .Discovery | |||||
| 12 | Notes: The URL ma y not reso lve correc tly in Vis ual Studio without t he "?WSDL" . | |||||
| 13 | 2) Example URL: http s://orgnam e.api.crm. dynamics.c om/XRMServ ices/2011/ Organizati on.svc?WSD L | |||||
| 14 | Namespa ce: CrmSdk | |||||
| 15 | Notes: The URL ma y not reso lve correc tly in Vis ual Studio without t he "?WSDL" . | |||||
| 16 | ||||||
| 17 | If you don 't know th e URL for the servic es, do the following : | |||||
| 18 | 1) Launch the CRM Ap plication in Interne t Explorer | |||||
| 19 | 2) Navigat e to Setti ngs -> Cus tomization s | |||||
| 20 | 3) Click D eveloper R esources | |||||
| 21 | 4) Note do wn the URL for the D iscovery S ervice and the Organ ization Se rvice. | |||||
| 22 | ||||||
| 23 | Important: Starting with CRM O nline 2015 Update 1 and later, the synta x for the URL's to u se when cr eating a | |||||
| 24 | service re ference ha s changed slightly. The end of the URL, which was "?WSDL", s hould be c hanged to | |||||
| 25 | "?singleWS DL&sdkvers ion=7.1". | |||||
| 26 | ||||||
| 27 | For ex ample: htt ps://disco .crm.dynam ics.com/XR MServices/ 2011/Disco very.svc?s ingleWSDL& sdkversion =7.1 | |||||
| 28 | ||||||
| 29 | Failure to use this syntax may result in the follo wing error : | |||||
| 30 | "Failed to generate code for t he service reference with | |||||
| 31 | 'http://sc hemas.micr osoft.com/ xrm/7.1/Me tadata:Arr ayOfEntity KeyMetadat a' is not declared" | |||||
| 32 | ||||||
| 33 | For more i nformation see http: //blogs.ms dn.com/b/m barbour/ar chive/2015 /07/07/how -to-fix-bu ilding-a-s trong-type -lib-for-c rm-7-1-crm -2015-onli ne-update- 1-errors.a spx | |||||
| 34 | ||||||
| 35 | ||||||
| 36 | CONFIGURAT ION FILE C HANGES | |||||
| 37 | 1) In the "<binding name="Cust omBinding_ IOrganizat ionService ">" node, remove the commented sections. | |||||
| 38 | NOTE: T he Transpo rtSecurity Element fa ils to gen erate beca use the Wi ndows Live STS does not return | |||||
| 39 | a ll of the correct me tadata. | |||||
| 40 | 2) If need ed, update the addre sses in th e "<endpoi nt ...>" n odes for e ach servic e. | |||||
| 41 | ||||||
| 42 | CODE CHANG ES | |||||
| 43 | 1) Open Pr ogram.cs a nd update the UserNa me, UserPa ssword, Di scoverySer viceUrl, a nd Organiz ationUniqu eName cons tants. | |||||
| 44 | NOTE: T hese value s are only required in order t o make the sample wo rk. | |||||
| 45 | ||||||
| 46 | ADDITIONAL FILES | |||||
| 47 | - ClientBa seExtensio ns.cs: Add itional fi le that wi ll configu re the Cli entBase<T> classes f or CRM Onl ine. | |||||
| 48 | ||||||
| 49 | BUILD and RUN | |||||
| 50 | 1) Right c lick on th e Online p roject and choose Bu ild. | |||||
| 51 | (W arnings ar e expected and can b e ignored. ) | |||||
| 52 | 2) Place a breakpoin t after th e WhoAmI c all. | |||||
| 53 | 3) Right c lick on th e Online p roject and choose De bug. |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.