Hello,
The situation is as follows:
My server app (ASP.NET WebService) responds to the client request
(ASP.NET) by returning a text string appended with 2 int numbers,
being the X&Y coordinate values of a MouseDown event on the client
form. These numbers are supplied by the client.
Code snippet:
--------------
Client-app: myLabel.Text=sr vControl.MouseC oordinates(mous eEv.X,
mouseEv.Y);
Server-app:
[Web Method]
public string MouseCoordinate s(int nX,int nY)
{
return "Your Mouse Coordinates: "+nx.ToString() +","+nY.ToStrin g();
}
---------------
When I run this code, on a wireless SmartDevice TabletPC, a weird
thing happens: if I click my mouse down at a 'slow' pace, everything
runs OK. If I do it fast, the app crashed with the following message:
<< Error
myWebApp.exe InvalidOperatio nException
Server found request content to be 'text/html' but expected
'text/xml'.
Application::Ru n+0xf >>
Looking into the W3C-logfile: error 403 (Forbidden)
The MS-IIS logfile has more: 403.5 (SSL 128 required)
I can't believe these error messages are true for this very-very
simple request.
I tend to look into some timing parameter in the Server area, because
if I ran this code on the SmartDevice emulator, it did not break.
Any ideas please ... I'm desperate ... .
Thank you,Saya 0 1931 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: |
last post by:
Hello NG!
I try to call a WebService from a mobile device. The WebService should
return a DataSet, so the call looks like
mDataSet = mWebSrv.GetDataSet(<Params>)
but instead of returning a DataSet, that call throws an error:
InvalidOperationException
|
by: ramarnath |
last post by:
Hi,
I've created a webservice, which is working fine in development
environment and UAT environment. but i received following error often
in staging environment, not all the time.
------------------
Client found response content type of 'text/html;
charset=Windows-1252', but expected 'text/xml'. The request failed with
the error message: --
|
by: daryl |
last post by:
I have a situation where a webservice has worked fine in a development
environment, but when placed into production has stopped working
(although at one time it was).
Using WSE 2.0/DIME, we wrote a simple File Transfer and retrieval
service, which has to pass through a firewall (the only real difference
between dev and production -- at the time).
Originally, the error was this:
|
by: S. Berwanger |
last post by:
Hallo,
I have a PDA (WinCE 4.2) application which using a XML-Webservice for data
exchanging.
Both parts are developed with VS2003. When I'm using IIS5.1 the system runs
without problems.
But if I use an Win2003 Server with IIS6 for my webservice I am receiving
the error:
Server found request content type to be 'text/html', but expected 'text/xml'
|
by: Jon |
last post by:
Anyone seen a webservice return this error:
Error: Client found response content type of 'text/html;charset=utf-8', but
expected 'text/xml'.
The request failed with the error message:
--Error 500:--
I'm hitting a web service which retuns XML data in a string. It works fine
for smaller requests (300K for example)
| |
by: Mark |
last post by:
I have written a PocketPC application that connects to a web service, and
when im connected via the cable or via wireless then it pulls back the data
correctly.
However when connected to GPRS, i get the following error
"Server found request content type to be 'text/html', but expected 'text/xml'"
Does anyone know why this is happening?
|
by: Jesús Bosch |
last post by:
I get this error after trying to call a method in a webeservice. This
webservice returns an html page (as string), but I recieve this error.
Someone knows a solution for this?
Thanks!
Jesús Bosch Aiguadé
www.jbmixed.blogspot.com
|
by: RdS |
last post by:
Hello,
I use sourcesafe and vb 2003 for my dev environment. on the sourcesafe
server I also have sql2005 and reporting services installed. The web app
references this sql server for db. When I compile the app on my local
machine which is used for development I am able to lauch application with no
problem. When I run my web app on my local machine which uses my IIS 5
(WinXP Pro) the application runs fine. But if I connect to server...
|
by: =?Utf-8?B?S2VzdGZpZWxk?= |
last post by:
Hi
Our company has a .Net web service that, when called via asp.net web pages
across our network works 100%! The problem is that when we try and call the
web service from a remote machine, one outside of our domain, we get the
error.. ** Client found response content type of 'text/html;
charset=Windows-1252', but expected 'text/xml' **. We can discover the web
service by typing in the url of the asmx so we know the server can 'see' it...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |