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

Filter by week: 1 2 3 4 5

Sharepoint and application pool
Posted by Fariba at 3/31/2006 5:11:43 PM
Hello All,, I am just wondering what account usually people put their shrepoint application pools under? Low privilage or high privilage account? If we put our sharepoints under low privilage accounts ,then developers have to use impersonation to get enough permissions required to get their ...more >>

Help connecting to Access DB from web service
Posted by Jeff Richardson at 3/31/2006 5:08:44 PM
I am creating a web service that returns data from an Access 2000 database using VS2005. The Access database is located on a different server than where the web service is running. The Access database is also opened by a different desktop application running on various workstations on the ...more >>

Webservice security.
Posted by jens Jensen at 3/31/2006 4:36:19 PM
Hello, I need to require client authentication via X509 certs for my web service. My web service will just do xml over http . No Soap. How can i configure my web service to require exchange of certificates with clients as opposed to server authentications. Many thanks i advance JJ...more >>

Web Reference added, no intellisense?
Posted by Caine Chow at 3/31/2006 11:25:20 AM
I asked this question on the csharp group but maybe this is a better place to ask... I am working on a C# Class Library that does Remoting. I would like my library to call my web service so I added a Web reference to my service with out problems. I am encountering problems when I try to ...more >>

Using server-side OCX control with ASP.Net Web Service
Posted by las NO[at]SPAM labapps.com at 3/31/2006 9:48:08 AM
(Originally posted to framework.aspnet.webservices, but I am casting a larger net and trying again) I am using a library supplied by a third-party vendor. Although the library has no UI, the vendor supplies it as an .OCX control. I need to utilize this library in an ASP.Net Web Service. My...more >>

ThreadAbort Exceptions !! HELP !!
Posted by Tim Greenwood at 3/30/2006 4:38:51 PM
I've seen many blogs address this issue and always end up associating it with the infamous Response.Redirect without the second parameter. Our web team assures me they've exhaustively gone thru the entire website and taken care of this issue on their end. We still get a handful of these d...more >>

Web services not sending fields in Soap Envelop
Posted by tshad at 3/29/2006 5:58:03 PM
We have a web service that is not sending a field in the Soap Envelope. For example, when we add a web reference, we get something like: *************************************************** public class EmployeeTaxServiceService : System.Web.Services.Protocols.SoapHttpClientProtocol { publi...more >>

Discovering the VS project from a SchemaImporterExtension
Posted by George at 3/29/2006 12:06:02 PM
I am stuck here. Any help is greatly appreciated! I am writing a SchemaImporterExtension for use with "Add Web Reference" in Visual Studio. Ideally, I want to know within this extension the collection of dlls that are referenced by the current project, so that I can resolve and share all th...more >>



how to convert a string conform to xml encoding?
Posted by Nico P. at 3/29/2006 3:41:02 AM
I have a SOAP request as a string containing a '&'. because of that, the request doesn't work, because I have to replace '&' with '&' . But this is not the only special character I have to consider, right? is there a function in the .NET framework 1.1 that converts the string conform to...more >>

Calling a .net Webservice from classic ASP
Posted by AnRonMor at 3/29/2006 2:03:16 AM
Currently I use the MS Soap Toolkit to expose some 20 or so com objects for use by classic asp pages, this has to be replaced as support is ending. I have found two proposed solutions below and would appreciate any comments, particularly from somone who has done this before. Create a .net WS ...more >>

Is it possible to pass a XML document as a Web Service parameter?
Posted by placek at 3/28/2006 11:02:05 PM
Hi all. I would like to create two web services: - The first one - ImportData - should take as an input parameter a XML document and return an integer saying if passed XML document was valid and was succesfully processed. - The second one - ExportData - should take as an input parameter an ...more >>

Consistent Types Across Web Services
Posted by IanH at 3/28/2006 12:20:04 AM
I am currently experiencing a problem with using web services within .Net 2.0. My problem is that i have client and server components that interact through a common class foo. This same class is used extensively through other parts of the system.When the application is distributed through web...more >>

Unexpected behavior - getting exception - Underlying connection cl
Posted by Rahul Anand at 3/27/2006 9:09:01 PM
As per our requirements we have a web service which internally connects (Simple HTTP Post Request) to a remote server to initiate some work. We are calling the web service method asynchronously from a .NET Web Application hosted on IIS. In our setup the web request form a client can be running...more >>

debeug a web service
Posted by Felix González at 3/27/2006 6:26:28 PM
Hi I´m usinf Vs2005. I´ve a web service in file system but I need to debug it invoquing from PDA. for that I need to deply the service on my local IIS. in project options I checked user custom server with my local IIS but dosen´t work. and the web service are not deployed to the local IIS. ...more >>

Will VB6 handle overloaded methods of web services?
Posted by Rod at 3/27/2006 10:51:35 AM
I've asked whether or not a VB6 application could use a web service that I am writing in .NET 1.1, and I've learned that it can, using the SOAP toolkit. Right now I'm working on the web service, and I would like to overload some of the methods for different implementations. Of course I belie...more >>

Using LDAP in a web service
Posted by Chris Kormann at 3/27/2006 9:01:07 AM
I am attempting to use LDAP to retrieve a list of users from within a web service. When the FindAll() method is invoked, I receive the following exception: "The specified domain either does not exist or could not be contacted." The code that does not work from within the web service works ...more >>

An error that I havnt encounterd
Posted by pmj.net NO[at]SPAM gmail.com at 3/27/2006 3:30:59 AM
The Below shown is the Error that i get when accessing a web service from an asp.net application.When i call a method of the web service it shows this error. System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NullReferenceException: Object reference n...more >>

How to call a Web service from 'old' ASP?
Posted by placek at 3/27/2006 2:08:48 AM
Hi all. I am not sure if it is a proper group for my post. I would like to know if it is possible to call a webservice from "old" ASP? By "old" ASP I mean ASP, not ASP.NET. If it is possible, then how can it be done? Thanks in advance, misiek ...more >>

Invoking a WebService using a Client Application
Posted by Ganesh Muthuvelu at 3/26/2006 2:42:57 PM
Hi, I have a web serivce created that contains several methods that are NON-PRIMITIVE types - meaning I cannot test it directly from the browser. So, I thought of devloping a client application in .NET that can submit the XML request and receive the response. I created the application and...more >>

Watching Objects
Posted by Anthony Malt at 3/25/2006 11:28:00 PM
Hi, I've written a little win service with uses the same classes as my web service. Both use... Private myInterfaceFactory As New InterfaceFactory _IApp = _myInterfaceFactory .CreateDAL(appPath, InterfaceFactory.DBTypes.SQL) Is there a way to make sure that they do not share resourc...more >>

NegotiateStream Class and SOAP Web Services?
Posted by Monkey Boy at 3/24/2006 11:19:01 AM
Hi, I just heard about the NegotiateStream Class and I’m wondering if I can use it to protect traffic on the wire between my client (.net winforms app) and server (.net web service)? Right now I’m using SSL, leveraging the built in support that IIS offers, but since my app only runs on...more >>

Exceptions thrown by a web service.
Posted by UJ at 3/24/2006 8:04:36 AM
What exception can be thrown when calling a web service - specifically things like the web site is down, there's no function, ... TIA - Jeff. ...more >>

Web service sometimes down
Posted by Klaus at 3/24/2006 1:33:02 AM
I have a problem with a web service. I have 6 asmx but only one dll. I call them with a Windows Application. Sometimes only one asmx (always the same) doesn't give response and if I call it from a browser asking its wsdl it doesn't show me any method. If I rebuild the dll it is ok for few hou...more >>

App pool identity
Posted by Marc Gravell at 3/24/2006 12:00:00 AM
I want to run a web-service under a custom (least required priveleged, but with /some/ access) account -but all I get is service unavailable; I have * Created a new account * Enabled logon as a service * Added to the IIS_WPG group * Ensured account has access to the relevant file system (re...more >>

Creating Local User with Web Service
Posted by Shannon Thompson at 3/23/2006 11:54:02 PM
Hi I am very new to .NET and I am programmatically trying to create a windows users (not using AD) and am having a little trouble. The OS is 2003 Server and I am trying to use System.Diagnostics.Process with "net.exe". The argument does not seem to take, here is the code (this is my first cr...more >>

Passing an object containing multiple DataSet's to a WebMethod
Posted by MuZZy at 3/23/2006 9:59:14 PM
Hi, My problem is the following: i have a class like: [Serializable] class c{ public DataSet m_dsFirst; public DataSet m_dsSecond; public string m_sName; void c() { m_sName="Test"; m_dsFirst = <some dataset>; m_dsSecond = <some other dataset>; } } Now, when i pass an ob...more >>

C# webservices proxy generates public member variables and no getter/setter methods??
Posted by Steve at 3/23/2006 3:47:10 PM
I generate C# webservices proxy code from WSDL file, it turns out the classes generated have public member variables and no getter/setter methods as follows, and I am able to get data when running the client. [System.Xml.Serialization.SoapTypeAttribute("MyFeeResponse", "http://data.myp...more >>

Changing Web.config
Posted by Bala Nagarajan at 3/23/2006 12:30:36 PM
Hello, I am building a web service application in which i will have to implement logging based on user id. My question is where do i store the user ids? Since the nature of this problem is so dynamic, in the sense the number of users for whom the logging will be turned on may vary from ...more >>

Dynamic Web Services
Posted by Marc at 3/23/2006 10:09:27 AM
I want to be able to reconfigure a web service client to point from a web service on a development platform to the same web service on a staging platform. I can't rebuild the app and reset the location and send out new assembly's to everyone. I am able to edit the app.config file and define ...more >>

How to post an XML file to HTTPS using vb.net 2005
Posted by JD at 3/23/2006 6:18:27 AM
I am currently trying to send an XML document to an HTTPS address. The address is something like https://blah.com:5558/test/http. I am trying to use httpWebRequest but am not sure if this is the correct way. My code looks like the following: Private Sub Upload(ByVal fileName As String, By...more >>

How to change the Web Services template for viewing available operations and calling them
Posted by George Jordanov Ivanov at 3/22/2006 11:28:09 PM
Folks, When you access your XML Web Service in IE for example (using HTTP), you get the familiar to all of us page: The following operations are supported. For a formal definition, please review the Service Descrdiption. My question is - how can I modify this default template? Regard...more >>

How to create a call a web service dynamically
Posted by dave at 3/22/2006 8:39:07 AM
We're programming in C# .net 1.1. I've read that in order to create a web reference I can either (1) "Add A Web Reference" from the VS 2003 IDE or (2) I can run the Wsdl.exe tool to generate the source code file for the proxy class, compile the code file, then copy the complied proxy class ...more >>

allow partially trusted callers
Posted by Pierre at 3/22/2006 7:00:56 AM
Hi all, I have developped a set of WSs and everything works fine when I try it on my local network. When I export them on my host's server though I get the following error on my client: System.Web.Services.Protocols.SoapHeaderException: Server unavailable, please try later ---> System.Appli...more >>

Avoiding dynamic generation (+compilation) of XML-Serialization cl
Posted by Thomas Qvist at 3/22/2006 3:41:28 AM
We are building a suite of programs consisting of both winforms applications and office addins. We would like to pre-generate the xml-serialization classes and add it to our project to avoid the overhead at startup and thus enhance the performance of our applications. The programs are...more >>

Passing large arguments to web services
Posted by Matt B at 3/21/2006 5:31:27 PM
Hi all - I am going to implement a web service using .NET. It's a service that attributes authorship of a document to one of two authors, based on the training data provided. I am going to produce a basic web page that allows the data to be uploaded, before displaying the results. The web s...more >>

Dotnet Client fails to deserialize message from AXIS web service if the message maps two elements to the same multiRef element. What do I do?
Posted by GT at 3/21/2006 10:16:22 AM
I have a .NET client that consumes an Axis web service. A change was made recently to the AXIS web service, and ever since then my .NET proxy class has been throwing an InvalidCastException. The proxy class was auto-generated by Visual Studio from WSDL provided by people who provide the Axis s...more >>

Empty DataSet in Client
Posted by Steven Livingstone at 3/21/2006 12:00:00 AM
Folks - i have a WebMethod that returns a List<> of "Person" objects. I implement IXmlSerializable to write the xml for the object. I don't touch SOAP or web services within any of my objects. My client doesn't have a typed proxy so it just gets back an array[] of plain datasets apparently....more >>

ATL Web service (client)
Posted by philip89 NO[at]SPAM canada.com at 3/20/2006 10:07:20 AM
Hi There, We have a working web service that is deployed on CFMX 6.1. Our Dev Server has CFMX 7.0 and the client that interacts with the webservice now returns an error. Nothing has been changed. I compared the two WSDL files and they have quote a few differences. for example: in CFMX 6.1 ...more >>

Axis Web Service, .Net Client - Interop issue with SOAP Header
Posted by vthakur at 3/20/2006 8:10:27 AM
Hello: I have a Axis Web Service that sets the sessionid in the SOAP header for persisting the session. The client is a .Net client that processes the header as an Unknown Header. It sets the session id received from the Service request on subsequent requests to the service. However the Axi...more >>

Stopping transaction through client in web method
Posted by archana at 3/20/2006 2:22:20 AM
Hi all, I am having web method which is inserting some heavy data into database. Everytime client call this method i am generating some unique transaction. Client know that transaction ID. What i want to to provide method to client so that he can rollback that transaction. And as soon...more >>

Using a DLL in a web service
Posted by d.barile NO[at]SPAM gmail.com at 3/19/2006 11:53:50 PM
Hi guys, I'm trying to use a DLL of third part using P/Invoke in a web service. I've always an exception: access denied. The DLL is in the bin directory of the project. I'm using VS .NET 2003, WSE 2.0 and .NET Framework 1.1. I'm trying the code using the address http://loalhost/webservice and...more >>

using the [WebMethod(MessageName="...")] attribute
Posted by Andy Fish at 3/16/2006 12:00:00 AM
Hi, I have discovered that if I use this syntax: [WebMethod(MessageName="foo")] public string bar() { return "hello, world"; } then it is not possible to call the web service using the MS soap toolkit. Trying to invoke the service with either the name foo or bar gives an error. ...more >>

Desperate SProxy problem consuming an ASP.NET Web Service
Posted by quortex NO[at]SPAM hotmail.com at 3/15/2006 1:59:06 PM
Hi all, I have written a web service using the .net framework 2 and Visual Studio 2005. I consume the managed service by native C++ using the "add web reference" feature. This obviously shells out sproxy.exe to generate the proxy code. All well and good despite the fact sproxy seems serious...more >>

Problem converting webservice from VS 2003 to VS 2005
Posted by Symon at 3/15/2006 8:31:23 AM
I've got a web service project that was built under VS 2003 which has a SoapExtension in the project. The SoapExtension is registered in the <soapExtensionTypes> element of the web.config and has worked fine for some time. Recently we tryed to update the project to VS 2005 and run it under...more >>

Map nework drive
Posted by Luc at 3/15/2006 7:08:30 AM
Hi, I want to acces à map network drive and/or a local drive from à web service. I was wondering if that was a possible thing to do and if so, where would I find documentation on that subjet. -- Thanks, Luc...more >>

Failed to write to Access data in webserice
Posted by hulinning at 3/15/2006 5:19:29 AM
Hi I use webservice to read/write data to Access database using System.Data.OleDb with a connection string = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source;User Id=admin;Password=" I can read/write on my developed computer without any problem. However, When I install my webservice on oth...more >>

problem reading an array returned from a service
Posted by Matthew at 3/14/2006 12:07:29 PM
Using .NET 1.1 I trying to consume a web service that returns an integer and an array of type string which I declare and use line this Dim Results() As String Me.txtMain.Text = consumeWebService.GetPublishedDatabases("1.0", Results).ToString The problem is that the array "Results" is alw...more >>

discocodegenerator unable to initialize my method is public
Posted by cindy at 3/14/2006 10:15:04 AM
I am using this link to create a web service to WSS Library http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_SP2003_ta/html/ODC_WritingCustomWebServicesforSPPT.asp The web service is register and can be found by a test web application. I use the wsdl and get No Ports o...more >>

need help on xml web response.
Posted by AVL at 3/14/2006 7:01:28 AM
hi, i'm a newbie to dotnet... I need help on xml responses received from a web service.. How to parse the xml response....sent by a web service.. I dont want to use the proxy object created .net when I add a web service.. I want to parase the Xml response nad request manually.. Which...more >>

Timeout error on webservice client
Posted by Sebitti at 3/13/2006 11:15:27 PM
I'm getting timeout error in my client application (asp.net client) when I call a web service that is taking some time (2 - 3 minutes). How can I configure the timeout limit? Current configuration, these settings doesn't seem to have any affect: Web.config <sessionState timeout="20"/> IIS 5 ...more >>


DevelopmentNow Blog