Patrik
Patrik

Reputation: 1129

Dynamics CRM 2011 SOAP Service /web

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

If I call my SOAP-Service with

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

or

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

It becomes a response.

Otherwise, if I call my SOAP-Service with my Silverlight-Resource, it builts internal with the function GetSoapService() a URL

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

When I try to call the URL it doesn't work:

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

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

What's the meaning of /web at the end of the url?

Upvotes: 4

Views: 3082

Answers (1)

Vincent Zhong
Vincent Zhong

Reputation: 21

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

The OrganizationService is a server side endpoint, which means you need to reference it in your server side code first before you can call the web method. You can do this by adding the dll or the web reference to your project.

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

Upvotes: 1

Related Questions