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 > march 2008

Security
Posted by Marc at 3/31/2008 4:44:02 PM
I will have a web app call into a web service. The web app will be forms based authentication. The web app and web service are behind a company firewall and we are a .Net shop. The web service will be reading/writing to a database so we want to secure it. What then are the options to secu...more >>


totally confiused.. i need help
Posted by Rob Eventine at 3/29/2008 10:47:10 PM
hello, i am trying to access the following dbase table through a web page.. i have tried gridview, datalist, details view, formview... really stuck and i can not find any info anywhere (that is actually written in english) that helps me... i need to edit, update, delete the aspnetdb.m...more >>

Possible to consume a web service with VB.NET 1.1 VS 2003?
Posted by John Dohn at 3/29/2008 9:19:42 PM
I am at my wits end and turn to you guys in hopes of learning the correct procedure. For any given web service X, regardless of (and without knowing) what technology was used to create it, is it possible to consume it with either a win form or an aspx page developed in VB.net 1.1 and VS2003...more >>

add assemby reference without version number
Posted by Norbert_Pürringer at 3/28/2008 9:16:23 AM
Hello there, is there any chance to reference to an assembly without version number. <assemblies> <add assembly="Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> </assemblies> Better for me would be <assemblies> ...more >>

.Net Web Service and unmanaged DLL
Posted by P Chase at 3/26/2008 3:41:10 AM
I am writing .Net Web Service using Visual Studio 2005. Part of its functionality will be implemented by a C DLL, which I am also writing. The Web Service and DLL are separate projects in one Visual Studio Solution. My question is how best to make the C DLL available to the Web Service? I ...more >>

First request takes a long time
Posted by Norbert_Pürringer at 3/26/2008 3:07:14 AM
What are the different reasons, that the very first webservice request last a long time? In my case the first request last about 8 seconds, the second request is processed in a few milliseconds. Is there a way to advance the performance of the first webservice request? Calling my webservice in I...more >>

Wsdl Conform
Posted by Wind at 3/25/2008 11:03:47 AM
Hi, This is the wsdl that we should conform. It was generated with Axis. <?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions targetNamespace="http://Thisisthesite.com" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://Thisisthesite.com" xmlns:intf="h...more >>

Serializing Object Model
Posted by Dave T at 3/24/2008 9:07:06 AM
From a web service I'm serializing out an object model. Is there a way to only include those elements of the object model which actually contain data?...more >>



Invalid xml and 400 Bad Request
Posted by Peter Laan at 3/20/2008 2:47:34 PM
Does anyone know why an ASP.NET web service considers this to be invalid xml: <endTime>9999-12-31T23:59:59.9999999</endTime> while this works: <endTime>9999-12-31T23:59:59.9999999+01:00</endTime> this also works: <endTime>2008-03-21T00:00:00</endTime> The first example is sent from a 3...more >>

Datasets vs Custom Objects for a webservice
Posted by John Sheppard at 3/19/2008 1:49:30 AM
Hello there, We currently use datasets to pass data between our webservice and our client. The perfomance is abismal (this is subjective of course), the users are complaining, im not happy with the speed either. I was wondering about 2 possible solutions a) Has anyone used LLBLgen over ...more >>

can I progarmatically register asp.net to IIS
Posted by chandan at 3/18/2008 10:58:05 PM
Hi, I am using aspnet_regiss.exe utility from command prompt to register asp.net to IIS. But my requirement is to do it programmatically so that client need not worry about this registration. Can we do this programmatically?? Thanks Chandan...more >>

From a WebService Dataset to a local SQL Server
Posted by Carlos at 3/18/2008 5:53:03 PM
I have a web service that pass me a DataSet, I get all data correctly, I can even load it on a DataGridView, buyt I want to pass tha dataset to a Internal SQL Server, exact data structure , with no modification. What is the best wat you pass the Dataset to a table on the Internal SQL Server? ...more >>

Strongly Typed Collections
Posted by Dave T at 3/17/2008 2:42:02 PM
I'm writing a web service that I want to return a strongly typed collection. If I inherit System.collections.generic.list(of T) it returns an ArrayOfT. If I inherit CollectionsBase, it also returns an ArrayOf. I want the root xml element to just be of the class itself (if that makes any sen...more >>

System.Net.HttpWebRequest equivalent
Posted by John at 3/17/2008 2:03:52 PM
Hi What is the System.Net.HttpWebRequest equivalent code for the MS XML related code below? Thanks Regards Set oHttpPost = CreateObject("Microsoft.XMLHTTP") oHttpPost.Open "POST", "www.MyUrl.com", False oHttpPost.setRequestHeader "Content-Type", "application/x-www-form-urlencoded" ...more >>

WCF Service
Posted by DXZ at 3/14/2008 10:35:00 PM
Which tool and where to download for enabling WCF Service on the machine? Thanks for anyone to give a clue....more >>

receiving child nodes not allowed
Posted by Ms Jones at 3/14/2008 5:28:11 PM
I downloaded Visual Web Developer Express 2008 from Microsoft's website. When trying to bring up my web page, I am getting the following error message. Any ideas how to fix this? Microsoft do no offer help for trial versions. Thanks. Warning 1 C:\Users\Linda\Documents\Visual Studio 2...more >>

Caching App Data
Posted by Dave T at 3/12/2008 12:51:00 PM
The data for my web app is an object model that consists of a class with a series of properties typed as generic.list(of SomeClass). The object model gets built up along the way by calls to SQL Server. Some of the data is global data, some of it is user data. Instead of making multiple call...more >>

Client is slow processing a response.
Posted by Jeff at 3/11/2008 2:56:54 AM
Hi, I have a problem when accessing a web service from a client written in c#. The time for the web service call to complete varies from 2 - 20(or more seconds), for the same request/response. At first I thought that the third party web service (asp.net) was the cause of the problem. Howe...more >>

Return an array with null values
Posted by dwischnewski@gmail.com at 3/11/2008 2:40:29 AM
I have the following code (excerpt): <code> public struct UserAddress { public int ID; public string companyName; public string address; public string city; public string zip; } ... [WebMethod] public List<UserAddress>...more >>

Deployment Question
Posted by Scott M. at 3/10/2008 6:02:49 PM
Say I have an .asmx that has been in develoment in my local IIS virtual directory and I've been accessing it with a development version of a client (also in local IIS virtual directory). Everything works fine. Now, I deploy my webservice (.asmx) to a production server (also running IIS, bu...more >>

Troubleshoot IOException on IAsyncResult and HTTPS
Posted by Martijn van Schie at 3/7/2008 12:05:10 PM
Hi, I have a issue where is ever so often get an IOException: Type : System.IO.IOException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 Message : Unable to read data from the transport connection: The connection was closed. Source : System Help link :...more >>

Webservice problem with xmlhttp
Posted by AlphaCoder@gmail.com at 3/4/2008 9:42:21 PM
Hi, I have an ASP.Net Project in C# which was running perfect and deployed for past 3 months. Last week i added added an .asmx file (webservice) in the ASP.Net project and accessed the webserive with xmlhttp object. The code is supposed to run streaming ticker on the webpage and polls for dat...more >>

WCF Return is a List of Interfaces and Not Returning
Posted by coconet at 3/4/2008 11:58:15 AM
My remote WCF receiver returns List<IFoo>. The WCF receiver's called method properly populates the list, but the items in the list are not coming back properly. What is a workaround for this? Thanks. ...more >>

Incorrect data types returned
Posted by Ishan Bhalla at 3/3/2008 2:50:04 PM
Hello, Am new to web services. i am exposing a web service that returns a datatable, but when i reference the web service and call it it seems to be returning GetCountriesResponseGetCountriesResult. Am not able to figure out what i am doing wrong. <WebService(Namespace:="http://www...more >>

Passing Custom Principal as Parameter?
Posted by coconet at 3/3/2008 12:56:46 PM
I have two custom classes that implement IPrincipal and IIdentity. The Principal class and Identity classes are built somewhere else in the infrastructure and the Identity is used to build the Principal. The class that implements IIDentity has this: [DataMember] public bool IsAuthenticat...more >>


DevelopmentNow Blog