473,327 Members | 2,007 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

invoking a webservice method

prabunewindia
199 100+
hi friends,
i am using web service in my project.
it is throwing an error when i invoke it.
error is: "unable to read the data thru connection port"
web service is working correctly.
i am getting the data from pocketPc to desktop pc using that web service.
anyone help me to find solution
prabu
Apr 13 '07 #1
6 1021
make vb class from web service or paste ur code.
Apr 14 '07 #2
Motoma
3,237 Expert 2GB
This is a very tricky question, but I hope I may be able to provide insight.

When you connect a device to a machine, it needs to be registered and have permissions assigned. Normally, this is all done to the user whom is logged in.

A web service also runs as a user. Typically this is not a user that someone could sit down and log in as, rather, it is a system designated account.

This issue is likely caused by the system restricting access to the device to only the user it is assigned to. You can try fooling around with the user that the web-service is run as, but I have had varying levels of success in doing this.
Apr 15 '07 #3
prabunewindia
199 100+
thanks for this reply
i think you are providing the correct for me
i will try as per ur way and back to u later
thanks a lot


This is a very tricky question, but I hope I may be able to provide insight.

When you connect a device to a machine, it needs to be registered and have permissions assigned. Normally, this is all done to the user whom is logged in.

A web service also runs as a user. Typically this is not a user that someone could sit down and log in as, rather, it is a system designated account.

This issue is likely caused by the system restricting access to the device to only the user it is assigned to. You can try fooling around with the user that the web-service is run as, but I have had varying levels of success in doing this.
Apr 16 '07 #4
Motoma
3,237 Expert 2GB
Let us know how things work out.
Apr 17 '07 #5
hi prabu

if you need to communicate webservice with pocket pc then you may need to use socket in your webservice code with the ip and port # of the pocket pc.

hope this helps
Apr 17 '07 #6
prabunewindia
199 100+
hi Gagan,
it was working without socket.
now it is making problem.
so i think the problem is with user in the desktpop Pc and pocketPc as Matoma told.
thanks for reply
prabu

hi prabu

if you need to communicate webservice with pocket pc then you may need to use socket in your webservice code with the ip and port # of the pocket pc.

hope this helps
Apr 17 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Rodrigo Meneses | last post by:
Whenever I invoke a method on my web service I got the following error Client found response content type of 'text/html' Does somebody know something? Thanks -- _______________________
11
by: Andy | last post by:
Make the story short, I have a VB.NET client interface calling .NET webservice, written in VB.NET as well. I am trying to make the client as thin as possible so I let the webservice part to...
0
by: graciezzzzz | last post by:
Hi all, I create a Web Service project called 'eSelectService' and another Class Library project called 'MonerisVO', and a Windows Form project called 'maps' as well. The reason why I need...
5
by: AliR | last post by:
Hi Everyone, I have a Visual C++ MFC program, and I am trying to use a webservice written in C#. When I add the webservice to my project using Add Web Reference the sproxy compiler complains...
2
by: Jack | last post by:
I want to design a server which performs some business related user authentiation, and would like to let the clients invoke it through webservice, so my first thinking is using IIS as the web...
0
by: ananth | last post by:
Hi All, Is there any specific coding in Visual basic to invoke an method in a web service. For Example i need to call an method called studentinformation in a web service that needs to...
2
by: Marek Suski | last post by:
Hi all, I am getting following error while a user is trying to execute web method from proxy class (proxy class inhertis from WebServicesClientProtocol class) System.Xml.XmlException: There is...
1
by: amollokhande1 | last post by:
Hi, I have one query regarding the webservice Invocation. I have one simple webserive. I want to invoke it in VB.Net. I have all required input like contenttype,method,namespaceuri,webservice etc....
4
by: Jonathan | last post by:
I have a SQL stored procedure for adding a new record in a transactions table. It also has two return values: CounterID and IDKey. I want to create a webservice that accepts the 10 input...
3
by: aswathip | last post by:
I am doing a Webservice in PHP for the first time. I have a service named as testWebService.php and testclient.php that consumes the service. Below is my testclient.php <?php require_once...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.