Tip #442: One WSDL to rule them all

WSDL is your best friend when you’re dealing with non .NET clients, e.g. Java, that need to talk to CRM. Historically, it’s always been a 2-step process:

  1. Hit https://crm/XRMServices/2011/Organization.svc?wsdl and get a very small file back usually containing the line
<wsdl:import namespace="blah-blah/Services" 
location=
"https://crm/XRMServices/2011/Organization.svc?wsdl=wsdl0"/>
  1. Hit https://crm/XRMServices/2011/Organization.svc?wsdl=wsdl0 and get a complete file containing full definitions.

Starting from CRM 2013 (or, rather WCF 4.5), however, there is a much easier way to get full WSDL schema:

https://crm/XRMServices/2011/Organization.svc?singleWsdl

No parsing required, the code is shorter and the life is easier.

Tweet about this on TwitterShare on Facebook1Share on Google+1

Leave a Reply

Your email address will not be published. Required fields are marked *