PC Review


Reply
Thread Tools Rate Thread

CRM Web Service on Pocket PC???

 
 
=?Utf-8?B?VEo=?=
Guest
Posts: n/a
 
      21st Dec 2004
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
 
Reply With Quote
 
 
 
 
Ilya Tumanov [MS]
Guest
Posts: n/a
 
      21st Dec 2004
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/d...396-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=?=" <(E-Mail Removed)>
> Subject: CRM Web Service on Pocket PC???
> Date: Tue, 21 Dec 2004 12:37:03 -0800
> Lines: 59
> Message-ID: <F83B5C13-7B7C-4053-9ACB-(E-Mail Removed)>
> 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
>


 
Reply With Quote
 
=?Utf-8?B?VEo=?=
Guest
Posts: n/a
 
      21st Dec 2004
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]"" wrote:

> 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/d...396-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=?=" <(E-Mail Removed)>
> > Subject: CRM Web Service on Pocket PC???
> > Date: Tue, 21 Dec 2004 12:37:03 -0800
> > Lines: 59
> > Message-ID: <F83B5C13-7B7C-4053-9ACB-(E-Mail Removed)>
> > 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
> >

>
>

 
Reply With Quote
 
Ilya Tumanov [MS]
Guest
Posts: n/a
 
      21st Dec 2004
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=?=" <(E-Mail Removed)>
> References: <F83B5C13-7B7C-4053-9ACB-(E-Mail Removed)>

<(E-Mail Removed)>
> Subject: RE: CRM Web Service on Pocket PC???
> Date: Tue, 21 Dec 2004 13:37:03 -0800
> Lines: 127
> Message-ID: <DB9503E5-2B1B-4E8A-B6D0-(E-Mail Removed)>
> 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]"" wrote:
>
> > 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/d...396-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=?=" <(E-Mail Removed)>
> > > Subject: CRM Web Service on Pocket PC???
> > > Date: Tue, 21 Dec 2004 12:37:03 -0800
> > > Lines: 59
> > > Message-ID: <F83B5C13-7B7C-4053-9ACB-(E-Mail Removed)>
> > > 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
> > >

> >
> >

>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Secure web service from Pocket PC =?Utf-8?B?TWljaGFlbA==?= Microsoft Dot NET Compact Framework 1 23rd Oct 2006 02:05 PM
Pocket Pc & Web Service - Very Urgent =?Utf-8?B?UmFtaQ==?= Microsoft Dot NET Compact Framework 4 27th May 2006 06:30 PM
Pocket PC service app with .NET CF Tihomir Ignatov Microsoft Dot NET Compact Framework 1 19th Jan 2005 09:27 AM
How do i get datareader from web service to pocket pc? nomenklatura Microsoft Dot NET Compact Framework 4 28th Jun 2004 05:56 PM
can i run a windows service from pocket pc =?Utf-8?B?UmFtYW4=?= Microsoft Dot NET Compact Framework 1 2nd Apr 2004 05:40 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:43 AM.