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 2008

Filter by week: 1 2 3 4 5

ATL VC++ Web Service loading a dll
Posted by Saran at 5/31/2008 4:46:34 AM
Hi all, I wrote a VC++ ATL Web Service I'm trying load unmanaged dll (C++) from the web service. It compiles okay. However, when I try to debug it I get the following error in the output window: LoadLibrary Failed, the error code is 126. When using this dll from a simple MFC application i...more >>


WCF : get IHttpHandler
Posted by Alphapage at 5/22/2008 3:07:02 PM
Hello, I want to get the IHttpHandler from a svc service. With old asmx webservices, I get it using WebServiceHandlerFactory.GetHandler . How can I get IHttpHandler in WCF running in serviceHostingEnvironment : aspNetCompatibilityEnabled="true" ? Thanks in advance for your help....more >>

Gzip compression and SendTimeout
Posted by Giorgio Parmeggiani at 5/22/2008 3:22:12 AM
Hi I'm using the gzip compression found in WCG samples kit. It works well, but how can I set the SendTimeout and ReceiveTimeout parameters? Thank in advance Giorgio ...more >>

System.ServiceModel.Security.SecurityNegotiationException
Posted by Manjree Garg at 5/21/2008 7:25:02 AM
Hi, I created a web service and hosted it in Windows Services. It is working fine. Now I am trying to implement the X509 certificates for message layer security. But it is throwing the following exception: An unhandled exception of type 'System.ServiceModel.Security.SecurityNegotiation...more >>

Hosting in Windows services
Posted by Manjree Garg at 5/21/2008 7:15:04 AM
Hi, I created a web service that I want to host in windows service. The problem is that if I host it as windows service it does not use the configuration file. I have to define the binding, endpoint etc. programmatically in the Program.cs file. Any idea what I might be doing wrong? ...more >>

How to share entity in WCF
Posted by sailor at 5/20/2008 3:54:12 PM
In my project, I define many sevices. In these services , some method may return object and these object may be parameter as other method. But in client, these services are in different namespace, so the return object can't be parameter. For example, server : [DataContract] public class A ...more >>

PreAuthenticate = True - having no effect...
Posted by Marc J. Cawood at 5/20/2008 9:03:55 AM
We're calling a Web Service from a VB.NET application (written with VS2005) but no authentication headers are being sent even with PreAuthenticate = True. EOS.PreAuthenticate = True EOS.Credentials = New System.Net.NetworkCredential("user1", "xxxxxxx") We've examined the request ...more >>

function invisible at client
Posted by Manjree Garg at 5/20/2008 6:16:03 AM
Hi, I created a web service library (WCF) preprocessingServiceLib. Hosted it as Windows Service and then created a client to call it. Which is working fine. Then I added a new function DummyTest() in the preprocessingServiceLib which is visible in the Host. But I can not access it in the cl...more >>



Returning a DataTable blocks WCF-Service
Posted by Frank Hauptlorenz at 5/16/2008 4:02:20 PM
Hello, I recognized some days ago, that returning a DataTable blocks my WCF-Service. Is this a known bug? If I add this table to a new DataSet() and return this, it works. Thank you, Frank...more >>

WebService methods always return null
Posted by Jan Obrestad at 5/16/2008 1:02:38 PM
I'm developing an application that uses a webservice. It was working fine a few month ago, but going back to the project after a couple of months on other projects, the code is suddenly not working. ex string q = "qry=John+smith"; try { ...more >>

.Net 2.0 WebService
Posted by mr t at 5/14/2008 8:46:25 PM
1. Is there a way to create a .Net 2.0 webservice that does NOT write to c:\windows\TEMP to create temporary classes? I have security issues with that. 2. If not, Is it possible to instruct .NET 2.0 to write its temporary classes somewhere else? any help on this would be appreciated....more >>

certificate is required to complete client authentication
Posted by Binoy at 5/14/2008 5:35:01 PM
Hi We have two server SSL certificates from Thawte. We set up these two SSL in the same server. Now, we want to access a web service hosted by one of our customer in their server. We are calling this web service from a web service deployed in our server. The customer web service ...more >>

how to build a web service I have xml ready to send no serializati
Posted by MIchael Jackson at 5/14/2008 2:57:07 PM
I have a wsdl defined for me that i need to build a web service for. I have a source of the xml to match teh wsdl outputs that are to be returned. How do I build (visual studio 2005, .net 2.0) a web service to return that xml. All the wizards and templates and examples have you build your...more >>

"Logging in" to a WCF service
Posted by nathan.alden@gmail.com at 5/13/2008 3:08:55 PM
I have a Windows application that must "log in" to a remote service. Once logged in, for all subsequent service calls the Windows application should somehow pass a "session context" in each message to the service, which will then be compared to session information stored in SQL Server. However, ...more >>

WCF Client Credentials
Posted by Streak at 5/12/2008 1:05:00 PM
Hi! The application I am using has to add some custom client credentials on the web layer(proxy) and has to verify them on the app layer(wcf). I tried to create a custom header as follows -------------- Public Class CustomSoapHeader Inherits System.ServiceModel.WSHttpBinding -- adde...more >>

Can't serialise a SqlCommand over WCF
Posted by Frank Hauptlorenz at 5/9/2008 10:15:54 AM
Hello, I'm trying to send an SqlCommand to a WCF-Service. For this I'm using the following DataContract: [DataContract] [KnownType(typeof(string))] public class SqlCommandComposite { SqlCommand cmd = new SqlCommand(); [DataMember(IsRequired=true)] ...more >>

WCF Client Generation Issue
Posted by Paul at 5/9/2008 10:00:01 AM
I apologize for the length of this message. I have tried to provide all of the potentially relavant code up front to help identify the problem. I am relatively new to WCF and hope that I have overlooked something relatively simple. I am currently developing a set of WCF (.NET 3.0) service...more >>

Accessing a web service - proxy problem
Posted by Jon at 5/7/2008 5:11:35 PM
I wrote a VS 2005 C# express programme that accesses a web service. It works fine when there's a direct connection to the internet, but on two different PCs with internet access via a proxy, I get this exception: System.Net.WebException: The request failed with HTTP status 407: Proxy Authentic...more >>

ASP.NET 2.0 C# WebService Connect to Database: Sql Server 2005
Posted by Wendi Turner at 5/5/2008 2:56:31 PM
ASP.NET 2.0 C# WebService Connect to Database: Sql Server 2005 --------------------------------------------------------------------------------------------------- I have successfully created a webservice in ASP.NET 2.0 C# with VS 2005 & VS 2008, however, i can find nothing - books or otherwise ...more >>

Use custom XmlSerializer
Posted by butch77@web.de at 5/5/2008 1:49:57 AM
Hi! We're creating flash websites, and we are now switching over to flash 9. We decided now to use webservices for the front end. And we have already been using webservices for the CMS. Now my problem is that I'd like to use the same objects in C# for both CMS and website to send through the ...more >>

Int values doesnt pass
Posted by Dani at 5/4/2008 2:00:00 PM
Hi, I have this data contract: [DataContract] public class MyClass { [DataMember] public String mySTR{get; set;} [DataMember] public Int32 my1stINT{ get; set; } [DataMember] public Int32 my2ndINT{ get; set; } [Da...more >>

WebService for WebApp
Posted by mr t at 5/2/2008 3:56:38 PM
Sometimes ago, when I added a webreference, visual studio created a Reference.vb proxy class. In vs.net 2005, I don't see it. instead it adds .disco, .discomap, .wsdl. when I try to run the web app, it attemps to write to the c:\windows\temp directory. I hate that approach. because I DO not wa...more >>


DevelopmentNow Blog