CRM Web Service on Pocket PC???

G

Guest

Hi,

I am trying to develop a cutomized application for Pocket PC.
I would like to use web service of MS CRM in the application.

Here is what I did.

In Visual Studio .NET,

1. Create Smart Device Application Project.

To use web service,
2. I added Microsoft.Crm.Platform.Proxy and
Microsoft.Crm.Platform.Types in the References folders.

3. added 'using Microsoft.Crm.Platform.Proxy' in the source code;

4.

void GetCRM(String urlCRM) {
BizUser objBizUser = new BizUser();
objBizUser.Credentials = new NetworkCredential("ID","PASSWORD","MYDOMAIN");
objBizUser.Url = urlCRM + "BizUser.srf";

CRMContact contact = new CRMContact();
contact.Credentials = objBizUser.Credentials;
contact.Url = urlCRM + "CRMContact.srf";


CUserAuth userAuth = objBizUser.WhoAmI();
...
...
}

When I tested this application on the POCKET PC 2003 emulator,
it copied two dll files to emulator
(
......
Copying Microsoft.Crm.Platform.Types.dll
Copying Microsoft.Crm.Platform.Proxy.dll
......
)
, however, error message
was generated , "A managed TypeLoadException Occured at my GetCRM function....

How do I solve this issue?
I guess two dlls(Microsoft.Crm.Platform.Types.dll and
Microsoft.Crm.Platform.Proxy.dll)
are only supported by PC development environmen, NOT Pocket PC envrionmnet....
Is there any such dll binary files for Pocket PC out there so that I can use
in Pocket
PC customized application development environment?...
Since I don't have any source file for the dll, how do I recomplie them for
Pocket PC platform?
Any workaround for this issue?

Thank you very much in advance...

.................................................TJ
 
I

Ilya Tumanov [MS]

You're right; DLL you're using in CF needs to be compiled for CF. You can't
use desktop libraries with CF.
No workarounds unless you have the source code to recompile against CF

By the way, are you aware of Microsoft's own Mobile CRM application which
works with MS CRM?

http://www.microsoft.com/downloads/details.aspx?FamilyID=94D65396-39C4-40BE-
8AFD-34C939CA607B&displaylang=en

Perhaps, you don't need to develop anything...

Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
 
G

Guest

Hi, Ilya.

Thanks for your valuable information.
I haven't looked at the url that you gave, but it looks like that it can't
be customizable....
I don't think that it provides some web services like CRM desktop version so
that developer can use...
I need to develop some application based on extracted data from CRM....


Thanks.

.........................................................................................TJ

"Ilya Tumanov [MS]" said:
You're right; DLL you're using in CF needs to be compiled for CF. You can't
use desktop libraries with CF.
No workarounds unless you have the source code to recompile against CF

By the way, are you aware of Microsoft's own Mobile CRM application which
works with MS CRM?

http://www.microsoft.com/downloads/details.aspx?FamilyID=94D65396-39C4-40BE-
8AFD-34C939CA607B&displaylang=en

Perhaps, you don't need to develop anything...

Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Thread-Topic: CRM Web Service on Pocket PC???
thread-index: AcTnnNQrflXXyeVJSPuxgNISCY2DVA==
X-WBNR-Posting-Host: 216.185.33.22
From: "=?Utf-8?B?VEo=?=" <[email protected]>
Subject: CRM Web Service on Pocket PC???
Date: Tue, 21 Dec 2004 12:37:03 -0800
Lines: 59
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.framework.compactframework
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGXA0
3.phx.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.framework.compactframework:67360
X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework

Hi,

I am trying to develop a cutomized application for Pocket PC.
I would like to use web service of MS CRM in the application.

Here is what I did.

In Visual Studio .NET,

1. Create Smart Device Application Project.

To use web service,
2. I added Microsoft.Crm.Platform.Proxy and
Microsoft.Crm.Platform.Types in the References folders.

3. added 'using Microsoft.Crm.Platform.Proxy' in the source code;

4.

void GetCRM(String urlCRM) {
BizUser objBizUser = new BizUser();
objBizUser.Credentials = new NetworkCredential("ID","PASSWORD","MYDOMAIN");
objBizUser.Url = urlCRM + "BizUser.srf";

CRMContact contact = new CRMContact();
contact.Credentials = objBizUser.Credentials;
contact.Url = urlCRM + "CRMContact.srf";


CUserAuth userAuth = objBizUser.WhoAmI();
...
...
}

When I tested this application on the POCKET PC 2003 emulator,
it copied two dll files to emulator
(
.....
Copying Microsoft.Crm.Platform.Types.dll
Copying Microsoft.Crm.Platform.Proxy.dll
.....
)
, however, error message
was generated , "A managed TypeLoadException Occured at my GetCRM function....

How do I solve this issue?
I guess two dlls(Microsoft.Crm.Platform.Types.dll and
Microsoft.Crm.Platform.Proxy.dll)
are only supported by PC development environmen, NOT Pocket PC envrionmnet....
Is there any such dll binary files for Pocket PC out there so that I can use
in Pocket
PC customized application development environment?...
Since I don't have any source file for the dll, how do I recomplie them for
Pocket PC platform?
Any workaround for this issue?

Thank you very much in advance...

................................................TJ
 
I

Ilya Tumanov [MS]

Actually, it is highly customizable. You right, it does not provide any web
services as it runs on PPC device and uses MS CRM back end.
Basically, it's a pocked version of MS CRM client (which is what I suspect
you're trying to do).

Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
Thread-Topic: CRM Web Service on Pocket PC???
thread-index: AcTnpTYkKZpIhJnJR6+su3nFWxETsQ==
X-WBNR-Posting-Host: 216.185.33.22
From: "=?Utf-8?B?VEo=?=" <[email protected]>
References: <[email protected]>
Subject: RE: CRM Web Service on Pocket PC???
Date: Tue, 21 Dec 2004 13:37:03 -0800
Lines: 127
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.framework.compactframework
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGXA0
3.phx.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.framework.compactframework:67363
X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework

Hi, Ilya.

Thanks for your valuable information.
I haven't looked at the url that you gave, but it looks like that it can't
be customizable....
I don't think that it provides some web services like CRM desktop version so
that developer can use...
I need to develop some application based on extracted data from CRM....


Thanks.
............................................................................
.............TJ

"Ilya Tumanov [MS]" said:
You're right; DLL you're using in CF needs to be compiled for CF. You can't
use desktop libraries with CF.
No workarounds unless you have the source code to recompile against CF

By the way, are you aware of Microsoft's own Mobile CRM application which
works with MS CRM?

http://www.microsoft.com/downloads/details.aspx?FamilyID=94D65396-39C4-40BE-
8AFD-34C939CA607B&displaylang=en

Perhaps, you don't need to develop anything...

Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Thread-Topic: CRM Web Service on Pocket PC???
thread-index: AcTnnNQrflXXyeVJSPuxgNISCY2DVA==
X-WBNR-Posting-Host: 216.185.33.22
From: "=?Utf-8?B?VEo=?=" <[email protected]>
Subject: CRM Web Service on Pocket PC???
Date: Tue, 21 Dec 2004 12:37:03 -0800
Lines: 59
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.framework.compactframework
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGXA0
3.phx.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.framework.compactframework:67360
X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework

Hi,

I am trying to develop a cutomized application for Pocket PC.
I would like to use web service of MS CRM in the application.

Here is what I did.

In Visual Studio .NET,

1. Create Smart Device Application Project.

To use web service,
2. I added Microsoft.Crm.Platform.Proxy and
Microsoft.Crm.Platform.Types in the References folders.

3. added 'using Microsoft.Crm.Platform.Proxy' in the source code;

4.

void GetCRM(String urlCRM) {
BizUser objBizUser = new BizUser();
objBizUser.Credentials = new NetworkCredential("ID","PASSWORD","MYDOMAIN");
objBizUser.Url = urlCRM + "BizUser.srf";

CRMContact contact = new CRMContact();
contact.Credentials = objBizUser.Credentials;
contact.Url = urlCRM + "CRMContact.srf";


CUserAuth userAuth = objBizUser.WhoAmI();
...
...
}

When I tested this application on the POCKET PC 2003 emulator,
it copied two dll files to emulator
(
.....
Copying Microsoft.Crm.Platform.Types.dll
Copying Microsoft.Crm.Platform.Proxy.dll
.....
)
, however, error message
was generated , "A managed TypeLoadException Occured at my GetCRM function....

How do I solve this issue?
I guess two dlls(Microsoft.Crm.Platform.Types.dll and
Microsoft.Crm.Platform.Proxy.dll)
are only supported by PC development environmen, NOT Pocket PC envrionmnet....
Is there any such dll binary files for Pocket PC out there so that I
can
use
in Pocket
PC customized application development environment?...
Since I don't have any source file for the dll, how do I recomplie
them
for
Pocket PC platform?
Any workaround for this issue?

Thank you very much in advance...

................................................TJ
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top