Tuesday, June 28, 2011

Creating Wrapper class in Crm2011

I have tried it for 2011 but you can try it for 4.0 also.

1. Download the sdk and go to the bin folder using command prompt.

2.You will see one svcutil.exe

3.In command prompt you will reach the bin folder like this













4.Then you need to type this command with respect to your requirement and parameters and you will get the output file in your bin folder. if any issues just let me know

Command: crmsvcutil.exe /url:http://servername:portnumber/orgname/xrmservices/2011/Organization.svc /u:administrator /p:pass@word1 /out:CodefileName.cs /ServiceContextName:ServiceContext /namespace:

No comments:

Post a Comment