473,513 Members | 2,290 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Web service asks for Login (unexpectedly)

I have a simple 'hello world' web service here
http://www.askhiran2008.com/asliwebs...2/service.asmx. It should
return data from the Northwind sample database.

It works fine when being consumed by a simple ASP.NET application. See
here http://www.askhiran2008.com/AsliWSClient2/default.aspx

BUT when I try to Import it into Excel 2003 I get a login screen.

I have tested what I'm doing my putting this into the Excel 2003
Import XML
http://www.webservicex.com/airport.asmx?WSDL - and I don't get asked
for a login.

Here is all my code in my .asmx file (ASP.NET 2.0)

Imports System.Web
Imports System.Web.Services
Imports System.Web.Services.Protocols

<WebService(Namespace:="http://tempuri.org/")_
<WebServiceBinding(ConformsTo:=WsiProfiles.BasicPr ofile1_1)_
<Global.Microsoft.VisualBasic.CompilerServices.Des ignerGenerated()_
Public Class Service
Inherits System.Web.Services.WebService

<WebMethod()_
Public Function GetProductsAll() As Products.ProductsDataTable
Dim taProducts As ProductsTableAdapters.ProductsTableAdapter
taProducts = New ProductsTableAdapters.ProductsTableAdapter()
Return taProducts.GetProducts()
End Function

End Class
BTW both services work without the login requirement when tested in
www.validWSDL.com

What am I missing here?

Thanks for any help,
Hiran
Aug 25 '08 #1
1 1665
"Hiran" <hi***@desilva.comwrote in message
news:2c**********************************@f36g2000 hsa.googlegroups.com...
I have a simple 'hello world' web service here
http://www.askhiran2008.com/asliwebs...2/service.asmx. It should
return data from the Northwind sample database.

It works fine when being consumed by a simple ASP.NET application. See
here http://www.askhiran2008.com/AsliWSClient2/default.aspx

BUT when I try to Import it into Excel 2003 I get a login screen.
Since you know for a fact that your web service isn't asking for a login,
there is no reason for us to look at your code. Neither should you.

How does Excel know to display a login screen? It would have to be because
of network traffic. So you need to look at the network traffic. There is a
list of ways to look at network traffic at
http://johnwsaundersiii.spaces.live.com/blog/cns!600A2BE4A82EA0A6!224.entry.
--
John Saunders | MVP - Connected System Developer

Aug 28 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
8599
by: Graham Siener | last post by:
Hi All, I have a real confusion situation on my hands. I've written a windows service in c# that basically does archiving of data from one database to another. Along the way it parses one...
0
1201
by: Boris | last post by:
I have a service developed in Visual C++ in "mixed mode" (originally developed as unmanaged under VS 6.0, and now uses managed FCL classes). I use FCL System.Messaging.MessageQueue and...
3
8405
by: cmueller | last post by:
Hey all - I'm in a bit of a bind concerning web services and integrated authentication. I'll give you a little background as to what I'm trying to do ... I have a client application that...
6
2342
by: Anita | last post by:
I have problem opening my existing projects or newly created project. It asks me for user name and password and if I provide then it allows me to open but when I debug either it gives error message...
5
2183
by: Buddy Ackerman | last post by:
My app is a .NET forms app that runs in the taskbar and periodically polls a web service. I have a client that wants the app to integrate with their Active Directory. They do not want the user to...
3
2596
by: zxo102 | last post by:
Hi there, I have a python application (many python scripts) and I start the application like this python myServer.py start in window. It is running in dos window. Now I would like to put it...
8
55667
by: Kevin D. | last post by:
Please note, I already posted this on the MySQL official forum, but received no response. I thought I'd try again in another location. My apologies to anyone reading this twice... Despite...
4
3159
by: kkt49 | last post by:
# vim: et sw=4 ts=8 sts from wxPython.wx import * import sys, os, time import pywintypes import win32serviceutil import win32service import win32event import win32process
3
5689
by: tshad | last post by:
I am setting up a Windows Service at a clients site and a window comes up: Set Service Login that asks for UserName and Password. Is this the credentials that the service will logon as or...
0
7269
marktang
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,...
0
7177
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...
0
7394
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7123
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5701
agi2029
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,...
1
5100
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
3248
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3237
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
470
bsmnconsultancy
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...

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.