Archived Months
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
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 > asp.net webservices > january 2004

Filter by week: 1 2 3 4 5

need to find out why the code breaks at line #285 please Help
Posted by Sam at 1/31/2004 11:16:09 AM
Error Message Response object error 'ASP 0156 : 80004005' Header Error /includes/utilities.asp, line 285 The HTTP headers are already written to the client browser. Any HTTP header modifications must be made before writing page content. ------------------------------------------------------...more >>

Logging errors from Web services
Posted by VJ at 1/30/2004 10:35:40 PM
I am trying to write exception logs from my various webservices to a log file in the server. Is better to keep one log file for all services and Index it by the service name or have one separate for each service. I would like to know what happens 2 services at the same time try to write to the f...more >>

Access Denied using Windows Authentication. WSE 2.0
Posted by Chey Zaga at 1/30/2004 7:27:13 PM
When using custom authentication (using the UsernameTokenManager interface.) I am able to log in, but can't authenticate using windows authentication. System: XP pro work station. My domain login had administrative privileges on my machine. WSE 2.0 IIS: I checked off the anonymous access on ...more >>

how keep an array in memory
Posted by Andras Walz at 1/30/2004 6:09:03 PM
Hi there, I have written a webservice with VB.net and it runs fine. The problem is the performance. I am calculating with an array 1000 x 1000 x 5 elements and it take time to load it into the memory each time i send a request. Is there a possibility to keep the array? Thanks Andreas ...more >>

Visual Studio .NET walkthrough help
Posted by Luke Smith at 1/30/2004 3:41:38 PM
Im following the walkthroughs in the VS.NET 2003 walkthrough booklet. Im getting an error when wokring on the webservices one. Chapter 2 page 29, my application compiles but when clicking the LoadData button i get the following message. Ne suggestions? (using vs.net 2003 pro, sql server 2000 ...more >>

filestream binary
Posted by Shazbot at 1/30/2004 7:06:08 AM
I am attempting to create a webservice that pushes back a binary file by request type.. Suggestions?...more >>

Web Services Message Expired - Urgent Help required
Posted by VJ at 1/29/2004 5:04:43 PM
The problem is happening in our test box, were I am testing with no Timeout limit. The webservice I am using to transmit data, fails with a "Message Expired" error. When I debugged and saw values for various parameters, I saw the below. It was interesting to note, the Created did not have any dat...more >>

How-to find IP address of a web service consumer?
Posted by John Smith at 1/29/2004 5:02:24 PM
We can find IP address from the regular web user via the Request.ServerVariables collection. How do we do the same for a web service? Thank you. ~Js. ...more >>



Great tool to help understand a WebService
Posted by Roger R. Smith at 1/29/2004 4:52:39 PM
I came across this tool called the WebService Analyzer at www.strikeiron.com. It allows you to input a wsdl and it will show all of the operations implemented by that service. You can then input values, invoke the service and see the results. It is a great tool that helped me understand the Ama...more >>

Web Service - SOPA Protocol
Posted by Karuppasamy at 1/29/2004 9:29:31 AM
H I have created a Web Service using C# But when i view this WSDL of this Web Service, it looks like thi <?xml version="1.0" encoding="utf-8" ?> - <definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001...more >>

What is the purpose of FormsAuthentication.SignOut()?
Posted by Ali at 1/29/2004 7:57:27 AM
MSDN documentation says: Removes the authentication ticket. That's it. Where does it remove the authentication ticket from (server / client?). Please help. Ali ...more >>

WS-Security Best Practice?
Posted by brian_greiwe NO[at]SPAM hotmail.com at 1/29/2004 7:45:24 AM
I'm new to Webservices, but nonetheless have taken the leap! I have a ws I'm writing that will be used in a subscription. Nothing huge or confidential. The client will pass in standard parms and get back a data string. There is no need for the return value to be encrypted/protected/etc, as ...more >>

Output XML from a .net webservice
Posted by ycmahesh NO[at]SPAM hotmail.com at 1/28/2004 4:20:22 PM
Hello, I want to write a .net webservice which returns the data as a xml. I get this xml from a dataset by calling GetXml method.This web service will be used by clients who donot use .net or microsoft platforms. This size of the xml string could be quite big.I would like to know whats the bes...more >>

HttpContext items and one-way methods
Posted by Ales Pour at 1/28/2004 3:22:13 PM
Hi, I try to put some custom objects into HttpContext.Current.Items collection in one-way webmethod, but they seem not to be there in another invocation. Is it supposed to work? Thank you! Regards, Ales Pour ...more >>

Accessing the server's registry in an ASP.Net Web Service...
Posted by Daniel Bass at 1/28/2004 11:43:47 AM
[ the article ] I've found this article on how to get ASP.Net to read/write from the server's registry, but it got heavily critted as being something that you should not do... http://www.wwwcoder.com/main/parentid/263/site/2281/68/default.aspx [ why is that? ] what's the problem with...more >>

Where does the Locale come from for Web Services?
Posted by eric_mamet_test NO[at]SPAM yahoo.co.uk at 1/28/2004 6:58:46 AM
I am having problems with a small app I wrote where my web services insist in using US dates while my front end uses European format... The app was running fine but then my machine was reinstalled (re-formatted) with Win2K Server and the US locale by default. I then re-installed all apps, incl...more >>

shifting a webservice from one m/c to another
Posted by Jaydeep at 1/27/2004 6:09:33 PM
Hi All, I have created a webservice. I used this webservice in a ASP.NET Web Application project, by adding a webreference http://myMachine/service1.asmx. Now I shifted all code to my live server, which is having just framework installed on it.Now I want to change webreference of the webser...more >>

Web Service client that dynamically changes posting server
Posted by Daniel Bass at 1/27/2004 1:47:59 PM
Hello, Visual Studio .Net really does well in creating the client side proxy for a web service that needs referencing. The one drawback of this approach is that the host can't be change on the fly. Once you've built a application, you're stuck with it singing only to the web services you desig...more >>

Move/Migrate Web Service to another Server
Posted by Chris at 1/27/2004 10:37:03 AM
I have an asmx file on Server A that contains 2 webmethods and works properly. I would like to move this to Server B, which has an identical application structure, minus the asmx folder/files. We tried copying the folder/files from Server A to Server B, and get the following error when tryi...more >>

Web service Asynchronous call fails
Posted by anonymus at 1/27/2004 5:31:05 AM
Hi I created a webservice with a simple we method to increment a number passed from the client(a console app) . Then i call this web service method asynchronus mode from the client. I create a callback function and call EndXXX(XXX denotes the function name) in the callback function. But the fu...more >>

webserivce reference without default url
Posted by Hans at 1/27/2004 3:41:05 AM
Hi I add a webreference to a webservice. I set the URL Behavior to dynamic and set the url with the web.config It works well I check the reference.cs and there I have a default URL pointing to the URL I used to bind the webservice Does anyone now how to have dynamic webreferences and avoidin...more >>

Port mapping a web service
Posted by rayj NO[at]SPAM keen.com at 1/26/2004 5:54:50 PM
I have a web service running on port 7000 on a farm of web servers. When we expose it to the outside world, however, we port map map it to port 80 with a BigIP. Unfortunantly, the auto-generated WSDL is incorrect at this point. At the bottom of the WSDL in the soap:location tag it still refe...more >>

IMPERSONAT webservice to separate sql box
Posted by William Newsom at 1/26/2004 4:59:36 PM
I have a similar problem i have set up a 1 sql server 1 web server 1 client and cannot pass through my identity turned on impersonate in webconfig only NT auth is on for IIS turned on trust delegation on the www server sql has the domain users setup on db dont know whats going on EVERY NEW...more >>

Web Service and Impersonation
Posted by Robert E. Maurer at 1/26/2004 3:36:38 PM
Hello. Hopefully someone can help me (or at least explain what is going on to me.) Before .Net, I would develop and application that had a web GUI, some COM components, and some SQL Server tables. Then I would deploy the ASP files and set up the web site to allow anonymous access and impers...more >>

can a webservice be accessed by java on a mobile phone
Posted by rooster575 at 1/26/2004 12:39:22 PM
Can this be done? Can a java program on a mobile phone send TCP data to an ASP.NET web service for processing? Thanks. ...more >>

Web Service Concurrency
Posted by Chris Amaru at 1/26/2004 10:38:24 AM
When calling a method of a web service, will multiple calls from different clients execute concurrently automagically, or do you need to explicitly code threads into the web service? For example, for a web service that simply waits for 30 seconds and then returns, which of the following will h...more >>

ASP DATE between NOW and 24 HOURS earlier.
Posted by Darren at 1/26/2004 1:39:19 AM
Hello, How would I write in SQL or ASP the following?: Count number of Database Records between NOW and 24 HOURS EARLIER? I know how to retrieve recordsets etc - its just the date thing I cant grasp. I am stuck getting the 24 hours earlier data capture. Thanks! Gary. PS - Sorry for th...more >>

Web service for ColdFusion MX consumption
Posted by Stefan Barlow at 1/25/2004 10:22:03 PM
I need to create some services for an application that needs to be called from a ColdFusion MX software. What is the best/easiest way to return a DataTable in a format that will be compatable? I have created a few functions that return DataSets, but after looking at the XML I'm afraid ColdFusi...more >>

currency conversion webservice
Posted by tangolp NO[at]SPAM yahoo.com at 1/25/2004 11:06:56 AM
I'm looking for a good webservice to use. Do you know any? Thanks....more >>

getting started
Posted by Lynn at 1/24/2004 10:53:38 AM
hi, i want to implement MS content management 2002 server. can you give me some tips on how to get started? eg. which book and website to start off reading on ASP.NET ? ...more >>

xml serialization of private fields
Posted by Mark Itzcovitz at 1/23/2004 1:09:24 PM
I have a web method that returns a struct, and all the fields in the struct, which are marked as public, get nicely serialized to xml. However, what I really want is the fields to be private so the struct can only be treated as a "black box". From everything I have read it seems that there is no ...more >>

Web servive asynchronous call fails
Posted by nirk at 1/23/2004 1:16:05 AM
Hi I created a webservice with a simple we method to increment a number passed from the client(a console app) . Then i call this web service method asynchronus mode from the client. I create a callback function and call EndXXX(XXX denotes the function name) in the callback function. But the ...more >>

ASP.NET, DataList, and WebServices
Posted by Roger R. Smith at 1/22/2004 5:00:35 PM
Anyway I am having a problem with Web Service and DataList in ASP.NET. so the best way to explain it would be with the MSPetShop 3.0 Application. I submitted an order using the Forms on http://localhost/MSPetShop. then I created my own ASp.NET Project and I have a form on which I have a DataList,...more >>

Usual Values for WebService.Timeout?
Posted by at 1/22/2004 1:48:44 PM
Hello NG! The default for the timeout of an WebService is 100 seconds. I think, this is a long time to let the user know, that the server isn't reachable (with the specified url). So what are usual values in a scenario where mobile devices connect to a server over the internet? I thought of m...more >>

Using OpenTravel specification in Web Services
Posted by Shaji Sethu at 1/22/2004 10:15:33 AM
Hi, I have been investigating the use of OTA specification for developing web services (http://www.opentravel.org). These schemas were developed primarily for Travel Industry and cover all facets from airlines to hotels. At the outset OTA decided to support ebXML instead of WSDL and WS-I. Now I...more >>

Calling Webservice from MS Word
Posted by suneet.shah2 NO[at]SPAM verizon.net at 1/22/2004 7:00:37 AM
Hi, I was wondering if its possible to call a web service from MS Word, Excel or Outlook. If so, are there any examples avaialable? Thanks Suneet...more >>

consuming web service
Posted by JPinto at 1/22/2004 12:30:02 AM
hi there, I'm new on web services... I've already created a webservice and created the proxy class using wsdl. How can I create a .asp page that uses this webservice without using VS.net ...more >>

Web Service Performance
Posted by nirk at 1/21/2004 7:41:07 PM
Hi my objective is to create a web service which will be running on a remote PC.The client PC will host a web application. The request/ response will be in asynchronous mode (currently i am thinking in this direction Pls let me know if any alternative is there).The web service will generate a fi...more >>

How to CHANGE the Credentials for a web service proxy when using CredentialCache ?
Posted by Liviu Olaru at 1/21/2004 9:45:58 AM
Hi I'm trying to invoke a Web Service which is using BASIC authentication. Code for invoking: CredentialCache cc = new CredentialCache(); //the network credential used to authenticate client NetworkCredential networkCred = new NetworkCredential("USERNAME", "PASSWORD"); ...more >>

SSL and Web Services in dev. environment
Posted by Andy at 1/21/2004 1:46:06 AM
Hi I need to setup a development environment where I can call XML Web Services over HTTPS. I have created a .cer file using the makecert.exe utility but have now come to a grinding halt??? I am using XP Professional for my dev. machine is this a usable platform as I can't see Certificate Servi...more >>

How to return a custom defined soap error message
Posted by Mullin Yu at 1/20/2004 6:31:51 PM
if the web services has a run-time error, how can i send a custom soap error message, like embed the error stack trace: try { ....... ....... } catch(Exception ex) { // format the custom soap error message msg = formatSOAPMsg(ex.ToString()); // send the soap error m...more >>

Repost - Typed dataset returned from webservice incorrectly defined in proxy - null value problem
Posted by Randy Hayes at 1/20/2004 4:16:06 PM
Repost...didn't get any responses on the first try... I have a web service that has a xsd defined for a dataset. The xsd has all of the proper tables/elements, constraints, relations, etc. and works fine from the webservice standpoint. I have also defined certain elements in the xsd to retu...more >>

Returning complex types
Posted by Lachlan Gemmell at 1/20/2004 2:24:09 PM
I'm having problems returning complex types from my web service. The error I receive is "Value of type 'MyApp.localhost.TransferObject' cannot be converted to 'Transfer.TransferObject'" Inside my transfer.dll the following class (simplified here) is declared <Serializable()> Public Clas...more >>

IIS 6.0 problems
Posted by Mike Schilling at 1/20/2004 11:42:08 AM
We've recently started porting our web service application to IIS 6.0. To minimize the behavior changes, we've put it into its own application pool, which never creates replicates. Also, since the application maintains intenral state, we don't want the pool process recycled, so we've turned off...more >>

Calling Webservice over SSL w/Client Certificate from aspx
Posted by Sunil at 1/20/2004 10:58:43 AM
Hello Gurus, Trying to consume a webservice through aspx page over SSL with Client Certificate and getting below error. System.Net.WebException: The request failed with HTTP status 403: Access Forbidden. at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClient Message ...more >>

Problem testing XML web service
Posted by Greg Freeman at 1/20/2004 9:10:38 AM
I'm new with IIS & having a problem testing a sample XML web service. When I go to http://localhost/Calculator/Calculator.asmx The asmx file loads in VisualStudio.NET & I don't see the web service run. Suggestions? *** Sent via Developersdex http://www.developersdex.com *** Don't j...more >>

Help! My WebService method doen't return XmlDocument objects
Posted by Valmir at 1/19/2004 8:19:10 PM
I've built a web service that has a method which should return XmlDocument object's. The problem is: in the client, inspecting the web service reference in Object Browser, it always says that it returns an XmlNode. The portion of the code where I try to assign the return call of this meth...more >>

Typed dataset returned from webservice incorrectly defined in proxy - null value problem
Posted by Randy Hayes at 1/19/2004 7:04:49 PM
I have a web service that has a xsd defined for a dataset. The xsd has all of the proper tables/elements, constraints, relations, etc. and works fine from the webservice standpoint. I have also defined certain elements in the xsd to return empty when null. Now I realize that this puts in so...more >>

Problem using Assembly.LoadFrom within a web service
Posted by surya at 1/19/2004 5:10:17 PM
Hi, I am using Assembly.LoadFrom within a web service to load assemblies from a web site. This web site is in the same machine where I am running the web service. The Assembly.LoadFrom(httpsite) method throws a file not found exception. I used the same code within a windows based ap...more >>

SOAP Extension Attribute with overloaded constructor
Posted by john conwell at 1/19/2004 4:01:08 PM
I'm creating a custom soap extension and i've got my two classes that inherit from SoapExtension and SoapExtensionAttribute respectivly. I've wrtitten my custom attribute to have an overloaded constructor to take a filename string. The problem is that i cant figure out how to access the custom att...more >>


DevelopmentNow Blog