dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: Error in adding new records to the CRM using Microsoft web services

  1. #1
    Join Date
    Mar 2008
    Posts
    27

    Error in adding new records to the CRM using Microsoft web services

    I am having issues with adding new records to the CRM using Microsoft web services. Im getting the following error message, System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at CrmService.Create(BusinessEntity entity)

    Sample code :
    CrmAuthenticationToken token = new CrmAuthenticationToken(); token.AuthenticationType = 0;
    token.OrganizationName = "OrgName";
    CrmService service = new CrmService();
    service.Url = "http://test.com:8083/mscrmservices/2007/CrmService.asmx";
    service.CrmAuthenticationTokenValue = token;
    service.Credentials = new System.Net.NetworkCredential("UserName","Password","Domain");
    contact SampleContact = new contact();
    SampleContact.firstname = "FirstName";
    SampleContact.lastname = "LastName";
    SampleContact.telephone1 = "123-123";
    SampleContact.emailaddress1 = "Emailprotected";
    service.Create(SampleContact);

    Can any one please suggest me.
    Thanks in advance.

  2. #2
    Join Date
    Oct 2009
    Posts
    658
    Does the contact class inherit the businessenity class? The service interface accepts a businessentity you might want to check the heirarchy of your class
    Good Luck

    Santos Systems

  3. #3
    Join Date
    Dec 2014
    Posts
    5

    One of CRM Web services & Odoo Customization

    Quote Originally Posted by ssystems View Post
    Does the contact class inherit the businessenity class? The service interface accepts a businessentity you might want to check the heirarchy of your class

    after visit your forum i would like to add additional information about odoo customization & crm web services

    as both are usually used for best CRM hop you like them too

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center