I am trying to access a MSCRM 2011 online and, I need a way to comunicate with it (through webservices) from javascript or php.
What I need to do is basically, login an create a contact or an account.开发者_StackOverflow
So, what I need is the full description of the soap XML, so I can forge it in a string myself.
But, the main problem is that I can not find an XML example for, loggin in to a MSCRM 2011 online, and access to a entity webmethod (like, Create(), for instance)
Could you give me some advices or directions???
I don't believe you can use MSCRM SOAP methods for Create, they are for retrieve (unless you build your own - e.g. http://msdn.microsoft.com/en-us/library/gg594434.aspx).
Instead use the standard CRM OData methods to Create/Update. There are plenty of examples in the SDK - http://msdn.microsoft.com/en-us/library/gg334427.aspx
Thanks Glenn
I just wrote a simple example in PHP of how to connect to dynamics 2011 online. Might be of use.
https://github.com/Ben-Speakman/PHP-Dynamics-Online-CRM-2011-SOAP-Class
精彩评论