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 > june 2007

Filter by week: 1 2 3 4 5

Library differences when adding Web Reference
Posted by Gustaf at 6/29/2007 5:11:49 PM
Here's what happens: I got a Web Service installed locally on my IIS. Then I got a client project, which will call this service. But when I add the Web Reference to the Web Service, and look at the imported classes with Object Browser, there are classes missing. How can that be? The classes in qu...more >>


How do you send an XML document to a Web Service?
Posted by Gustaf at 6/28/2007 4:12:14 PM
I'm using ASP.NET in VS 2005 to build a Web Service based on XML Schemas made by another person. There's one schema for the input format and another for the output. So far, I've been able to make a Web Service that will accept the input format, using the xsd.exe tool. My question now is, how w...more >>

Native Memory leak? (Private bytes increases resulting in worker process recycling)
Posted by chen at 6/28/2007 3:02:39 PM
While investigating a possible memory leak scenario in one our web services, we ran into a peculiar situation where the "private bytes" of the worker process continued to increase steadily while the .NET CLR Memory counter '# Bytes in all heaps' remained constant. Pretty much all the documentati...more >>

Copy file to remote server webservice
Posted by Priya at 6/28/2007 11:36:00 AM
Hi , I m usin ga webservice to copy a file to a remote server. When i do that i m getting ' Access to path denied' error. Pls let me know what permission i need to give. I tried giving impersonate = true in web.config. Thanks in advance Priya...more >>

Calling J2EE web service from .NET
Posted by RNoel at 6/27/2007 12:24:03 PM
I implemented a J2EE web service on Sun's Application Server 8. The web service is set up to require BASIC authentication. I created a Java client that passes credenttials for the authentication and all went well. I then tried to add a web reference to a client project in .NET using VB. ...more >>

WSHttpBinding in WCF
Posted by DanM at 6/27/2007 8:40:03 AM
Hi, If I have a WCF web service deployed that uses the WSHttpBinding, is it possible for a web service client to connect to my service if that client does not support WS-Addressing, or is WS-Addressing mandatory when the WSHttpBinding is in use? Many thanks, Dan...more >>

'add service reference' missing - help
Posted by dave at 6/27/2007 6:54:02 AM
I installed 3.0 extensions for vs.net 2005 and the wcf sdk and I am missing 'add service reference' from the context menu while trying to add a reference (to wcf). Any ideas on what is going on? thx dave...more >>

Debug webservice
Posted by Peter K at 6/27/2007 6:03:34 AM
Hi I have a VS2005 c# solution which includes a webservice and a windows application which uses the webservice. How do I "debug" into the webservice from the application? I can for example debug/attach to aspnet_wp.exe and access the webservice from a browser - and there I can hit brea...more >>



2 WCF Web Services Sharing a Data Contract Class - Can't Assign?
Posted by ESPNSTI at 6/26/2007 3:03:00 PM
I have two WCF Web Services that use the same DataContract class as the type of a propety used in the MessageContracts. When I add web references (in a ASP.Net 2.0 web site in Visual Studio 2005), it creates the class specified in the DataContract more than once (one for each web reference in...more >>

Application_Start not firing
Posted by Steve Ricketts at 6/26/2007 9:13:41 AM
I have a web service written in VB 2003 .Net that I've put on a number of different servers an OS's, 2003 and 2000. Application_Start sets up a number of variables used by the various functions in the application. I just put the application on a 2000 server and found that it's not firing t...more >>

Publishing different versions of Webservice
Posted by Mohan Babu D at 6/26/2007 7:25:00 AM
Hi, Can any one let me know how to publish different versions of Webservices in ..NEt Thanks in advance ~Mohan Babu D...more >>

Maximum request lenght exceeded
Posted by Cactus77 at 6/26/2007 7:13:13 AM
Hi, I have a problem with deploying a Report Model. I've build a Report Model in Visual Studio and by deploying mij my model, I get the next error: System.Web.Services.Protocols.SoapException: There was an exception running the extensions specified in the config file. --- >System.Web.Htt...more >>

WebException not caught while running on Vista but is caught on XP
Posted by Philip K at 6/25/2007 8:37:01 PM
Simplifying the code a bit its like this: try { myRemotingObj.Myfunction(string, string,string,string,timeSpan) } catch(WebException) { commsUp = false; } Using .NET Framework v2.0 and C# and my own service running on my LAN, I call a function in my .NET remoting object inside of...more >>

Call webservice from windows C# application
Posted by zion at 6/22/2007 6:19:09 PM
Hi, How can I call a simple webservice on my IIS? Thanks ...more >>

WebClient generates exception: header must be modified using ...
Posted by oldVB3r at 6/22/2007 1:45:25 PM
The following code generates the exception shown below when I call UploadData. I'm trying to call a WCF service using basicHTTP with a manually generated Soap message. Am I on the right track with this code? Thanks!! Code: Dim recvDoc As New Xml.XmlDocument recvDoc.LoadXml...more >>

WebService basic security issues
Posted by dorutzu0 NO[at]SPAM gmail.com at 6/21/2007 7:57:27 AM
Hi, I'm quite new to .NET (3.0) and I would like to aks you for some basic info (links, tutorials, etc) regarding webservice security issues. I think my problem is quite frequent and for sure there is a simple answer for it - I'm developing a webservice that will provide some processing (...more >>

downloading file stream (binary/text files) from web service to cl
Posted by Ibrahim. at 6/21/2007 6:57:06 AM
Hello, I want to download a file (zip) from the webservice to the client ? how can I achieve this, since SOAP only transfers XML data, how? Regards, ...more >>

Webservice becomes unresponsive
Posted by Jess Lundager Andersen at 6/21/2007 1:29:02 AM
Hi, I have a problem accessing a web service. The problem consists in that after a couple of hours (approx. 3 hours) the web service is non-responsive. I have then tried accessing it through Internet Explorer and when I invoke a method exposed by the web service I recieve a "FileNotFound...more >>

deployment of a dll consuming a webservice
Posted by Andreas Cieslik at 6/21/2007 12:00:00 AM
Hello, What is the best and professional way to deploy a DLL that consumes the customers webservice url instead of my coded webservice url of my local test system? Is there a way to keep it dynamic? Using the registry would be a first step.... ..NET creates the following file Settings.Des...more >>

Customizing SoapHeader
Posted by Rasika WIJAYARATNE at 6/20/2007 5:36:58 PM
Hi everyone, We have a web method that accepts a type of AuthHeader containing credentials for validating WS calls, which is shown below: public class AuthHeader : SoapHeader { public string userName; public string password; } How can I change the above, so ...more >>

MultiThreading Web Services
Posted by sable at 6/20/2007 7:59:00 AM
I'm a tad confused about Web Services and Multi-Threadling. I have read in old postings that IIS handles some level of "multithreading" for a web service. I know that technology has changed a lot since that posting and was wondering what the current status is. Does IIS handle some level o...more >>

Web Reference url is vsdisco file
Posted by Ritesh2000 at 6/19/2007 11:24:01 AM
Hi, I am using VS 2002 with .NET 1.0. My website has web reference which points to a vsdisco file like http://localhost/webservices/Firstwebservices.vsdisco. When I make modifications to my web service, I am unable to update web reference. When I remove the current web reference from my we...more >>

"Unable to create the app domain"
Posted by Oriane at 6/18/2007 6:16:33 PM
Hi there, on IIS 5.0, when I contact my asmx Web service page, I get an error message on IE and the event log gives me this error: "App domain cannot be created". So the asmx page is containing managed C# code, and the App domain is not authorized to be created. But why and what can I do (w...more >>

[IIS 7.0]Handler for asmx page ?
Posted by Oriane at 6/18/2007 6:10:28 PM
Hi there, When I try to access a Web service running on my default Web site, on Vista and IIS 7.0, I get an error message : "the MIME type is not recognized". So I guess that the asmx handler is not configured ??? Regards ...more >>

What is the difference between WCF service and web service
Posted by Andrew at 6/18/2007 2:52:00 PM
Hello, friends, Just wonder what is the difference between WCF services and web services? WCF services is a kind of web services, or, web services is a kind of WCF services? Or just two different implementation which basically do the same thing? Thanks....more >>

Cannot launch webservice in debug from Visual Studio
Posted by nagar NO[at]SPAM community.nospam at 6/17/2007 5:52:13 PM
I'm trying to launch a webservice in Debug from visual studio .net 2003. When I do that I get an error: "Cannot start debugging on the webserver". This happens on old and new projects, both using Visual Studio 2003 and 2005. I think that ASP.NET is correctly configured as the application work...more >>

Web Service Session Behaviour
Posted by Glenn at 6/16/2007 12:00:00 AM
Hi I've been experimenting with managing state using the Session object. I've created a simple WS with a couple of methods, one which sets a string value, another that retrieves it. Each method has the WebMethodAttribute.EnableSession set to true. When I run the test page the session ...more >>

Web Service sending error "The data at the root level is invalid"
Posted by jmgro at 6/15/2007 9:17:00 AM
I created a web service in visual studio 2003, tested it with a sample.xml file from a vendor we are using, and it worked exactly like it should. I deployed it to our server, created a project using the webservice with the sample.xml file, and again it worked. Now the vendor is calling the ...more >>

Help with WCF using COLLECTION example for VB
Posted by John Cosmas at 6/15/2007 12:45:15 AM
Could someone please post a very simple example APP with HOST and a CLIENT, where the HOST passes a COLLECTION to the CLIENT. All my attempts at creating a WINFORMS web service which supports a COLLECTION has failed. My numerous attempts while looking at other's examples have failed as well. P...more >>

Event handling for asynchronous calls
Posted by jan.loucka NO[at]SPAM gmail.com at 6/15/2007 12:00:00 AM
I'm developing WinForms application in .NET 2.0 that talks to web service. The automatically generated proxy (reference class) has got methods for both synchronous and asynchronous invocations of the web service methods. What I like about the asynchronous calls that they use events. So when I ca...more >>

Create Excel without installing MS office
Posted by Priya at 6/13/2007 12:47:01 PM
Hi, I'm developing a webservice whicg reads data from a database and exports to a excel sheet. This applciation works if i have MS Office installed in my system . Since i'm unable to install MS Office in teh server is there any alternate way to program this. Thanks in advance Priya...more >>

Secure Access to Web Service.
Posted by Ibrahim. at 6/13/2007 7:48:00 AM
Hi, I have a client application which Accesses Web Service. but the Web service allows anonymous access to any client request (web/smart client). I want to authenticate every client request by passing username/password to make it more secure. Environment : Web Service/IIS5.0/ASP.NET 2.0 ...more >>

Current directoy of the Web Service
Posted by Alwin D at 6/12/2007 6:19:47 PM
Hello, How can I get the current directory of Web Service? Usually my Web services are under Inetpub directory. I would like to write trace file into that place. If I try to trace e.g. C:\Temp directory I usually havenät got permissions to write the trace file. So, do I have special Perm...more >>

Disabling WS-Addressing in a WS client
Posted by ultranet at 6/11/2007 7:59:05 AM
We have a client that uses .Net that needs to work against our Java (xfire) based WS. My question is: how can a .Net (C#) WS client be configured to not send WS-Addressing headers? The client in particular mentions having tried WSE 2.0, and WSE 3.0, and says there is no way to turn off WS-Ad...more >>

WebSerice is TimeOut, but code on server is completed
Posted by Radek Žuja at 6/9/2007 4:07:01 AM
Hi. I have apllication running on WCE 5.0 - mobile computer Symbol Terminal MC9090. I calling sql insert command from the smart device by calling WebService. Sometimes i get Exception Service is TimedOut,but insert command in databse completed sucessfully. I increst timeot on 5 minut, but p...more >>

A very simple question about binary/text format difference
Posted by Oriane at 6/8/2007 3:50:23 PM
Hi folks, what makes that the SOAP/Xml binary encoding is smaller than the "text" one ? Is is only because the XML tags are more or less suppressed ? More generally, I don't understand how gzip can reduce text file size since I can't see how a character can be store in less than 1 byte. Or...more >>

System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send.
Posted by Scott McFadden at 6/8/2007 2:59:37 PM
When I invoke two web service methods sequentially with no delay, the first web method invocation goes smooth while the 2nd one generates the dredded: System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. The only way I have been able to mak...more >>

Problem consuming WS from a vb.net windows client
Posted by Gordon at 6/7/2007 2:49:02 PM
Hi; I am trying to consume a WS in a windows application. The application send a lookup value and the Ws returns a dataset. I can consume this WS in a asp.net app with no problems When I try to execute the windows application I get the 407 error message. I thought that the WS handled ...more >>

Error 401 trying to consume non-ASP web service
Posted by Ekontos at 6/6/2007 3:14:00 PM
I am trying to consume a web service written in Java and residing on a Sun Application server. I keetp getting the request failed with http status 401: unathorized. I am using VB. Net but one of my developers has the same problem in C++ in VS 2005. Any help at all on how to pass credenti...more >>

error with web service call
Posted by Ace at 6/5/2007 10:11:00 AM
hi all, we are trying to hook up with a web service provided by one of our vendors. i got their wsdl file and generated a proxy class using wsdl.exe. below is the method signature as well as the class associated with it: public partial class WSProxy : System.Web.Services.Protocols.SoapHt...more >>

Exposing Web Services methods for Add/Edit/Delete Records
Posted by Ibrahim. at 6/5/2007 4:35:01 AM
Hello, I have a client c# application from which I want to Add/Edit/Delete & list records by connecting to Web Service. HOw can I write classes & methods in Web service projet that will : 1. Add records, 2. Edit Recods, 3. Delete Records, etc. I want to create DAL, BAL in the Web ser...more >>

.NET & Java Publish-Subscribe pattern
Posted by Ludwig Wittgenstein at 6/5/2007 12:08:26 AM
Hello, all. Does anyone know of documentation about implementing a publish- subscribe model between a .NET Web service provide and a Java service consumer? I have this problem I am trying to solve, and would greatly appreciate it if someone can tell me what the best solution would be for i...more >>

Shared memory in .NET and WCF
Posted by Oriane at 6/5/2007 12:00:00 AM
Hello, I have to share a object in RAM between several processes. I intend to design a special process to load this objet (an Autocad plan) in memory, and to take care of the read/write operations made by the other processes with WCF based on named pipes. Would you think it is a good ide...more >>

SoapParameterStyle
Posted by Glenn at 6/4/2007 1:41:20 PM
Hi I've been looking at the attribute SoapDocumentService.SoapParameterStyle. I under there are two different formats, one bare and the other wrapped. I understand what happens to the message format, but I don't understand the respective benefits of each style. Any pointers (other than me...more >>

HTTP 400 Bad Request inside get_DeclaringMethod() in mscorlib?
Posted by Ken Yee at 6/4/2007 12:36:44 PM
Is there any way to debug into the web service proxy in asp.net 2.x? You used to be able to do this in asp.net 1.1 and you could fix the proxy if need be. This seems like a bug in the proxy generator :-P This API works fine most of the time, but occasionally get stuck where it always gives ...more >>

passing parameters....
Posted by Arun Murugesan at 6/3/2007 8:20:00 PM
in the below example, I wanted to access "SetValues" Method of the class "newClass" from the consume web service application.. Please help me to configure out ////******** start Web SERVICE CODE///////////**********// Imports System.Web.Services Imports System.Web.Services.Protocols I...more >>

Have to use web reference?
Posted by Davidhere40 NO[at]SPAM gmail.com at 6/1/2007 10:36:33 PM
Do I have to use a web reference to access use a remote web reference? I can't seem to just use the proxy generated by my web services project, because that one never calls the remote service, its always a local one. Dave ...more >>

C# Proxy: how to switch between local and remote server
Posted by Davidhere40 NO[at]SPAM gmail.com at 6/1/2007 7:53:11 PM
I'm using a visual studio generated proxy to use the web services, but I can't seem to get it to switch from using a local version to the actual web based web service. It always always always uses the local version. I thought about creating a web reference to the version I deployed to the server...more >>

Webservice from script or WebClient
Posted by brichard NO[at]SPAM bubbarichard.net at 6/1/2007 1:48:38 AM
I need to call a webservice from a script or the WebClient Class. I've been investigating both. I have a number of webservices and behaviors and I am trying to avoid using any behaviors as much as possible. I have a control that I would like to list the webservice address as a string proper...more >>


DevelopmentNow Blog