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)

CRM Online - Consuming external SOAP Web Services (Limited CRM / programming experience)

(0) ShareShare
ReportReport
Posted on by 25

Hi all

I am currently in the process of trying to ascertain the steps for consuming SOAP web services from Dynamics CRM Online.

I have some knowledge of the CRM environment (around a month's exposure to date) so have principle understandings around the features and functionality, and as far as web services are concerned, my knowledge here is again limited but I have had some experience testing / calling web services within SOAPUI.

If anyone has any recommendations in terms of guidance / practical examples / resources needed to achieve calls to external services within CRM Online, this would be greatly appreciated.

At this stage, we are just trying to establish what is / isn't possible with the CRM solution, so it's an exploitation exercise of sorts, but it would be useful to demonstrate the consumption of said web services if at all possible (Appreciate my limited experience is likely to be a barrier but any advice or guidance would be greatly appreciated).

Thanks

Michael

 

*This post is locked for comments

I have the same question (0)
  • nghieppham Profile Picture
    4,755 on at

    Hi MJ,

    For accessing external service, you have to register your external service with Azure Server, then you can access your external service from plugin. Please check this link xrmcenter.wordpress.com/.../exposing-crm-web-api-using-wcf-service

    Regards,

  • MJParker Profile Picture
    25 on at

    Hi Pham

    I can't say this has helped me to progress any further but appreciate the response (this is largely due to the limits of my knowledge on the aforementioned subject areas).

    Let me provide an example of what I'd like to try and achieve: -

    So I enter a value in within an entity form. On the 'onchange' event for that particular attribute, I want to then call an external / 3rd party SOAP web service (over https), passing the inputted form value into the SOAP envelope as part of the function's input parameters. I then want to call the function, in turn retrieving the response and then subsequently populating some of the other fields in the form with the returned values.

    Is it possible to achieve this with Javascript as a web resource etc?

    At this stage, I'm looking for a quick win to demonstrate consumption of an external web service outside of CRM (Online), it doesn't explicitly have to be a SOAP web service but given that's what we have implemented (as part of our existing software platforms) for consumption, it seemed like a logical way forward to try to call / utilise these.

    Again, any step through guidance would be greatly appreciated.

  • Bas van de Sande Profile Picture
    4,383 on at

    Hi MJ,

    I received your PM. Can you specify what service you want to call.

    If you want to call a service using javascript probably you will have to resort to using REST services. The advantage of using REST over SOAP is that REST does not have that much overhead compared to soap (in which you have to declare a full soap envelope).

    On my blog I have several articles in which I call all kinds of external services using REST. The only difference is that I call these services using C#, but porting the call over the javascript is not really rocket science.\

    You can visit my blog at: http://journeyintocrm.com

    I hope this points you  in the right direction

    Bas

    p.s. if needed I can provide you with a generic javascript REST example

  • MJParker Profile Picture
    25 on at

    Hi Bas

    Thank-you for coming back to me. With regard to what you've highlighted, it was specifically a SOAP call we were looking to make / consume data from, largely because we have SOAP services transposed publicly for one of our core systems, however a REST example would also be useful.

    Thanks

    Michael

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