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

Filter by week: 1 2 3 4 5

XmlSerializer Question
Posted by preport at 11/30/2006 9:52:17 AM
I have a webservice that returns data from a database. Our services (the clients) have been blowing up because of illegal character problems. Is there anything I can do on the server side to work around this problem. I'm OK with deleting all the "bad" characters. I have a couple DTOs that...more >>

securing a web service: options?
Posted by KJ at 11/30/2006 8:34:10 AM
Hello All, I have to secure my first real B2B web service. Could you please provide some guidance as to which method of security I should use. One caveat is that we will not be using SSL on the server side as per the networking department. Windows authentication is also probably not an option...more >>

unable to create a new file
Posted by asherLaci at 11/28/2006 9:25:25 AM
Hi, I'v written a client/server application using SOAP. In my local computer (at localhost) the server application may read existing files and create a new one. When i ported thist server application to my Web site i found out that the server application cannot create a new file (still it can...more >>

Using two client certificates for a SSL Webservice
Posted by b.fokke NO[at]SPAM gmail.com at 11/28/2006 6:45:22 AM
I'd like to connect to a webservice using TLS/SSL. I have two separate client certificates: 1. A certificate for digital verification 2. A certificate for encryption. When I use the first one (i.e. add it to the ClientCertificates collection of the web request), I can establish a connection b...more >>

Could not access CDO.message
Posted by Shahin at 11/28/2006 1:15:01 AM
Hi, I having a problem with one of oure .NET application. When I try to send en e-mail from our site I get this Error, Could not access CDO.message The web server and the SMTP server (Exchange 2000) are on diffrent servers. <!-- pers settings --> <add key="pe...more >>

2.0 Interop with 1.1
Posted by Davidlev at 11/27/2006 3:22:02 PM
In 2.0, are the soap messaged encrypted? I am using a 2.0 client to reach a webservice built in 1.1 and this is the conversation error: POST /WebServices/InCMS/InCmsRenewalPackage.asmx HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.42) Cont...more >>

WebServices Timeout
Posted by tudor at 11/27/2006 3:12:02 AM
I have a web service that I use to kick off a long-running job that dumps a lot of data to an XML file (takes about 5 minutes). I need to have ASP.NET produce the XML file as the web site has the code I need (and extracting it into a stand-alone EXE would be a LOT of work). The webservice clie...more >>

Hiding IP address while sending webrequest.
Posted by archana at 11/26/2006 10:41:20 PM
Hi all, Can anyone tell me how to hide my Pc's IP address while sending webrequest. Is there only one way of using proxy to do this? If yes what if proxy server's IP address is blocked by particular web site. If there any alterntive for hiding ip address please tell me. any source cod...more >>



Create Dynamic Client Class with Information Provided by WSDL
Posted by webServiceHelp at 11/26/2006 11:40:44 AM
hi... I have deployed a web service ..generated wsdl. but i can't understand how to do my ultimate job. I want to do the following.. 1) The Requestor would find "the Service" from the "UDDI registry" nd may also get the WSDL / Service URL etc.. (which will be effective) ...more >>

Web Service State
Posted by theGecko at 11/24/2006 4:35:01 PM
I am aware that web services should be entirely stateless and it seems to be recognised as bad design to keep state. BUT, some of the methods we are exposing are extremel complicated and need various server-side structures and database information to be loaded prior to each call. To reduce...more >>

IsNullable:=true in Proxy class
Posted by teddysnips NO[at]SPAM hotmail.com at 11/24/2006 7:36:09 AM
<NEWBIE ALERT> Owing to staff lossage, I've been forced to take over maintenance and upgrade of a completely undocumented web service (VS 2003, VB.NET). I've been asked to amend a Public Function and, being a lazy sort, thought about using Optional parameters. However, I noticed something...more >>

How to debug web service in visual studio 2005 ?
Posted by jcvoon at 11/24/2006 2:31:46 AM
Hi: How to debug web service in visual studio 2005 ? I've set the web service project properties, start options, use custom server, Base Url set to http://localhost/MyWebServices. I attach the web service project to aspnet_wp.exe process, and set a break point on the web method. However w...more >>

Argument Exception : Value does not fall within the expected range
Posted by Nandkumar at 11/24/2006 12:29:01 AM
Currently I am working on Azman. I am using Windows XP professional, I have installed AzMan (Windows 2003 Service Pack-1). I have defined operations, tasks roles in AzMan. Now I want to do access check for the operations. I have written following code, AzAuthorizationStore store = new Az...more >>

usage of sgen
Posted by neoret NO[at]SPAM gmail.com at 11/23/2006 11:28:40 PM
hello. I try to generate the xmlserializer dll with the sgen tool. I cannot get this to work... In vs cmd I write the following: sgen.exe [[/assembly:nameofprojectdll.dll] | [path to dll like c:\project\bin\release]] the message I=E6m getting is: The filename, direcotry name, or volum...more >>

URGENT!!!! WDDX PROBLEMS
Posted by font at 11/23/2006 1:12:50 PM
Hi... I have a WS that was make in coldfusion, I'm referencing this web services from .NET 2005, but when I call to a function, return an error. The web service return a WDDX format What can I Do for process this response. Thks.. ...more >>

Design help.
Posted by John Sitka at 11/21/2006 1:51:31 PM
Hi, sorry for a crosspost but that other news group was showing last post was a week ago so I guess it dosen't see much use... I'm about to start a solution and I'm curious about the approach of a webservices project. Should the objects be represented in classes such as... public class Order...more >>

Custom Exception gets wrapped as soap exception
Posted by Tomsawyer2kin_hotmail at 11/21/2006 11:37:02 AM
Hi, I created a custom Exception Class as Public Class CSTException : Inherits System.ApplicationException ' required to over ride the base class method Sub New(ByVal ExceptionCode As AppExCodes) MyBase.New(CStr(ExceptionCode)) End Sub end class in my WS i have a refe...more >>

I have problem whis Windows Media Services 9 Series.
Posted by vera esaulova at 11/21/2006 12:00:00 AM
I have problem whis Windows Media Services 9 Series. I have videostream, which will consist of two streams(512k/bit and 256k/bit).I need to allocate a stream 256k/bit. In SDK is written: Supporting Multiple Bit Rate Files Several versions of the same audio or video content can be stored in ...more >>

webservice & nhibernate
Posted by gaddoz at 11/20/2006 10:35:32 PM
Hi all, I'm trying to set up a .NET webservice using in data access layer Nhibernate (nhib 1.2.0 beta). The first trouble I met was that a webservice cannot serialize Interfaces, like IList<>. After I workarounded it, now I get: System.InvalidOperationException: There was an error gene...more >>

Moving a working web service to another server produces the following error.
Posted by UJ at 11/20/2006 2:31:33 PM
I've got a working web service that we are moving to another machine and now I suddenly get the following error. While transferring the files, got the following message: System.Web.Services.Protocols.SoapException: Server was unable to read request. ---> System.InvalidOperationException: Th...more >>

consuming webservice trough proxy
Posted by Boni at 11/20/2006 4:43:01 AM
I want consuming a webserivce trough a proxy. I use this code. myService s = new myService (); System.Net.WebProxy proxyObject = new System.Net.WebProxy("http://proxyhost:8080"); s.Proxy = proxyObject; It doesn't works, it returns a error HTTP 407: Proxy Authentication Required ( Access ...more >>

how can i dynamicly change SoapDocumentMethodAttribute??
Posted by alfa at 11/20/2006 3:08:01 AM
Hi, i'm new using webservices.. how can i change the "http://tempuri.org/" part of the SoapDocumentMethodAttribute without reprogramming for each new customer (or changing URI). in other words : I want to build just one porgram and change the "Action, RequestNamespace, ResponseNamespace"...more >>

Advice needed on correct design.
Posted by MuZZy at 11/18/2006 12:25:26 AM
Hi, I'm going to develop a pretty simple document management application and i want to use WCF to connect back-end to smart client front-end. That application will allow to create a hierarchcal structure where any node can be linked with a document file, which are all stored in a SQL Ser...more >>

Is this viable method - returning DataSet
Posted by David++ at 11/17/2006 2:54:01 AM
Hello list, I have built a project in VS2005 which includes a Web Service Web Site. On this server there is a Database. I have used the DataSet designer to link to this database and VS2005 has created Table Adapters which connect to the database and return the table data. My DataSet is call...more >>

Passing complex types to/from an Axis-based Web service?
Posted by andreas.baus NO[at]SPAM meta-level.de at 11/17/2006 1:16:10 AM
Hello. I'm trying to exchange data between a webservice based on Apache Axis and a client written in C#, and so far it has been working with few problems (none that I couldn't solve myself with a bit of web research). However, now I've tried passing complex data types between the two, and cou...more >>

PLS HELP: Trying to run WCF examples - getting errors.
Posted by MuZZy at 11/16/2006 6:26:40 PM
Hi, I'm trying to run Windows Communication Foundation examples included with .NET 3 SDK and I'm getting error: The requested service, "http://localhost/servicemodelsamples/service.svc" couldn't be activated. I did try almost every example and get this error - i haven't succeded in r...more >>

Calling a web service from VB6
Posted by Mike at 11/16/2006 10:31:02 AM
I have been charged with adding functionality to a VB 6 application to retrieve information from a web service that I will soon receive the WSDL. I can, with some pain, deploy the .NET framework 1.1. I need some starting points, as I have never attempted anything close to this, and I find lo...more >>

Async Webservice Result Object
Posted by Laird at 11/16/2006 8:04:02 AM
Using the Following Code Private WithEvents m_WS As WSSyfretsOrders.WSSyfretsOrders Private Sub UtilityToolBar1_MapDrivePressed(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles UtilityToolBar1.MapDrivePressed m_WS = New WSSyfretsOrders.WSSyfretsOrders ...more >>

Abstract Class Acting as Web Service -- Can it ??
Posted by Rahul at 11/15/2006 5:28:32 PM
Hey Guys Just go easy on me . I have an abstract class which is pure is a kind of asmx. I know the answer that I am asking but still need somebody's advice. Since it's an abstract class, the user of this web service would not be able to make use of it since one cannot instantiate the abstra...more >>

Default credentials not working
Posted by mbrand NO[at]SPAM gmail.com at 11/15/2006 2:06:11 PM
When trying to connect to my web service from a client application, the System.Net.CredentialCache.DefaultCredentials doesn't authenticate properly. I can see in the event viewer on the server (windows server 2003) that my domain/username are getting passed properly but it gives a 529 error. ...more >>

2.0 app talking to 1.1 webservice via SSL......
Posted by charry NO[at]SPAM gmail.com at 11/14/2006 3:48:20 PM
Just migrated our public website to .NET 2.0. Everything went OK, except for a couple secure webservices that are not under our control. Basically everytime I try to call any functions associated with them, I get the following message (after a long delay): System.Net.Sockets.SocketException...more >>

Method XX cannot be reflected
Posted by Peter van der veen at 11/14/2006 3:12:59 PM
Hi In my porject i use a custom header to be added to the SOAP message. I added the the custom SOAP header to the follwoing function which is in the proxy class. But when invoking the proxy for the first time i got the message Method XX cannot be reflected, where XX is the name of this fu...more >>

SoapExtensions
Posted by Max André Bündchen at 11/14/2006 9:19:00 AM
Suppose I have a WinForm project that call two Web Services: the AService and the BService :-)... In the AService I apply the ASoapExtension and in the BService I apply the BSoapExtension. This SoapExtensions work in two hands: client and server side, like a cryptography-decryptograpy extensio...more >>

/r/n (13-10) (carriage return - line feed) in web services
Posted by Enrico Sabbadin at 11/13/2006 4:34:26 PM
Hi, A few days go I fiund iut that the xmlserializer strips away /r/n out during deserialization (and just leave /n) ... I found out that you can resolve this problem using the deserialize overlaod that takes an xmltextreader instead of a stream .. However when it's time to Web Services you h...more >>

Dual Web Service References
Posted by Fred Chateau at 11/13/2006 11:40:45 AM
I have a UI application that references business objects in Visual Studio on two identical servers (ws1 & ws2). The business objects are the same so the methods from each Web Service proxy are the same. I instantiate each Web Service proxy in the application and call the methods but the method...more >>

Web or windows service to import data
Posted by Jenbo at 11/13/2006 9:20:22 AM
Hi all, I have a task at the minute which involves getting data from csv files into a database and doing some nice auditing on the records in there on a web front end. The csv files are going to be stored on a file server and the web and database server will communicate no problem with this. My ...more >>

Ongoing documentation of SOA
Posted by Michelle at 11/13/2006 8:38:56 AM
Hi... Please forgive the slightly less than focussed post, but I couldn't find another place to post this question... this is an open question to people who do software and/or Enterprise Architecture. I think I'm new to SOA and architecture-- but I seem to have been doing it for a while....more >>

Preform a long lasting Web Services task
Posted by lai_waiman at 11/13/2006 4:02:02 AM
Dear All, I have problems on doing some long lasting job in a web services. Let me first provide some background information first. I have a ASP.NET web page, which will call another Web Services to preform a task. Since that Web Service Task last for a quiet long time (eg. 1 hr). If I ...more >>

Starting with Communication Foundation
Posted by MuZZy at 11/12/2006 11:58:18 PM
Hi, I'm not sure i fit's the right NG for WCF, if not - my apology. I just strted looking into WCF and am trying to run the "Getting Started" examples from WFCSamples of .NET 3.0 SDK. I keep getting "Error 405: Method not allowed" every time client tries to execute the service's method. ...more >>

Any decent book on WCF (Indigo)?
Posted by MuZZy at 11/12/2006 11:03:32 PM
Hi, I am starting a new Smart Client project and wanted to employ th enew WF techniques, Communication Foundation in particular, but i can't find a good book - seems like all are scheduled to go out early next year, so i'm trying to get the idea by reading blogs and msdn articles but i do ...more >>

Webservice automation
Posted by PZ at 11/12/2006 2:26:07 AM
Any suggestions on how to setup a webservice (or the surroundings) so a certain webmethod can be called on given intervals? Lets say I have a webmethod I want to call once each hour and I don't want to have another PC standing around to make the call using a timer event. I've placed my webs...more >>

Implementing Callback Web Method
Posted by Baheri at 11/11/2006 6:48:01 PM
I am trying to find an example on how .net do I implements a webmethod that will callback after it has completed its task. I found a nice sample on the Microsoft website http://msdn2.microsoft.com/en-us/library/98t3s469.aspx How ever the sample is incomplete. It does not tell me what I nee...more >>

Apply WSE client policy to class library instead of appliation
Posted by Steve at 11/10/2006 7:52:01 PM
I want to call my web service from a class library and have that library handle all the wse stuff, so that applications using that library don't have to worry about it. Is that possible? I've tried by creating and applying the correct policy to a class library that I created. The appli...more >>

web service error - urgent
Posted by igotyourdotnet at 11/10/2006 12:00:01 PM
I'm creating a web service this is going to return an arraylist of items. When I try and run it Im' getting the following error message: System.InvalidOperationException: There was an error generating the XML document. ---> System.InvalidOperationException: The type Car List was not expected....more >>

CredentialCache.DefaultCredentials
Posted by Anrew at 11/10/2006 2:04:05 AM
Hi Guys, I have not simple question: How can i extract username and password from the CredentialCache.DefaultCredentials property. Any help appreciated. Thx in advance. ...more >>

Web Service Timeout
Posted by Erencan SAÐIROÐLU at 11/9/2006 5:28:12 PM
Hi All, I have a problem. I've developed a mobile application. And the application call a web service. The web service executes a script and it takes long time (about 2 minutes) But it the webservice throw timeout exception after 10 seconds from mobile device. I've set server.scripttimeou...more >>

PDA WSE 2 & OpenNetCF
Posted by Keith Wilson at 11/9/2006 12:55:01 PM
Hello all I am trying to upload/download files via a webservice to/from a PDA. The webservices are secured using WSE 2.0 (this cannot change). ..NETCF 2 does not support WSE 2.0 so am using OpenNetCFon the PDA. All works OK but I am having trouble adding a UserNameToken to the SOAP cont...more >>

Web.config Error
Posted by Alejandro Becker at 11/9/2006 9:43:44 AM
When I want to see the Web Service, entering http://server/ws/wsfile.asmx I get the error: Server Error in '/ws' Application. ---------------------------------------------------------------------------- ---- Configuration Error Description: An error occurred during the processing of a conf...more >>

dynamic ref and 'object not set to an instance of an object'
Posted by HockeyFan at 11/9/2006 6:48:54 AM
I have a web service that has been working, but I recently changed it so that the reference would be dynamic. Locally, within Visual Studio, it works fine. However, once deployed, the dll I use to access it has trouble. I get a null reference exception and figure it's because of the change to...more >>

how to add "Authorization: Basic" for a web service call
Posted by Ottavio at 11/8/2006 2:39:26 AM
Hello, I'm having some problems with the authentication during a web service call I know I have to add the "Authorization: Basic xxxxxxxx" in the http header (not soap header) but I can't find a way to add it. I've tryed to use ethereal to watch what I'm sending and I can see all the header (...more >>


DevelopmentNow Blog