开发者

MSCRM 2011 Online - Soap with Javascript or PHP

开发者 https://www.devze.com 2023-04-11 03:00 出处:网络
I am trying to access a MSCRM 2011 online and, I need a way to comunicate with it (through webservices) from javascript or php.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消