I am trying to clear a data extension via API call. I have ExactTarget web service reference into my project as https://webservice.exacttarget.com/Service.asmx

I have found a sample code to clear a data extension via API call at here on ET website:


I have tried using the sample code provided on ET website, but I am getting an error resolving this reference:

ExactTarget.Integration.IPartnerFrameworkInterface proxy = null;

Can someone please explain how to resolve this reference? My full code can be seen in this image.

enter image description here

1 Answer 1


I suspect the examples are using the references defined in the API Starter Kit.

Alternatively, check the name you gave the Service or Web Reference. It will need to be "ExactTarget" to match the given example. E.g.

enter image description here

Note that in the screenshot above I added the reference to https://webservice.exacttarget.com/etframework.wsdl rather than the development environment https://webservice.exacttarget.com/Service.asmx. When I tried the development environment web services I got a 405 Method Not Allowed response.

  • I cannot find any example in the API Starter Kit which references to the the namespace 'Integration' or 'Integration.IPartnerFrameworkInterface'. I have followed the exact steps mentioned here and added reference to webservice.exacttarget.com/etframework.wsdl but still cannot resolve the reference and getting this error: 'Type of namespace name ‘Integration’ does not exist in the namespace ‘ExactTarget’ (are you missing an assembly reference?)' It seems like the API doesn't have the namespace ‘Integration’
    – user10499
    Commented Jul 30, 2014 at 16:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .