3

I am struggling to perform a SOAP call using POSTMAN. As an example, from the various online technical articles, I am working on retrieving data out of data extension

I gave the header as below -

Host: webservice.s6.exacttarget.com
Content-Type: text/xml; charset=utf-8
SOAPAction: "Retrieve"

The BODY is as below

When I am doing a POST, I get this error "405 - HTTP verb used to access this page is not allowed."

I replaced the UserName, Password and also replaced "http://exacttarget.com/wsdl/partnerAPI" with "https://webservice.s6.exacttarget.com/Service.asmx"

Please advise

<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">
 <soapenv:Header>
  <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>
        <wsse:Username>xxxxx</wsse:Username>
        <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">xxxxx</wsse:Password>
     </wsse:UsernameToken>
  </wsse:Security>
 </soapenv:Header>
 <soapenv:Body>
 <RetrieveRequestMsg xmlns="https://webservice.s6.exacttarget.com/Service.asmx">
     <RetrieveRequest>
        <ObjectType>DataExtensionObject[Test-Man-Filter]</ObjectType>
        <Properties>Cust Id</Properties>
        <Properties>First Name</Properties>
        <Properties>Last Name</Properties>
     </RetrieveRequest>
  </RetrieveRequestMsg>
 </soapenv:Body>
</soapenv:Envelope>
2

Could you try swapping this line...

<RetrieveRequestMsg xmlns="https://webservice.s6.exacttarget.com/Service.asmx">

For this...

<RetrieveRequestMsg xmlns="http://exacttarget.com/wsdl/partnerAPI">
| improve this answer | |

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.