| WS Progress Bar Example (4 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Does anyone have a example based on the MSDN article below : At your service : Adding a Progress Bar to Your Web Service Client Application By Matt Powell http://www.msdn.microsoft.com/library/default.asp? url /library/en us/dnservice/html/service11052002.asp Best regards |
|
| WebMethod Security (3 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Can different WebMethods in a single Web Service be authenticated separately with Windows security? Any exmaples available? Many thanks |
|
| returning an object from a web service (6 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hi I am trying to return an object obj1 from a web service (ws1). When I add a reference to a client (localhost1) and call the web service, it returns the object of type localhost1.obj1 rather than obj1, and it cannot be type casted back to obj1. Is there any way I can make the web service return the object of the type obj1? Thanks |
|
| Moving web service references? (4 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| We are trying to set up an app that uses web services. The web services will be on our local server for development, but once deployed the web service will be moved to the client's intranet. How do we make the web service reference and proxy client re point to the client's version of the web servic w/o re compiling at the client's site? This switch in reference needs to be configurale. Any ideas? ... |
|
| after i binf a dataset ad date source to a DaraGrid theres that plus icon. how do i over ride it? (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| after i binf a dataset ad date source to a DaraGrid theres that plus icon. how do i over ride it? i want the results of the Dataset which i bind to be shown with out the need to click on this plus icon ... how do i maek that ??? |
|
| DataSet.Tables(0).Columns(i).MaxLength didn't works... (3 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hi! I'm working with Datasets to handle osme SQL Server 200 data, I can obtain different properties from the Columns object; I can obtain the column's name: DataSet.Tables(0).Columns(i).ColumnName I can obtain the column's type: DataSet.Tables(0).Columns(i).DataType But I can't obtain the size of the field or the presicion... I'm trying to use DataSet.Tables(0).Columns(i).MaxLength but it didn't w... |
|
| 'Access Denied' when webservice called from WinForm client; no problem when called via IE6 (3 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| All: I'm getting an 'HTTP: 401 Access Denied error' when I call a web service method (the method does nothing but return a boolean 'true') from a WinForm client; but not when I invoke the method from IE6. The client and the web service are running on the same computer. The Web Service is set up to run under "Integrated Windows Authentication" only. Any ideas why I'm getting the error out of a WinF... |
|
| Open an odbc connection in a web service project (3 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hi, I try to open a connection with Ms access using a DSN in the connection string. here is my webmethod: WebMethod(Description: "Open an ODBC connection with DSN") Public Function RetrieveCustomers() As String Dim MyConnection As OdbcConnection Dim MyAdapter As OdbcDataAdapter Dim MyDataset As DataSet Dim connectionstr As String sqlstr "SELECT * FROM T Customer;" connectionstr "dsn dbtest" MyConn... |
|
| Controlling requests made to a web service (2 replies, VIP) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| My web application involves capturing an event on the client side which executes a web service method. After control returns from the web service, the page is submitted normally and a new UI is presented based on information the previous web service call. The problem I'm having is that while the server is processing request x, the user may do something that initiates request y. However, once reque... |
|
| Internet Connection Speed (3 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hi, Can we calculate the Internet Connection Speed programatically using VB or C#? Ani |
|
| A few technical questions (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hi Folks, Just tinkering with web services (well, actually i'm writing a web service proxy, but anyway...) Had a few problems that I thought some of you may see where I'm going wrong: 1. Wanted to access the ASP.NET cache object (to add/access a few items) but I seem to be having problems. Is there an interface that I should be implementing? Of course, i don't forget the namespace: using System.We... |
|
| Server becomes unavailable (4 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I have a couple of web services that take a very long time to execute due to big queries. When I test them out, after about 3 minutes I get the "Server Unavailable" red letters and my event log says the web service has timed out. This occurs even after I bump the command timeout for Sql Server to 0 (indefinetly), so I don't think it's Sql. I'm testing this through the Default test page, not consum... |
|
| dynamic control creation in a web form (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| hello, In a web form, I would to add control at execution time ( label, textbox,...). Is it possible? thanks Sébastien |
|
| Accessing TerraService (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hi All, I am trying to access the Terraservice via http://terraserver.homeadvisor.msn.com/TerraService.asmx using a C# Windows App. My internet connection is via a proxy server. I was able to add the reference to the webservice successfully. But when I run the application and call the method GetAreaFromPt, I get the following error message: "An unhandled exception of type 'System.Net.WebException'... |
|
| Multiple Crystal Web Services (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I'm trying to get multiple Crystal Reports published in a single project/assembly. I know how to get multiple web services in a single project/assebmly by changing the Namespace parameter on the WebService attribute, but this does not seem to work with the Crystal Reports published as web services. Scenarios: 1) Create new web service project. 2) Add two CR (crystal reports). 3) Click "Publish as ... |
|
| trying to pass a multidimensional array to a web service (4 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hello Everyone, I would like to have a web service accept a multidimensional array as a parameter. Unfortunately, I am getting the following error You must implement a default accessor on System.Array because it inherits from ICollection Can anyone help me ? Is it not possible for a web service to accept parameters other than basic data types. Thanks. |
|
| TimeOut of a WebService (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hi, I need to set the Timeout of a webservice to a specific value. Everybody says that you can in the client side, but I cannot find the way. I looked in the WebClientProtocol, buy I don't know how to reah that object does anyone have an example in c#? thanks in advance garci |
|
| Can a control's render draw asp controls? (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hi! I'm building a web control, and I want that when an User adds myControl in design mode of his project, the controls draws its own buttons and other stuff... but it doesn't happens, it jsut draws a sqare of width 0 and it can't grows... even in execution time, the control doesn't shows its content, my control's code looks like this: Imports System.Web.UI Imports System.ComponentModel DefaultPro... |
|
| PrincipalPermissionAttribute Bug? (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| To reproduce create a standard Hello world template c# web service in VS.NET. Add using System.Security.Permissions to libraries. Uncomment hello world example adding [PrincipalPermissionAttribute(SecurityAction.Demand, Authenticated true, Name @"DEAN")] under [WebMethod]. Use IIS to setup HTTP Authentication on web service. Logon to web service through IE using account in PrincipalPermissionAttri... |
|
| Encrypting the SOAP response with X509 and WSE (3 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hi, I have a problem encrypting a SOAP response using X509 certs and WSE. Although I can encrypt the response using the client public key sent in a X509 signed request and the response reaches the client (observed using the trace) I get a client error of : System.Security.Cryptography.CryptographicException: Bad Key. at System.Security.Cryptography.RSACryptoServiceProvider. DecryptPKWin2KEnh(Int P... |
|
| EventLog (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hi, The I can call EventLog.SourceExists() and EventLog.CreateEventSource() function in windows application. But when I call them in Web Service, it give me exception "Requested registry access is not allowed.". What permisstion I should give to the registry key. Please help. /Thomas |
|
| WebService updating using a stored procedure (3 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I require a web service to update a db using a stored procedure. I am passing in an xmlstring containing all of the connection information and SP parameter info. I have managed to make it work using the SqlDataAdapter and the Fill method, although I am not convinced (I'm almost positive) that this is the correct way to do it. Another downside, for obvious reasons, is that I do not get the number o... |
|
| Web-service timeout when accessed via app (3 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I've been working on a webservice to be called from a VB.NET application, and for some reason, the strangest thing is going on. If I load up the ..asmx page in my browser, I can manually invoke the commands for the web service without a problem, and they come right back. However, via my VB.NET program, which I used VS.NET to import the web service, I get the following error when I try to call a fu... |
|
| Consuming Web Service using .NET client without proxy (3 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I would like to consume a web service (exposed as WSDL) in a .NET client WITHOUT using a proxy to that service. This client will be asked to call a web service by only knowing the following: WSDL (and its location) Method name Input (and type) Output (and type) I have found sample code to automatically build a proxy class from a WSDL. This works, but seems terribly inefficient for a client that co... |
|
| Loosing Session state (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hi, I want to create a hitcounter based on a session (per user). The code from this is: Imports System.Web.Services WebService(Namespace : "http://tempuri.org/") Public Class Service1 Inherits System.Web.Services.WebService #Region " Web Services Designer Generated Code " Public Sub New() MyBase.New() 'This call is required by the Web Services Designer. InitializeComponent() 'Add your own initiali... |
|