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.