Re: API testing - How to pass date and time

Anonymous
Not applicable

API testing - How to pass date and time

Hi- i am trying to test API using SOAP UI tool. but below error.

how to pass <requestTimestamp>2014-05-15T00:00:00-00:00</requestTimestamp>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Body>
      <SOAP-ENV:Fault>
         <faultcode>SOAP-ENV:Client</faultcode>
         <faultstring>20014 - Authentication failed</faultstring>
         <detail>
            <ns1:serviceException xmlns:ns1="http://www.marketo.com/mktows/">
               <name>mktServiceException</name>
               <message>Authentication failed (20014)</message>
               <code>20014</code>
            </ns1:serviceException>
         </detail>
      </SOAP-ENV:Fault>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Tags (1)
1 REPLY 1
Anonymous
Not applicable

Re: API testing - How to pass date and time

Looks like you aren't providing any authentication or your authentication is incorrect.
Have you tried following the steps at: http://developers.marketo.com/documentation/soap/signature-algorithm/