Personalized Community is here!
Quickly customize your community to find the content you seek.
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2020 Release Wave 2Discover the latest updates and new features to Dynamics 365 planned through March 2021.
Release overview guides and videos Release Plan | Preview 2020 Release Wave 2 TimelineWatch the 2020 Release Wave 1 virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
I'm trying to use the API to create a link between a product and a custom entity called artist.
When I try I get this error back
The Content-Type header value "text/plain" is not valid for a SOAP response.The response was:Server was unable to read request. ---> There is an error in XML document (14, 9). ---> Invalid format of input XML for request AssociateEntities: required field 'Moniker1' is missing. ---> Invalid format of input XML for request AssociateEntities: required field 'Moniker1' is missing.
Is there something wrong with my XML?
-<soapenv:Body> -<Execute xmlns="schemas.microsoft.com/.../WebServices"> -<Request xmlns:xsi="www.w3.org/.../XMLSchema-instance" xsi:type="AssociateEntitiesRequest"><OptionalParameters/> -<Moniker1><ns2:Id xmlns:ns2="schemas.microsoft.com/.../CoreTypes">8CE2DFC8-9967-407F-A6A0-3BEC2F0F0A8B</ns2:Id><ns2:Name xmlns:ns2="schemas.microsoft.com/.../CoreTypes">tripler_artist</ns2:Name></Moniker1> -<Moniker2><ns2:Id xmlns:ns2="schemas.microsoft.com/.../CoreTypes">AC2009FB-F989-E111-BBED-000C29604B72</ns2:Id><ns2:Name xmlns:ns2="schemas.microsoft.com/.../CoreTypes">product</ns2:Name></Moniker2><RelationshipName>tripler_artist_product</RelationshipName></Request></Execute></soapenv:Body>
Here you will get Soap XML:
If it does not help, share you email id i will send soap XML.
To get the correct Soap you can use SoapLogger. Following article describes how to use it - www.powerobjects.com/.../microsoft-dynamics-crm-soap-logger-a-tool-that-can-greatly-simplify-writing-http-requests
Business Applications communities