3

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:

http://help.exacttarget.com/en-US/technical_library/web_service_guide/technical_articles/clearing_data_from_a_data_extension/

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

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 Jul 30 '14 at 16:03

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.