+ Start a Discussion

Building .Net Listener for Salesforce Outbound message

HI , 


I am facing issue with my .net webservice, when I am running it locally it is successful, but when I am uploading on my webhost I am having different results. 


Below is the code for my webservice named as AccountNotificationListener.asmx

<%@ WebService  Language="C#" CodeBehind="~/App_Code/AccountNotificationServiceImpl.cs" Class="Test.AccountNotificationServiceImpl" %>

 The code for AccountNotificationServiceImpl.cs is :

using System;
using System.Collections.Generic;
using System.Web.Services;
namespace Test

   [WebService(Namespace = "http://argentinanet.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    /// <summary>
    /// Summary description for AccountNotificationServiceImpl
    /// </summary>
    public class AccountNotificationServiceImpl : AccountNotification.INotificationBinding
        public AccountNotificationServiceImpl()
            // TODO: Add constructor logic here

        public AccountNotification.notificationsResponse notifications(AccountNotification.notifications notifications1)
            throw new NotImplementedException();


Webservice is deployed on link http://argentinanet.org/testproject/website/AccountNotificationService.asmx 


When you will click on this link you fill find the error that I am receiving Parser Error Message: Could not create type 'Test.AccountNotificationServiceImpl'. Can anyone help me out ?