locked
crm service ... WCF service application ?? RRS feed

  • Question

  • Hi,

    I would like to know if the code below at the creation of the project,  I have to select for type of project :
    WCF service application or not?

    Thanks a lot

    http://technet.microsoft.com/en-us/library/aa684342.aspx

    Adding a Web Reference In Visual Studio

    1. Create a C# or VB .NET project in Microsoft Visual Studio.
    2. In the Solution Expolorer pane, right click References.
    3. Choose Add Web Reference.
    4. In the URL field, paste the following string, replacing <your server name> with the name of your Microsoft CRM Server.
      http://<your server name>/mscrmservices/2006/crmservice.asmx
    5. Click Go.
    6. Edit the Web reference name. This is the name you will put in the Using statement in your source code. For this example enter CrmSdk.
    7. Click Add Reference.
    Thursday, August 19, 2010 10:29 AM

Answers

  • In this case I would recommend a command line application. You can use the Windows task scheduler for the execution of the application. This is easier than developing a service and your own scheduling logic.
    Thursday, August 19, 2010 1:05 PM

All replies

  • what are you trying to do ???


    Mahain : http://mahenderpal.wordpress.com
    Thursday, August 19, 2010 10:34 AM
    Moderator
  • Can you clarify us on what u gonna trying to do? Are you trying to consume CRM web service in you app?? from your post, I can understand that you are trying to ask what type of project we need to create to consume that web service??

    Thursday, August 19, 2010 10:42 AM
  • No, it is not necessary (if you don't want to create a WCF-Service which connects to Dynamics CRM). A 'normal' project template like Console Application or WinForms Application (depends on what you want to create)
    Thursday, August 19, 2010 11:32 AM
  • I want to create a service which will manage an alert sened by mail ton an user, according to a date in opportunity. If this date is today then i want to send a mail, I first thought of workflow then I read this article : http://blogs.msdn.com/b/crm/archive/2008/10/29/crm-4-waiting-workflow-vs-windows-service.aspx
    Thursday, August 19, 2010 12:07 PM
  • Then I'd select

    windows c# -> Windows -> Windows Service (if you want it to run silently as a windows service)

    or

    windows c# -> Windows -> Windows forms application (if you want it to have a GUI as well)

     

    Thursday, August 19, 2010 12:33 PM
  • In this case I would recommend a command line application. You can use the Windows task scheduler for the execution of the application. This is easier than developing a service and your own scheduling logic.
    Thursday, August 19, 2010 1:05 PM
  • good call about easier to develop...
    Thursday, August 19, 2010 1:12 PM