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
all groups > dotnet web services > february 2007

Filter by week: 1 2 3 4

Configure SSL Encryption Strength
Posted by microhof at 2/28/2007 3:36:00 PM
Short version: Is there a way to configure (preferably programmatically) the max encryption strength that will be used by the framework when connecting to a particular SSL-protected web service? Long version: Historically, browsers could only be exported to certain countries if they sup...more >>


global paremeters in a WS??
Posted by JP at 2/28/2007 10:11:08 AM
I have several sets of WS. The application making requests to these services must authenticate to the service by sending a UserName and Password I wanted to set it up so that the parms were based at the WS level at the time the application created an instance of the service. For example: ...more >>

request size?
Posted by chandy NO[at]SPAM totalise.co.uk at 2/28/2007 3:02:00 AM
Hi all, I want to evaluate the size of the http request sent to my webservice. How can I accomplish this? System.Web.HttpContext.Current.Request seems to return the http request for the browser on the aspx page that the service is called from, not the call to the service itself. Any ideas...more >>

Http Post Web Service
Posted by phenglai at 2/26/2007 3:31:02 PM
I am not sure really how to explain this but here goes. I am creating some new web services and I want to be able to post data like the following: <Data> <some value>1</some value> <more info>2</more info> </Data> I have the object built and I can call the web service but all I ...more >>

How to get a WS to create a cookie???
Posted by JP at 2/26/2007 1:18:30 PM
I need to design a WS that will after authenicating the user, create a cookie on the users PC that made the request. All the code I keep finding is how to get a WS to read a cookie, I need it to create one. The below code doesnt add the cookie to my cache. However if I place this in an non asm...more >>

Web Services For e-commerce?
Posted by Tina at 2/26/2007 9:53:43 AM
My boss asked me to look into passing orders back and forth with our vendors and customers using web services. It seems web services are designed to just provide data from a call. It seems e-commerce demands more architecture such as sync and async responses, etc. Is Web services architec...more >>

Can a schema be generated from WSDL?
Posted by John Wilmot at 2/26/2007 9:40:29 AM
I have a WSDL definition but no corresponding schema. Does anyone know if these can be generated from the WSDL? ...more >>

Web Service process ID?
Posted by Asaf at 2/24/2007 2:17:10 PM
Hi, I have a web service that run in several instances to do a large process. What I would like to do is to know the process ID of each web service instance and the ability to terminate the work of this web service instance by the process ID from for example an ASPX page. Is there a way t...more >>



passing receipts to ws consumer
Posted by Morten71 at 2/23/2007 2:04:12 PM
I'm fairly new to web services in .net/vs. I'm wondering about a few ws things: - should I create a new ws project for every ws? - how do I best ensure that only selected consumers can use a ws? - how do I best pass back receipts to the ws consumer? Have googled the above, but with little s...more >>

Sharing web-service class between two local assemblies
Posted by Josh at 2/23/2007 9:05:39 AM
I have application1 that connects to webService1. I have a second application that references the same webservice (webService1). I need to pass an instance of a class returned from webService1 from application1 to application2. I have a reference (assembly.load) of application2 in application...more >>

Returning Dataset or Datatable via Web Service
Posted by Joseph Geretz at 2/23/2007 2:02:28 AM
I'm a bit puzzled by the current recommendation not to send Datasets or Datatables between application tiers. http://support.microsoft.com/kb/306134 http://msdn2.microsoft.com/en-us/library/ms996381.aspx Formerly, with classic Microsoft DNA architecture, the ADO Recordset was a primary ...more >>

Using library classes instead of proxy classes
Posted by Joe at 2/22/2007 7:26:02 PM
I have a .NET class library called NorthwindLib and a class called Customer. I have a web server that exposes a web method GetCustomer() and returns a NorthwindLib.Customer object. I want to consume this web service in another .NET application that references NorthwindLib. When the web re...more >>

Excel instance remains after closing, calling GC, setting to null
Posted by John Bailo at 2/22/2007 12:03:11 PM
I wrote a c# web service that creates an Excel spreadsheet. Even though I follow all the formal procedures for closing the app and finalizing, an instance of Excel still remains in memory. I follow the procedures described here: http://blogs.geekdojo.net/richardhsu/archive/2003/11/...more >>

Can't send back null class reference as SOAP Header?
Posted by Joseph Geretz at 2/21/2007 9:07:26 PM
We use a Soap Header to pass a token class (m_Token) back and forth with authenticated session information. Given the following implementation for our Logout method, I vastly prefer to simply code m_Token = null in order to destroy the session token when the user logs out. However, I'm finding...more >>

.net client not getting a response from java web service
Posted by christen_mitchell NO[at]SPAM hotmail.com at 2/21/2007 6:08:45 PM
I have written a basic .net client to call methods on a java web service. I get the call to the webservice but cannot recieve any responses. When watching a packet capture I see that my client sends "HTTP GET /wpad.dat HTTP/1.1" and then the web service responds with "HTTP HTTP/1.1 404 Not Fou...more >>

I can't access some classes, but can access others in the same namespace, why?
Posted by ThunderMusic at 2/21/2007 2:47:09 PM
Hi, I have many classes a user may need to call methods on my webservice. Some classes are "published" and some are not... I mean, when we do a Web reference from another project, we don't have access to some classes remotely... Is there something special these classes need so we can use ...more >>

Defaulr values in User Defined Objects
Posted by Alex at 2/21/2007 8:00:41 AM
I have a ws that exposes a class with a user defined type containg a bool, a string and an int type properties. I've also set the default values of these properties. Unfortunately, when passing the object from a consumer, the default properties are not set, exept for the string value. The W...more >>

Unable to add web reference
Posted by Jnani at 2/21/2007 6:46:25 AM
I have a local web service. I have a client windows app referencing the webservice. The client was successfully calling the webservice until a few days back. It stopped working for no apparent reason. When i tried updating the web reference on the client app, I get the error "There was an erro...more >>

Web Service Method Can't return a DataTable?
Posted by Joseph Geretz at 2/20/2007 10:31:22 PM
I don't get it. A DataTable can't be returned, but a DataSet can. Yet a DataSet contains one or more DataTables. So obviously a DataTable must be serializable. So why not just let me return a DataTable? Thanks for your advice, - Joe Geretz - ...more >>

Does SoapHeader return to client if SoapException is thrown?
Posted by Joseph Geretz at 2/20/2007 9:41:41 PM
Given the following Web Service method definition: [WebMethod] [SoapHeader("m_Token", Direction = SoapHeaderDirection.InOut)] public DataTable GetData() { ... } If GetData throws an exception, obviously the functional return is toast. How about m_Token though? Will m_Token marshal ba...more >>

Folder write permissions
Posted by Peter Morris at 2/20/2007 9:03:54 PM
I have given the following users full access to a folder + all sub folders ASPNET IUSR_(MachineName) IWAM_(MachineName) but when my webservice tries to create a TXT file in the folder in question access is denied and an exception is thrown. I have temporarily corrected this by giving fu...more >>

Passing Custom Object
Posted by css at 2/20/2007 7:55:27 AM
I am new to ASP.net webservice and have a quesiton. Is is possible to pass custom object to a web service (using VB 2005)? My custom object will look like this Public Class Myclass Public Property1 As String Public Property2 As Integer Public Property myCollection1 As Arraylist (Actua...more >>

Ajax Consumer
Posted by Thom Little at 2/19/2007 8:30:59 PM
I am looking for a simple example of an .HTML or .ASP page using Ajax to consume a sting from an ASP.NET 2.0 web service. Can someone point me in the right direction? Thanks. _______________________________________________ Thom Little www.tlanet.net Thom Little Associates, Ltd....more >>

Could not create type 'xxx' (trying to add web reference to project)
Posted by JT at 2/19/2007 4:14:32 PM
Okay, I've seen about 4 years' worth of posts about this with no viable solutions. I've spent 9 hours today trying to fix this. It works BEAUTIFULLY on my local IIS installation, but when I publish to my web host and try to add a web reference I get the following: Server Error in '/' Applica...more >>

Problem with instanciating proxy class
Posted by Andrew Jackson at 2/19/2007 12:00:00 AM
Hi all... My app is a .net2 winforms app written in c# using visual studio 2005. I have added a web reference to (what I consider) a fairly large web service. When I try to use the web service in my client application via the autogenerated proxy class, the first time I instanciate my proxy...more >>

Problems with deserialization of SOAP Response (Complex Type from Apache Websevice)
Posted by Gregor D. at 2/18/2007 10:17:25 PM
Hi, I want to consume an Apache Webservice with a C# .NET Client. Everything works fine, but I'm having problem with the deserialization of the complex type "Item" that is included in the response of the web service, what seems so be the type "hashtable" in .NET. Every "Item" consists of tw...more >>

Web Service Security - Fundamental Question
Posted by Joseph Geretz at 2/15/2007 7:47:47 PM
How do I implement security for my Web Service application? Specifically, I am concerned about protecting the data against prying eyes as it travels across the wire. Is it simply a matter of using https rather than http? Or is there more to it? Advice and/or links, will be very much appreci...more >>

Process Memory Limitation & IIS
Posted by Rasheed at 2/15/2007 1:12:03 PM
We have distributed application built upon .NET 2.0. The business components are exposed as Web Services. Some of the Business Components involves in heavy processing and occupies more RAM. It appears there is a memory limitation of 4 GB per process and we are not sure if we have to further ...more >>

IWebProxy and the SystemProxy
Posted by cisco man at 2/15/2007 12:51:10 PM
Just have some general questions on how it's supposed to work. When i get WebREquest.GetSystemWebPRoxy it returns a System.Net.WebRequest+WebProxyWrapperOpaque type. Which doesn't have any public property to set useDefaultCredentials. I assign this to the ws proxy and set the UseDefault...more >>

problems with WebService EnableSession in VS2005
Posted by Nadav Popplewell at 2/15/2007 12:45:05 AM
Hi everybody, I've got two questions about using the EnableSession property with an ASP.NET WebService: First Question: I'm trying to create a web service with EnableSession=true. I can't get it to work with VS2005 ( It works with vs2003!). Here is my testcase: I created two web serv...more >>

Implementing a common SOAP Header across multiple Web Service Pages
Posted by Joseph Geretz at 2/14/2007 5:10:33 PM
I have the following class which I am serializing and passing back and forth between my Web Service application and the client. public class Token : SoapHeader { public string SID; public string UID; public string PWD; } This is working nicely. However, I'd like to elaborate on my WS app...more >>

Can I store a C# Class Instance to the Server Cache?
Posted by Joseph Geretz at 2/13/2007 11:10:08 PM
Of course, I can store a C# class instance to the Server Cache (this.Context.Cache). I've tried it. My question is, will this destroy the scalability of my application? My background is VB6. With VB6 we learned very early on that you do *NOT* store VB6 class instances on the server. That is...more >>

Serializing RTF during a web method call
Posted by Keith Patrick at 2/13/2007 11:06:15 AM
I've seen this topic several times in archives, but I have not come across a workable solution. I'm stuck in 1.1 for a project (although I can tack on any WSE that still targets it), and I've got a class that stores some RTF in some of its fields. RTF has an issue in that by definition, it in...more >>

Passing object to web service
Posted by AndyBrew at 2/13/2007 2:26:00 AM
Hi Could somebody please poit me in the right direction with regards learning how to pass a class object to a web service. I understand that the class needs to somehow reside both on the client and on the server and that to get it there the class object needs to be serialized in some way. H...more >>

Help plz, webmethods aren't called any longer
Posted by Ivan Abramov at 2/13/2007 2:01:00 AM
Everything has been fine for years and the code Dim dsNews As DataSet Dim ws As New localhost.Service dsNews = ws.GetNews() was working on my developer PC, but now I get the error: "There is an error in XML document (1, 1214)" I've tried to call other webmethods and webservices - the sam...more >>

Changing the account that ASP.Net uses.
Posted by UJ at 2/12/2007 8:24:05 AM
How do I change the account that ASP.Net uses on the server? I at the very least want to change the password. TIA - Jeff ...more >>

form authentication for Webservices
Posted by Abdullah at 2/9/2007 10:37:01 AM
Hi, I have a web site that uses form authentication and consumes web services. Can the same form authentication be used for both the web site and the web services? Thanks a lot...more >>

How do Large Scale Web Service Applications Maintain Session State?
Posted by Joseph Geretz at 2/9/2007 1:53:34 AM
I've been looking at two approaches for the maintenance of Session state for a Web Service application. One approach uses the old familiar Session object which I've used in the past for Web applications. As far as I can see, the Session approach is non-standard since Web Services are suppos...more >>

Connecting .mdb to webservice through firewall
Posted by kimberly.walker NO[at]SPAM consultant.com at 2/8/2007 9:00:46 PM
Im new to creating a web service..... I have a public web page that collects data this is stored in an .mdb. The plan is to create a web service behind the firewall to get the data from the .mdb also a windows application will be created as well so the users can view the data that was submitted...more >>

Enumerated Values With Initializers
Posted by senfo at 2/8/2007 9:21:17 AM
I'm using an enumerated type to identify a record type that relates to a unique ID in a database. Identity columns in SQL start at 1, while enumerated types in C# start at 0. I didn't think it would be a big deal because I could just force the values of the enum to start at 1. Database: ...more >>

How do I create a webservice skeleton from a wsdl file?
Posted by noname at 2/7/2007 7:35:52 PM
I was wondering how I could get started to implement a webservice in Visual Studio 2005 based on an existing wsdl file. ...more >>

Versioning web services
Posted by Scott at 2/7/2007 1:23:21 PM
I have seen many articles describing why versioning web services are important. I have a scenario that I would like to propose to seek a solution. I have a publicly consumable web service. Two different clients, A and B, consume this service. I make framework and architecture modifications...more >>

C# Web Service won't connect to database
Posted by Nelson André at 2/7/2007 6:26:00 AM
Dear friends, I'm a Web Services newbie and I have created a simple Web Service that given 3 parameters accesses a database and returns 1 value. When run from Visual Studio 2005, the Webservice returns the correct information from the database with no problems. I have created a new Virtual Di...more >>

Runtime Performance Configuration Settings
Posted by robin9876 NO[at]SPAM hotmail.com at 2/6/2007 4:01:32 AM
In Microsoft Knowledgebase article 821268 (http:// support.microsoft.com/?id=821268 ) there are some configuration settings for .net v1.1 Are these the same in v2 or are their additional options? For an application which has a .Net v2 windows form application on client pc's and connects to ...more >>

Custom User Authentication
Posted by Bumbala at 2/5/2007 11:56:29 PM
Hi! I am developing an application which uses a ASP.NET web service to retrieve data from the database. The users and their roles are in the database, so I want to perform custom user authentication. I don't want integrated security. The web service will check if a proper user has logged in b...more >>

.NET 2005 versus 2003 standard edition
Posted by javanewbie22 NO[at]SPAM yahoo.com at 2/5/2007 6:20:41 PM
Dear experts, There is a lot of talk these days about .net. I'm considering buying the software to pick it up. Yet something else to learn! I notice that you can get older standard version ..NET 2003 on the web. Much cheaper than the 2005 version. How much different is 2003 standard edit...more >>

Consuming External Web Service
Posted by Ashley at 2/5/2007 12:28:59 AM
Hi, i have a web service created outside the .net framework. i have written an application in C# which consumes the external application.My problem is the C# application is able to send data to the web service but not able to get the required response. Please help....more >>

Performance comparison between web services and local network?
Posted by Dean Slindee at 2/3/2007 10:55:06 AM
Does anyone know of a white paper or have actual results where the speed of running database inserts, updates, and/or selects (returning datasets) thru web services versus running the same activity over a dedicated MS local network. I would assume that web services must be slower than a dedi...more >>

Web Service Performance
Posted by robin9876 NO[at]SPAM hotmail.com at 2/2/2007 9:17:34 AM
In a deployed .Net Service is there any settings that can be made on the server level that can log all requests to the service and the time that the request was made to the service and the time the request was sent back to the client? ...more >>

Stupid Newbie Question - HelloWorld.asmx Fails
Posted by mkelly4ca at 2/2/2007 9:11:01 AM
I can't get the Hello World web service to run. I'm sure it's some stupid little setting somewhere, but I can't find it. When I click on the Invoke button on the Test page, I get: System.IO.FileNotFoundException: File or assembly name cvi5x9jh.dll, or one of its dependencies, was not fou...more >>


DevelopmentNow Blog