|
-
Sep 11th, 2012, 01:32 AM
#1
Thread Starter
Addicted Member
Win CE with Web Service
Hi All,
May I check with you does any one has any answer for my below problem?
My problem in details:
I'm developing Win CE application in Visual Studio 2008 Professional Edition (TRIAL). The application was in CF.Net 3.5.
I can create the application run it on actual device without any error.
I have another project (Web Services) created in the same environment, VS 2008 Pro Trial edition. the application was also in .Net 3.5.
I can browse this web service from my browser. I can also use it on another WinForm (VS2008 Pro Trial) application without any error.
I can call and get the result in this WinForm. This WinForm application also the same .Net 3.5.
However, I can't use this web service on my Win CE aplication.
I don't know why and what happen. Please refer to attached picture file.
As you can see from my image, I can add Web service in win ce application but I can't call in my code behind to consume it.
I tried to add wsdl (http://ComputerName/testwsvc/service.asmx?wsdl) in address and add the reference, the result is the same, can't use it.
Right now, our company decides to purchase the license version since we will need to do some projects for CE applications but I can't tell them to buy VS2008 cuz I can't link up web service with CE application.
I also don't know which version I propose for purchasing.
I already asked the same question in MSDN forum but no body answer. I didn't want to ask here is because this forum seems to be mainly focused on VB.Net only. Sorry about that.
Please help me if anyone of you know the answer.
Thanks.
-
Sep 18th, 2012, 02:02 PM
#2
Re: Win CE with Web Service
What error do you get when you try to consume the service?
Can the device resolve the IP of the computer that hosts the service?
-
Sep 24th, 2012, 02:55 AM
#3
Thread Starter
Addicted Member
Re: Win CE with Web Service
Hi Lightning,
There is no error. As you can see from my attached image, I totally can't create the object for my web service. VS 2008 didn't show up the web service name.
I tried to create the object and compile. It gave me "type or namespace can't find" and point to my web service.
For this project, I do not test on any device yet since I can't even create a project without any error.
I have another sample project (just a form and a button) for my device and I can transfer this project to device and run it without any error.
It just web service is not working. Beside, my trial is almost expire (left 2 days only).
After that, I need to give an answer of whether we need to buy this software (VS 2008 Pro) or not.
Thanks.
Last edited by scsfdev; Sep 24th, 2012 at 02:59 AM.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|