Am hoping that someone can help me out, I have looked on some previous threads but just seem to be missing something.

I am trying to make the below SOAP call:

GET: https://webservice.s6.exacttarget.com/Service.asmx


Content-Type: text/xml; charset=utf-8


<?xml version="1.0" encoding="utf-8"?>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
     <wsse:UsernameToken wsu:Id="UsernameToken-24440876" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
        <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">PASSWORD</wsse:Password>
  <RetrieveRequestMsg xmlns="http://exacttarget.com/wsdl/partnerAPI">
        <Filter xsi:type="SimpleFilterPart">
           <Value>Touch Base with Client</Value>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html xmlns="http://www.w3.org/1999/xhtml">
    <meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1" />
    <meta name="CODE_LANGUAGE" content="C#" />
    <meta name="vs_defaultClientScript" content="JavaScript" />
    <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
<body style="margin: 0px; padding: 0px; font-family: Arial;">
    <table style="height:100%; width:100%;" border="0" cellpadding="5" cellspacing="0">
        <tr style="height:10%; background-color:#808080">
                <div style="color:#ffffff; font-size: 16px;">An error has occurred and has been logged by our system.
                    <br />
                    Thank you. </div>
        <tr valign="top">
                <div id="errorTxt">&nbsp;</div>

Thanks, Garth

  • what is the issue? have you tried to use SOAPUI to diagnose what is happening? Commented Aug 10, 2016 at 4:28
  • I have added the response to the original query above. I am currently using Boomerang for testing Commented Aug 10, 2016 at 6:03
  • Try putting brackets around [Touch Base with Client]. If that doesnt work, try double quotes. Let me know if that resolves it. Commented Aug 10, 2016 at 13:34
  • Hi David, thanks for the suggestion, unfortunately neither of the above 2 options had any impact on the response. I even tried removing the filter but this had no impact. Commented Aug 11, 2016 at 2:12

1 Answer 1

  1. It should be HTTPPOST not HTTPGET, you also need to have these two in headers:

    Content-Type:text/xml; charset=utf-8


2.The Body Content looks wrong for retrieving DataExtensionField objects. It should look something like below:

 <soapenv:Body><RetrieveRequestMsg xmlns="http://exacttarget.com/wsdl/partnerAPI">
    <Filter xsi:type="SimpleFilterPart">

Check this link for more properties you can retrieve for DataExtensionField Object

  • 1
    Hi Bobio7, Thanks, this is where I think I was going wrong, I have applied the code that you have provided & this has successfully made the call. Commented Aug 17, 2016 at 23:30

You must log in to answer this question.

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