2

I'm a little new to C# (okay... very new)

I've created an empty website in VS and added a Webforms page (Default.aspx).

I'm trying to use the SOAP API to get portfolio information from ExactTarget. I'm using this example from the documents.

I'm getting Cannot create an instance of the abstract class or interface 'Microsoft.Web.Services3.Messaging.SoapClient'

I've put the example code in my default.aspx.cs file, along with adding

using System.Xml;
using Microsoft.Web.Services3;
using Microsoft.Web.Services3.Addressing;
using Microsoft.Web.Services3.Messaging;

Am I missing something obvious? Am I in the wrong place completely?

1

I think they're talking about the Exact Targer C# SDK (they could have mention it when using SoapClient name as it might seem a little bit confusing). After digging a while, it appears to have your SoapClient implementation. So, remove your Microsoft.Web.Services3 namespaces and use fuelSDK instead.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.