Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

JavaScript to send data to external system that uses SOAP with WSDL

Posted on by Microsoft Employee

Hi all,

I have used Ribbon Workbench to add a button to the Opportunity ribbon. I have coded the button to get data from the form

e.g var Name = Xrm.Page.getAttribute("name").getValue(). I have then used the variables within a SOAP XML packet.

Please help with the necessary Javascript using the WSDL to send the packet?

N.B I have successfully tested the connection using the WSDL with SoapUI.

*This post is locked for comments

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: JavaScript to send data to external system that uses SOAP with WSDL

    Thankyou Martijn for your response. It matches other advice I had just received that I should look at a .net plugin instead for security reasons.

  • Verified answer
    M.T. Eikelenboom Profile Picture
    M.T. Eikelenboom 5,241 on at
    RE: JavaScript to send data to external system that uses SOAP with WSDL

    First, you can check here on how to build a generic soap request: stackoverflow.com/.../simplest-soap-example

    Second, are you sure you want to send over a username and password with JavaScript. This is very unsecure.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans