web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

SOAP message (body) format

(0) ShareShare
ReportReport
Posted on by

Hi

I am new to MS Dynamics CRM. I am trying to create proxy software (in the middle) between user's web browser (or mobile phone) and MS servers which access data that user submits to MS Dynamics CRM. In other words:

user <-> my app <-> MS Dynamics CRM

When I use firebug to inspect what kind of requests/responses comes from / to user's browser I can see that request SOAP body is encoded in some strange way:

...<soap:Body>
    <Execute xmlns="schemas.microsoft.com/.../WebServices">
      <command>1</command>
      <commandXml>&#60;Input&#62;&#60;id&#62;...

instead of "<" there is & #60;

this makes parsing of SOAP body difficult for me. But even if I do decode those entities and change some content then I need to encode it in a correct way back before sending it to the server.

My question: is this somewhere documented how SOAP body should be encoded in MS Dynamics CRM requests?

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Thank you very much for your response and the link.

    However I do not agree with you that in this case it is necessary to encode "<" inside SOAP body because in this case "<" is part of inner XML (start of an inner XML element). In other words: request SOAP body contains data in XML format encoded using encoding which replaces "<" with &#60 ;. Instead, normal behavior would be just to insert XML data inside SOAP body.

    I am using Firebug because I am inspecting what format of messages is MS Dynamics CRM web client inside Firefox sending to MS Dynamics CRM servers. In other words: I am not using MS Dynamics CRM web services but I am using MS Dynamics CRM online web application and MS Dynamics CRM client (JavaScript) is using HTTP POST requests with content-type=text/xml to send SOAP envelopes to the server. This is how client and server are communicating in MS Dynamics CRM online web application.

  • Community Member Profile Picture
    on at

    I am using Dynamics CRM as:

    1. Open myusername.crm4.dynamics.com/main.aspx

    2. Open Firebug

    3. Create new Account

    4. Inspect request format in Firebug

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans