All,

I have MSCRM 3.0 client installed. In the MSCRMServices/2006 folder, I
have CRMService.asmx file and the MetaDataService.asmx file.

I can launch MetaDataService.asmx successfully in IE on the client
machine, using the url:

http://localhost:2525/mscrmservices/2006/MetaDataService.asmx

However, I have a problem doing the same for CrmService.asmx.
The url: http://localhost:2525/mscrmservices/2006/CrmService.asmx
returns me:

<?xml version="1.0" encoding="utf-8" ?>
- <soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
- <soap:Body>
- <soap:Fault>
<faultcode>Server</faultcode>
<faultstring>Failed to handle request.</faultstring>
- <detail>
- <error xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<displaytitle />
<displaytext />
<description>Failed to handle request.</description>
<file>Not available</file>
<line>Not available</line>
<details>Not available</details>

<requesturl>http://127.0.0.1:2525/mscrmservices/2006/CrmService.asmx</requesturl>

<pathAndQuery>/mscrmservices/2006/CrmService.asmx</pathAndQuery>
<type>Application</type>
<source>SOAP</source>
<stacktrace>at
System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type
type, HttpContext context, HttpRequest request, HttpResponse response)
at
System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext
context, String verb, String url, String filePath) at
System.Web.HttpApplication.MapHttpHandler(HttpContext context, String
requestType, String path, String pathTranslated, Boolean useAppConfig)
at
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously)</stacktrace>
</error>
</detail>
</soap:Fault>
</soap:Body>
</soap:Envelope>

When I try to look for the .wsdl file, I get a 500 error.

I am not sure what is wrong on the machine.

Please advise.

Thanks,
Sameer

Re: CrmService on offline client by Michael

Michael
Fri Sep 08 17:01:36 CDT 2006

Sameer,

There isn't anything wrong with your client installation. The offline web
service does only provide a very limited functionality. The metadata service
works great, but to use the CrmService you need to copy the
Microsoft.Crm.Platform.ComProxy.dll to the client GAC (or maybe the bin
folder, not sure where it is needed) - at least that fixed it on my machine
. After that you can use the Fetch method to retrieve data. I don't think
you can do much more with the offline service, though I haven't tried
everything. You may want to look at
http://www.stunnware.com/crm2/topic.aspx?id=ChangingDataOffline for a
possible workaround to modify data while offline.

--
Michael
http://www.stunnware.com/crm2
----------------------------------------------------------
"Sameer" <sam.deshpande@gmail.com> schrieb im Newsbeitrag
news:1157743060.164991.224610@p79g2000cwp.googlegroups.com...
> All,
>
> I have MSCRM 3.0 client installed. In the MSCRMServices/2006 folder, I
> have CRMService.asmx file and the MetaDataService.asmx file.
>
> I can launch MetaDataService.asmx successfully in IE on the client
> machine, using the url:
>
> http://localhost:2525/mscrmservices/2006/MetaDataService.asmx
>
> However, I have a problem doing the same for CrmService.asmx.
> The url: http://localhost:2525/mscrmservices/2006/CrmService.asmx
> returns me:
>
> <?xml version="1.0" encoding="utf-8" ?>
> - <soap:Envelope
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> - <soap:Body>
> - <soap:Fault>
> <faultcode>Server</faultcode>
> <faultstring>Failed to handle request.</faultstring>
> - <detail>
> - <error xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <displaytitle />
> <displaytext />
> <description>Failed to handle request.</description>
> <file>Not available</file>
> <line>Not available</line>
> <details>Not available</details>
>
> <requesturl>http://127.0.0.1:2525/mscrmservices/2006/CrmService.asmx</requesturl>
>
> <pathAndQuery>/mscrmservices/2006/CrmService.asmx</pathAndQuery>
> <type>Application</type>
> <source>SOAP</source>
> <stacktrace>at
> System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type
> type, HttpContext context, HttpRequest request, HttpResponse response)
> at
> System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext
> context, String verb, String url, String filePath) at
> System.Web.HttpApplication.MapHttpHandler(HttpContext context, String
> requestType, String path, String pathTranslated, Boolean useAppConfig)
> at
> System.Web.MapHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
> at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
> completedSynchronously)</stacktrace>
> </error>
> </detail>
> </soap:Fault>
> </soap:Body>
> </soap:Envelope>
>
> When I try to look for the .wsdl file, I get a 500 error.
>
> I am not sure what is wrong on the machine.
>
> Please advise.
>
> Thanks,
> Sameer
>