CRM 2011 send any request via XHR?

You could create a new entity in CRM called "Generic Request" or something like that. It could just have a big textbox to pass in an XML blob or it could have actual fields Then build a PRE plugin for this entity that does any server-side processing you need. It could even update "output" fields on this entity that your client would then read as a result Now your client can "simulate a generic request" by creating an instance of this new entity.

The plugin does the server side work, then your client could immediately query the new entity by id to get the output parameters if necessary.

You could create a new entity in CRM called "Generic Request" or something like that. It could just have a big textbox to pass in an XML blob or it could have actual fields. Then build a PRE plugin for this entity that does any server-side processing you need.It could even update "output" fields on this entity that your client would then read as a result.

Now your client can "simulate a generic request" by creating an instance of this new entity. The plugin does the server side work, then your client could immediately query the new entity by id to get the output parameters if necessary.

Thanks Josh, this is an interesting solution. However, polling for request results doesn't sound optimal, and I'd be doing this too often to be performing. I'd still like to know if building SOAP envelopes is viable.

– Raine Jun 21 at 20:24 I don't believe it is possible to roll your own SOAP messages. I haven't tried, but you might be able to add some values to the OutputParameters collection in the plugin. Normally you just get the GUID back.

That could save you the second request. – Josh Painter Jun 21 at 21:56 Just to clarify, I'm not looking to build "new" SOAP messages; I'm wondering if it's feasible to recreate the existing request objects (the ones in the CRM SDK assemblies). Server side you'd instantiate objects that would be SOAP-serialized, I'm trying to simulate this by generating envelope strings.

Hope this clears up my requirement a bit. Thanks again. – Raine Jun 22 at 7:18.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions