Home All Groups Group Topic Archive Search About

How to consume a webservice in a device application

Author
28 Sep 2006 5:25 AM
Poornima
Hai,

     In my  Windows CE device application, i need to send some records
from sql server mobile to desktop sql server.

       For that, i created one webservice, when i am calling this
webservice (ordinary helloworld webservice) i am getting the error like
"webexception" status is protocol error. My coding is

            Dim oWebService As New localhost.myFirstWebService
            Dim sValue As String

            oWebService.Url = "http://localhost/"
            sValue = oWebService.HelloWorld

            MsgBox(sValue)

I even tried out by giving Machine name and the IP Address in place of
localhost in the URL.

What can i do to resolve this error.

Thanks in advance.

Poornima

AddThis Social Bookmark Button