Dynamics CRM 2011 SOAP Service / web

I have a problem with my SOAP-Service, my local Dynamics CRM 2011 is installed on my Windows Server 2008 R2 server .

If I call SOAP-Service

"http://crmdevsvr/Contoso/XRMServices/2011/Organization.svc" 

or

 "http://crmdevsvr/Contoso/XRMServices/2011/Organization.svc?wsdl" 

He becomes the answer.

Otherwise, if I call SOAP-Service using Silverlight-Resource , it will build the internal using GetSoapService () URL function

 "Uri serviceUrl = CombineUrl(GetServerBaseUrl(), "/XRMServices/2011/Organization.svc/web");" 

When I try to call the URL , it does not work:

 "http://crmdevsvr/Contoso/XRMServices/2011/Organization.svc/web" 

Now the funny (or not) problem is that the end / web URL works sometimes .

What does / web mean at the end of the url ?

+4
source share
1 answer

I worked with / web a while endpoint backwards, here is my understanding:

A Service organization is a server-side endpoint, which means you need to reference it in server-side code before you can invoke the web method. You can do this by adding a dll project or web links to the project.

If you want to call the web method from the client side, you need to use / web. This is basically a shell of OrganizationService methods for JavaScript and Silverlight.

0
source

Source: https://habr.com/ru/post/1469170/