Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Compact Framework / September 2006

Tip: Looking for answers? Try searching our database.

Query On WebService

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
poornima.venkataraman@gmail.com - 28 Sep 2006 05:14 GMT
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
SHaul - 28 Sep 2006 07:52 GMT
1. disable the firewall on your desktop computer.
2. on the mobile applictaion, in the webReference properties, in the web
reference url property, change the "local host" to the ip of the desktop
computer, add the project name and the specific service (asmx class) :
example:
http://0.0.0.0/myFirsWebService/service1.asmx

> Hai,
>
[quoted text clipped - 21 lines]
>
> Poornima
poornima.venkataraman@gmail.com - 28 Sep 2006 13:41 GMT
> 1. disable the firewall on your desktop computer.
> 2. on the mobile applictaion, in the webReference properties, in the web
[quoted text clipped - 28 lines]
> >
> > Poornima

Hi
Thanks for your solution.But I followed what you specified,but still
the Connection failure is coming
In my device application when i changed the Url to the one of the
device(emulator) the connection failure error got resolved but Protocol
Error was coming.
.In desktop application,when we run the webservice eg.
http://localhost:1422/MyWebService/FirstWebService.asmx
the port number is also appearing.Can you please tell me why the port
number is appearing.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.