Archived Months
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > dotnet web services > may 2005 > threads for may 15 - 21, 2005

Filter by week: 1 2 3 4 5

accessing text file from C# web service
Posted by kittu at 5/20/2005 2:41:04 PM
hello group, I'm trying to invoke unmanaged C language Dll from C# Web service. The configuration file for the C Dll's are in a text pad. I want to fetch the configuation file values. How can i access a textfile content from web services? What kind of permissions i should set? I appreci...more >>


Webservice updating local Odbc datasource..
Posted by MethMath at 5/20/2005 1:02:02 AM
I have problems with a webservice receiving data in turn updating an Odbc-linked Access database on the same computer. The Odbc engine gives me an OdbcExceptionError: Message: [Microsoft][Driver for ODBC Microsoft Access] Operation must use an updateable query. NativeError: -3035 Source: ...more >>

Send cookie with request
Posted by Eric at 5/19/2005 1:06:19 PM
I need to send a cookie with a web service call. I create a cookie and a container, associate it with the web service call. But when I check with the network monitor, there is no cookie in the http stream attached. What could be the problem? PS: I don't need session Thanks Eric ...more >>

Send cookie with request
Posted by Eric at 5/19/2005 12:56:03 PM
I need to send a cookie with a web service call. I create a cookie and a container, associate it with the web service call. But when I check with the network monitor, there is no cookie in the http stream attached. What could be the problem? PS: I don't need session Thanks Eric ...more >>

Send cookie with request
Posted by Eric at 5/19/2005 12:43:00 PM
I need to send a cookie with a web service call. I create a cookie and a container, associate it with the web service call. But when I check with the network monitor, there is no cookie in the http stream attached. What could be the problem? Thanks Eric Dim si As New CLServiceIde...more >>

Session state problem when using Web Services
Posted by JMMB at 5/19/2005 9:41:01 AM
The following code works fine when testing with the help web page, but it doesn't work when running from the client application. Anybody knows what could be the problem here? thanks a lot. JMMB [WebMethod(EnableSession=true)] public string CreateSession() { Session["nome"] = "Marcelo"; r...more >>

Problem with parameter
Posted by Martin at 5/18/2005 6:52:13 PM
Hi all, I have a Webservice in C#, I call this webservice function with a parameter as String object (named pMessage) In the function the String object pMessage will be set to corresp. messsage. But in client program, this parameter is unchanged. Why? How can I do? The code is following: [...more >>

access to NameSpace attrib from SoapExtension
Posted by alex bean at 5/18/2005 4:42:01 PM
How do i get them value of the web service namespace from inside a SoapExtension? For example my web service is defiend as: [ WebService(Namespace="http://www.test.com/ws/")] public class MyTest: WebService { [WebMethod] public string HelloWorld(y) { .. . . From inside a Soa...more >>



Stopping an IIS site programmatically from a Web Service
Posted by Ian at 5/18/2005 9:42:02 AM
I'm investigating a requirement where we've got a number of servers running the same web service using network load balancing to provide resilience. In the event that the web service encounters a fatal error is it possible to get the web service to programmatically stop the IIS site it's runni...more >>

Sending uname/pword in soapHeader
Posted by neelbh NO[at]SPAM gmail.com at 5/18/2005 9:18:48 AM
HI all: I have consumed a wsdl file, it has 2 elements username and password. I am not able to set it in a header. I am able to create a new instance of the class, then see username and password element, but if i pass the values, it is not going in header. Peoplesoft on other end requires...more >>

Returning different types of objects in a column in a dataset
Posted by Myron Marston at 5/18/2005 7:59:46 AM
For a WebService I am developing, I return a DataSet that contains a table listing Field Names and Field Values. The FieldValue column is given the type object becuase it can potentially contain any of the primative value types (date, int, decimal, string, bool, etc). However, when my client co...more >>

XML document when calling web service from .Net desktop client
Posted by Paul at 5/18/2005 5:00:06 AM
Hi, Some help would be appreciated. I have the following: 1. A desktop app with a web reference to a web service. 2. I call this service from the code, supplying input for the method and receiving the output. Question: How do I, in my client app, trap or view the actual XML doc tha...more >>

another securing web services question
Posted by boonlee at 5/17/2005 7:39:01 PM
my web services are on a webserver and my concern is that if someone who has a valid domains login to my web server, and know how to call up this web services, which will make him the ability to access my data. so my questions is that is there a way to protect my webservices from the unknown u...more >>

Running a Com object from a Web or Windows Service
Posted by Eddie D at 5/17/2005 10:22:18 AM
I've got a working WINFORM application that I'm trying to convert to a Service (either Windows or Web). Objective is to open Microsoft Access / Run a Report to Disk / Close Access. (KB article q317113). My problem is that certain lines of code result in errors and not sure how to work a...more >>

I'm a MVP member and looking for a job in Canada or USA.
Posted by KkungTtak at 5/16/2005 6:10:47 PM
Dong-Ok An 1003-70 Garry St Winnipeg, Manitoba Canada, R3C 3J9 Dear Sir/Madam, Briefly, I have 5 years of experience as a software programmer in Korea. While working for companies, some of my positions included System Developer, Project Director. One years ago, Apr 2004, I was awarded M...more >>

DateTime Serialization Framework 1.1
Posted by ns21 at 5/16/2005 3:21:10 AM
Our application is windows desktop application. We are using VS.Net 2003, C#, Framework 1.1, SQL 2000. We use webservices to add/update/select objects. We are using XML Serialization. Following is a sample object at CLIENT [System.Xml.Serialization.XmlAttributeAttribute()] public System.Date...more >>

Web Service And Datareader
Posted by David Perona at 5/16/2005 12:00:00 AM
Hi all, I have a web service that connects to a SQL Server database and return an sqlDataReader Object. When launch the web service in the web browser, this exception is thrown: "Object Reference not established" from System.NullReferenceException. If I change the web s...more >>

generating wsdl on the fly
Posted by Manish Soni at 5/16/2005 12:00:00 AM
I wish to expose a set of backend functions as web services. Now the metadata for the functions is not available before hand. So I want to have a way to dynamically generate the wsdl when user requests for it. I should be able to execute some code to generate wsdl and then return that. How can...more >>

Pocket Application accessing a Webservice on a STANDALONE desktop
Posted by Daniel Liberman at 5/15/2005 2:33:55 PM
Hi, everyone. That's my environment: - I have a pocket pc (iPAQ h4350) application developed with VSNET2003/C# that has a SQL Server CE Database, running. That's working fine. Obs: the pocket is NOT supposed to have a wireless conection available. - I have an access database on a...more >>

does HttpWebResponse.StatusCode download the entire requested page
Posted by thomasamillergoogle NO[at]SPAM yahoo.com at 5/15/2005 2:30:40 PM
Hello, I have build a function that checks an internet connection (see below) Is there a way to do this so the entire CheckConnection.htm page is not downloaded? I only want to get the "OK" response without getting the entire file. public static bool IsConnected() { Ht...more >>

Why use SOAP Toolkit for COM?
Posted by LP at 5/15/2005 12:00:00 AM
Hello, I am looking into ways to consume Web Service (developed in .NET/C#) from legacy COM based applications. Porting COM applications to .NET is not a viable option at this time. I am aware of SOAP Toolkit, but from what I am reading on msdn it's being retired by microsoft in favor of .NE...more >>


DevelopmentNow Blog