Results 1 to 3 of 3

Thread: Win CE with Web Service

  1. #1

    Thread Starter
    Addicted Member scsfdev's Avatar
    Join Date
    Feb 2008
    Location
    Singapore
    Posts
    224

    Unhappy 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.


    Name:  CEwithWebService.png
Views: 261
Size:  139.5 KB
    I'm using VS 2005 & 2008 & 2010 with SQL Server 2005 Express.

    My hobby beside programming: http://dslrstranger.wordpress.com

  2. #2
    Frenzied Member Lightning's Avatar
    Join Date
    Oct 2002
    Location
    Eygelshoven
    Posts
    1,611

    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?
    VB6 & C# (WCF LINQ) mostly


    If you need help with a WPF/WCF question post in the NEW WPF & WCF forum and we will try help the best we can

    My site

    My blog, couding troubles and solutions

    Free online tools

  3. #3

    Thread Starter
    Addicted Member scsfdev's Avatar
    Join Date
    Feb 2008
    Location
    Singapore
    Posts
    224

    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.
    I'm using VS 2005 & 2008 & 2010 with SQL Server 2005 Express.

    My hobby beside programming: http://dslrstranger.wordpress.com

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
  •  



Click Here to Expand Forum to Full Width