| readers choice awards... (6 replies) |
| ASPFriends.com 'aspngwebservices' list |
| Place Votes... http://www.sys con.com/webservices/readerschoice/index333.cfm Amazing how little .NET was nominated. Robert Chartier Author and Developer 604 975 5590 rob@aspfree.com http://www.santra.com http://www.aspalliance.com/nothingmn http://www.15seconds.com/issue/wa.htm#chartier http://www.aspfree.com/devlinks http://www.aspfree.com/authors/robert http://www.aspfriends.com/aspfriends/fancl... |
|
| User validation using headers (7 replies) |
| ASPFriends.com 'aspngwebservices' list |
| I'm thinking about adding some sort of unique ID to the web service to require user to register and receive the ID before using the service. I wonder what people think about doing that using SOAP headers and/or HTTP headers? While it's not that hard to implement in .NET, is it viable in real world? Are a lot of implementations provide for that? Sergey. |
|
| ? One Project = One WebService ? (2 replies) |
| ASPFriends.com 'aspngwebservices' list |
| How I make to put more than one WebService in the same ASP.Net WebService Project ? Can accept a Class Parameter or other complex data type in a WebMethod ? Roosevelt |
|
| WebServices X WebServices (2 replies) |
| ASPFriends.com 'aspngwebservices' list |
| Ok, I can pass Class or other complex type parameter to a WebMethod of the my WebService, but, why can t I pass a proxy class to another WebService how parameter to a WebMethod. Whether it s possible how I do it ? Should I to implement an interface ? Roosevelt Mensagem original De: Roosevelt dos Santos JĂșnior [mailto:rooseveltdossantos@zaz.com.br] Enviada em: quarta feira, 6 de fevereiro de 2002 2... |
|
| TLS communication (3 replies) |
| ASPFriends.com 'aspngwebservices' list |
| Hi I am trying to set up a TLS (SSL) connection between a Web application and a web service. All is set up: I have my server certificate, my root CA & my client certificate. IIS has been set up to accept a secure communication and require client certificates. When I try to access the Web service through the Web application, I get an HTTP status 403 Access Forbidden error. I presume that I need to ... |
|
| Error creating simple web service.... (6 replies) |
| ASPFriends.com 'aspngwebservices' list |
| Moved from [aspngfreeforall] to [aspngwebservices] by Charles M. Carroll charlesmarkcarroll@yahoo.com HI, I created a simple web service two add two numbers together, but when I run it I get an XML error. I get to the page which lets me select the Add method, I enter the two required digits and then it gives me the error. Here is source code, error is below... %@ WebService Class "WebMethod1" % Im... |
|
| WebMethod Attribute on a database object? (6 replies) |
| ASPFriends.com 'aspngwebservices' list |
| Moved from [aspngfreeforall] to [aspngwebservices] by Alex Lowe webmaster@asp grandrapids.net I am working on a database object. Currently all my methods return DataSets for the page to use. However I would also like these same methods to be called by a web service and return XML. It would be nice if I could just add a "webmethod" attribute so that I could make it a web service. However, it seems ... |
|
| Interop in Web Services (3 replies) |
| ASPFriends.com 'aspngwebservices' list |
| Hey all, I am trying to use MapPoint in a Web Service but the app hangs on the line when I am instantiating the MapPoin Application object. If I look in the task manager, the MapPoint.exe app is there, but the Web Service just hangs. I have given the ASPNET account Administrator privilages (default setting cannot access COM objects) but this does'nt seem to help. If I run exactly the same code in ... |
|
| Data Access in Web Service (3 replies) |
| ASPFriends.com 'aspngwebservices' list |
| Guys, I'm about to create my first actual Web Service. The web service I guess is pretty simple. Just queries a database based on an inputted word and returns a result. My question is: Which class in the System.Data namespace would be most efficient for this purpose (connecting to DB and returning result from user query)? Thanks! |
|
| Web Service Error (3 replies) |
| ASPFriends.com 'aspngwebservices' list |
| Hi, I am trying to develop a simple web service for retrieving data. The application builds fine in the Visual Studio IDE, but while trying to test the Web Service. I get the Compilation error mentioned below. Not able to trace out the exact cause for the error, on looking for the documentation for error CS0234, says The type or namespace name 'name' does not exist in the class or namespace 'scope... |
|
| Web Service using VS.NET (4 replies) |
| ASPFriends.com 'aspngwebservices' list |
| Hi, I have created a very simple web service within Visual Studio .NET release version. Within this solution I have added a web and windows application projects to test my web service with. Within each of these projects, I used the "Add Web Reference" option on the popup menu to add a reference to the web service. Now, I executed the windows application, and everything worked fine. However, no mat... |
|
| Best practices for error handling (8 replies) |
| ASPFriends.com 'aspngwebservices' list |
| What are best pracitces for error handling using web services? In my sample code below, I have a web service that is supposed to return a float. However, if the parameter that is passed is not valid, I throw an error. Unfortunately the web service breaks when I throw an error. I don't want to return a float value (such as 1) because my code does calculations. Maybe there is a better way to do this... |
|
| Soapheader validation on a web service (5 replies) |
| ASPFriends.com 'aspngwebservices' list |
| Can anyone help me out with SoapHeaders? I have set the Required attribute on my SoapHeader assuming that any client who does not pass in a SoapHeader would immediately be caught and a SoapHeaderException would be raised. What is happening is myHeaderVariable is nothing so I am getting a null object reference error. Is there a way for my web service to check whether the SoapHeader is present or do... |
|
| Building Web services without VS.NET (5 replies) |
| ASPFriends.com 'aspngwebservices' list |
| Is there a site out there with a breakdown of how to build a Web service using .NET, but without using Visual Studio.NET? I've built assemblies and ASP.NET pages using Notepad and the compilers, but there are some steps I'm missing for building Web services the same way. Can someone point me in the right direction? I'm not necessarily looking for step by step handholding. I'd like to help my reade... |
|
| Solution (3 replies) |
| ASPFriends.com 'aspngwebservices' list |
| Just in case anyone else ever gets this problem, my solution was that the Internet Explorer security settings had changed. I reset them to default and everything worked. Cheers anyway, Matt "Matt Hall" matthall27@hotmail.com wrote in message news:594470@aspngwebservices... Hi, I have created a very simple web service within Visual Studio .NET release version. Within this solution I have added a we... |
|
| Remote IP in WebService Method (2 replies) |
| ASPFriends.com 'aspngwebservices' list |
| Moved from [aspngcommunity] to [aspngwebservices] by Charles M. Carroll charlesmarkcarroll@yahoo.com I have a simple WebMethod and need the requesting system's IP address. How do I get it? [WebMethod] public void LogUsage(bool login, int UserID) { string IPAddress ... } Noah |
|
| Error Handling Continued (4 replies) |
| ASPFriends.com 'aspngwebservices' list |
| There have been a number of posts on error handling lately and I wondered what people thought of raising custom errors within their web services and then the best way of catching the exception? I use the following function to raise SoapExceptions: Public Shared Sub ThrowCustomException(ByVal sMsg As String, ByVal FaultCode As XmlQualifiedName, ByVal ProcName As String, ByVal Action As String, ByVa... |
|
| Creating an event source within a web service? (3 replies) |
| ASPFriends.com 'aspngwebservices' list |
| I've come to find out that trying to write to the event log from a web service causes a security exception to be thrown because creating the event source accesses the registry. Now this isn't an uncommon task so I must be missing something as every non trivial web application built with ASP.NET will have to do this. Does anyone know the preferred solution? P.S. I'm using the RTM bits. |
|
| SOAP & WSDL in Webservices (3 replies) |
| ASPFriends.com 'aspngwebservices' list |
| Hello, I have created a webservice that I use in my asp.net page to access some database data. I want to have my webservice be compatible with soap messages. How do I go about doing that? Any good resources or examples? What exactly is soap. I know its a message that gets sent, but is it xml that I need to parse the data. Do I need to specify whats in the xml document? Also, WSDL, are webservices ... |
|
| Consuming .net Web Services in the browser (3 replies) |
| ASPFriends.com 'aspngwebservices' list |
| Hi, I have seen examples of how to use a webservice in the browser which use the MSIE only webservice behaviour. Can anyone point me in the right direction to enable me to consume a .net Web Service which does not use browser specific behaviours, i.e. works in modern Dom compliant browser such as MSIE, Opera & Netscape? Thanks Ben Williams |
|
| Access denied to COM object (3 replies) |
| ASPFriends.com 'aspngwebservices' list |
| OK here is a hard one (at least for me : ): I have a very simple COM interop sceanrio where I have a home grown COM object which gets called from my ASP.NET Web Service. Needless to say that this worked in Beta 2 as there we had the 'god' account SYSTEM credentials under which aspnet wp.exe ran. Now with RTM we have ASPNET account. And I am running on .NET Server Beta 3. So the process is w3wp.exe... |
|
| Overloaded WebService Method (2 replies) |
| ASPFriends.com 'aspngwebservices' list |
| Hi, I have an overloaded method on a web service, which is working fine with synchronous calls by the consumer: localhost.Reporting myService new localhost.Reporting(); DataSet myDataSet; if (condition1) myDataSet myService(); else if (condition2) myDataSet myService(myParam1); else if (condition3) myDataSet myService(myParam2); Now, I have changed the architecture so that the call is now asynchro... |
|
| WebServices 404 Not Found (8 replies) |
| ASPFriends.com 'aspngwebservices' list |
| List: I have a webservice at: http://65.118.245.27/keywordservice/domains.asmx When I use it in my asp.net web application, I get the following error: The request failed with HTTP Status 404: Object Not Found. The line it gives me is in my cs file that VS.NET made from the proxy. Anyone ever got this error before?? I am running Final Release .NET Framework and .NET Enterprise Architecture. Sincere... |
|
| REPOST: Access denied to COM object (8 replies) |
| ASPFriends.com 'aspngwebservices' list |
| Anyone please? Really annoying and urgent ... Thanks, Christian OK here is a hard one (at least for me : ): I have a very simple COM interop sceanrio where I have a home grown COM object which gets called from my ASP.NET Web Service. Needless to say that this worked in Beta 2 as there we had the 'god' account SYSTEM credentials under which aspnet wp.exe ran. Now with RTM we have ASPNET account. An... |
|
| return data (4 replies) |
| ASPFriends.com 'aspngwebservices' list |
| I have a webservice that returns a dataset. How can I check if it's returning a valid dataset, ie, a dataset with tables in it. Right now I am binding the dataset to a dropdownlist server control, but no data is showing up in the dropdownlist. I tested the webservice using it's WSDL and it worked fine, the problem arises when I bind it to a server control, ie. no data is displayed in the control. ... |
|