locked
CRM2011 PHP sending commands such as create lead RRS feed

  • Question

  • Ive connected to CRM2011 via PHP sample that microsoft provided but for some reason when I try to create a contact with the standard script microsoft have provided I get following error:

    <s:body>
        <s:fault>
            <s:code>
                <s:value>s:Sender</s:value>
                <s:subcode>
                    <s:value xmlns:a="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">a:InvalidSecurity</s:value>
                </s:subcode>
            </s:code>
            <s:reason>
                <s:text xml:lang="en-US">An error occurred when verifying security for the message.</s:text>
            </s:reason>
        </s:fault>
    </s:body>
    Connection seems to be created correctly because I receive key identifier and security token.


    Monday, July 22, 2013 8:03 AM

All replies

  • I have worked it out, there was an issue with the timezone, I have European when I was using American servers.
    Monday, July 22, 2013 10:29 AM