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 > october 2004

Filter by week: 1 2 3 4 5

Is it possible to return a DataTable from a Webservice method
Posted by ganga NO[at]SPAM spectradata.co.nz at 10/31/2004 5:06:37 PM
Hi All, I was just wondering whether is it possible to return a Data Table from a WebService method. Since I need to send only one table at a time, I dont want to return the entire Dataset. Any help would be highly appreciated. Cheers Ganga....more >>


Hi, Any help is greatly appreciated
Posted by Michael Genie via .NET 247 at 10/31/2004 3:54:55 AM
(Type your message here) -------------------------------- From: Michael Genie I developed a web service (Windows XP Prof, and VS.NET2003), I am getting the below Exception message. Any help is greatly appreciated..... System.IO.FileNotFoundException: File or assembly name gdi2ejj3.dll, or on...more >>

how do u change the webservices url?
Posted by mekim at 10/30/2004 4:37:08 PM
Hello, I have a webservice client that needs to change which webservice server it calls? I keep reading change the webservice.url ...but I don't see that property regards, mekim...more >>

Web services and bulk data
Posted by SB at 10/29/2004 4:34:02 AM
I am implementing a web services and one of its methods can potentially return Gb of data. I would like this to be implemented in an 'iterator' kind of style. With this the client can get the count first and then use a method to get certain number of records at a time. My initial idea was ...more >>

How to open an application through webservices ?
Posted by xclusiv09 at 10/27/2004 7:15:02 PM
Hi all, i need to call a program to run through webservices. i.e. i would need a webmethod to invoke the program to start. i'd tried System.Diagnostics.Process.Start. In the end, i get the program shown in the task manager processes but i don't see the program loading. i.e. i don't physi...more >>

XmlSerializing a class that implements IEnumerable
Posted by Joe at 10/27/2004 4:01:50 PM
I have a class that is being returned by several WebMethods. Ok - all is good. Now if I have this class implement IEnumerable, the data is no longer serialized. This class does contain a private ArrayList and has an Items property (read only). Any suggestions? ...more >>

The underlying connection was closed
Posted by MattM at 10/27/2004 7:05:09 AM
I am getting the "The underlying connection was closed: Unable to connect to the remote server" message when trying to connect an ASPX page to a simple Hello World web service. I have read a few posts on this topic but my situation is different. The problem appears to be a setting with my test...more >>

WebService, Soap, and Firewall
Posted by qjchen NO[at]SPAM email.com at 10/26/2004 10:44:38 PM
All, I have a WebService created in .NET. I have VB6 Client consume the WebService (using Soap ToolKit 3.0) But I have couple user who got error accessing the WebServer with error message "Unable to handle request without a valid parameter ..." After hours of research, my conclusion is that...more >>



Webservice stub class not compiling
Posted by Nick Gilbert at 10/26/2004 1:20:46 PM
Hi, I'm having problems using Flash Remoting with Web Services for ASP.NET and I've narrowed the problem down to csc.exe when it tries to compile the stub class. Flash Remoting (flashgateway.dll) is calling the following command line to compile the stub class: "csc.exe" /out:ExampleWe...more >>

Can a webservice determine that it is called asynchronously?
Posted by Stan at 10/26/2004 11:39:22 AM
When a webservice is called through BeginInvoke asynchrously and an exception is thrown, this exception is not propagated to the client (obviously). Asynch client simply does not care about it. However, there are cases when the client would like to call the same webservice synchronously. In su...more >>

Extending WebServices and consumers of such with IServerChannelSin
Posted by Johan Johansson (Sweden) at 10/26/2004 7:09:09 AM
I know that you can create your own IServerChannelSink and IClientChannelSink implementations to extend .Net remoting with whatever extra mechanisms you need, but is it possible to do the same with WebService's and consumers of such? The reason I ask is that I need to make encryption-decryp...more >>

web service error trapping
Posted by Mike at 10/26/2004 5:27:08 AM
I'm creating a web service in C# 2005, I want to throw back to the client any errors such as db down, etc. How can i throw an error back to the client if there is one if there isn't just throw back the dataset like normal? ...more >>

Access a JAVA WebService (SOAP/LTPA/LDAP) from a C++.NET application
Posted by microcode2004 NO[at]SPAM hotmail.com at 10/26/2004 1:38:51 AM
Hi all... I've programmed an application that must access to a JAVA webservice for authentication on a LDAP/LTPA server. Here's the code on the C++.NET client application : myWS::myService* pWebService = new myWS::myService(); int iRet; pWebService->Credentials = new NetworkCreden...more >>

Architecture question
Posted by Lomax at 10/25/2004 9:59:52 PM
Hi ! I have to develop an accounting soft solution. For many reasons we decided to use a three tier architecture. The logical tier is composed of logical components and a web service facade that delegate to the logical components. The presentation will be composed of both a widows forms applic...more >>

Why lose header XMLdeclaration and proccesing instruccion XSL?
Posted by Piculo at 10/25/2004 4:49:28 PM
Hi, I have a WebServices in ASP.NEt VisualBasic, the declaration of the method is : Public Function saveDocumentXML(ByVal pvXmlDocument As Xml.XmlDocument) As String And i call to this method with a webreference in this way: Dim myString as String = myWS.saveDocumentXML(myXMlDocument) W...more >>

XMLDocument as return type for web service method
Posted by mike malone at 10/25/2004 3:35:04 PM
I am creating a very simple web service the recieves a XMLDocument, massages the list and returns the document. The problem is that the return type declartion in referances of the client is a XMLNode evan though it is defined as a XMLDocument in the web server code. Any ideas?...more >>

Minimum Requirements to support Web Services on Win XP Pro
Posted by CW Proefrock at 10/25/2004 3:21:02 PM
I've only found information that says IIS6 based Web Services require Windows Server 2003. I hope that's not the case. Can I install IIS 6.0 on Windows XP Pro and have a valid WebServices host? If so ... Does this configuration include the ASMX mapping and necessary "engine" underne...more >>

Remote Debugging question ?
Posted by Shailendra Batham at 10/25/2004 10:29:08 AM
Hey gurus, I have a question about remote debugging in .Net. I have a Windows XP Machine with Visual Studio .Net 2003, where I have a web service application, everything works fine but now I have to deploy this on another machine. The other machine is a Windows 2000 Machine where the we...more >>

Random DLL name error!?
Posted by Mark Harrs at 10/25/2004 3:19:02 AM
Hey all I'm currently deploying a web service to our new servers and am having something of an issue with it!? When one of the applications that use it wasn't working correctly, i ran the web service directly from the local machine and "invoked" one of the methods. The error i get back is :...more >>

How to get dynamic Proxy settings
Posted by Guru at 10/23/2004 1:51:43 PM
Hi, does anyone know how to get the dynamic proxy settings that are generated from script run by Internet Explorer? WebProxy.GetDefaultProxy only works for nondynamic proxy settings. Ralf ...more >>

How to copy n paste .asp files to Solution Explorer and have it show up there?
Posted by Jason Robertson at 10/23/2004 12:10:51 PM
Hi, I have just installed Visual Studio.net 2003 Enterprise Architect. I have been using Visual Interdev so far, and I am used to be able to select from a desktop bunch of .asp files, drag and drop them into a Project Explorer window and have it show there as a tree of files. Is there some se...more >>

User defined data types in webservices
Posted by Arne at 10/23/2004 9:13:02 AM
How do I use user define data types with web services? I want to pass a collection of these from a web services. Private Class InventoryItem Public SKU As String = "" Public Description As String = "" Public Cost As Decimal = 0 End Class The only thing I can think ...more >>

Web Services and Oracle Data Access
Posted by Oriol Tomàs at 10/22/2004 10:07:46 AM
Hi, I want to publish a Web Service who returns a dataset with some data from an Oracle Database. In the view designer I can preview data from my OracleDataAdapter1. It returns 3 rows. When I start the solution and test the web service it returns this error: System.Data.OracleClient.Or...more >>

Web Method Return XmlDocument returns XmlNode
Posted by John Bailo at 10/22/2004 5:03:18 AM
I developed a web method that returns type XmlDocument. But a client calling the web method will only accept the datatype as XmlNode. Why? -- http://www.texeme.com ...more >>

Web services testing nunit help plz
Posted by Popoxinhxan at 10/21/2004 9:51:04 PM
Could anyone give me a guide or example of how to test the web service Here is my web service but i don't know how to write the test for it public class Service{ private string m_ERR_NO_LISTING= "No data found"; private static readonly ILog log = LogManager.GetLogger(typeof(Service)); [W...more >>

About proxy classes generated when adding a web reference
Posted by MIGUEL at 10/21/2004 4:13:03 AM
Hi all, I'm quite lost with how adding web references to a project creates proxy classes. I've developed a web service with two classes inside and that contains three references to three DLLs. After building it up, I've deployed it on the web server. From my Windows application, I the...more >>

Event notification in .NET web services
Posted by SB at 10/20/2004 12:47:01 AM
Having gone through couple of books on .NET web services, I could not find any details event notification. They all cover in detail the coomon request/response web services implementation. I would like to know how to implement the event notification from .NET web services that is related to ...more >>

Convert proxy type to class type
Posted by Joe at 10/19/2004 6:37:13 PM
I have a web service which returns many types (classes) to match the return type. I want to cast the return type to the actual class type. For example: namespace Test { class MyClass { ... } } [WebMethod] public MyClass Test(); the proxy will be a deserialized version of MyClas...more >>

Why is the return value not XmlDocument ?
Posted by Shailendra Batham at 10/19/2004 4:44:06 PM
This is a multi-part message in MIME format. ------=_NextPart_000_0006_01C4B5FA.D976F5C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable hi gurus I have a asp.net web services and in that i have a function which = returns XmlDocument as the re...more >>

SQL User authentication
Posted by Nikolay Petrov at 10/19/2004 4:20:09 PM
Is it possible to authenticate user using a SQL database, containing users and passwords? What I want to achive is: I have as SQL database containig data for my app. This database also contains usernames, passwords and rights which are specific for my app. Also I have a middle tier WebServi...more >>

Problem writing xml with xmltextwriter
Posted by Mori at 10/19/2004 3:59:04 PM
I am using the following code to manufactue xml using xmltextwriter. The xml is okay except for the extra set of start document and the outer <string> element. Where do they come from and how do I keep those from being written? <?xml version="1.0" encoding="utf-8" ?> - <string xmlns="h...more >>

XML Web Service Client allows at maximum two asynch Requests
Posted by Christian Wilhelm at 10/19/2004 3:50:36 PM
Hi! I have a Problem with an XML Web Service Client I have written. At the Web Server there is a method, which takes exactly 10 Seconds until it sends the response. Because of that I call the WebMethod asynchronous by using BeginMethodName and EndMethodName. So far, so good. But when I now ...more >>

Auth Problem
Posted by Nikolay Petrov at 10/19/2004 10:34:58 AM
I have the following web method: <WebMethod()> _ Public Function Test_CurrentCredentials() As String() Dim tmpArr(2) As String tmpArr(0) = "User: " & System.Threading.Thread.CurrentPrincipal.Identity.Name tmpArr(1) = System.Threading.Thread.CurrentPrincipal.Identity.Authentica...more >>

COM+ Web Services on 2003 Server
Posted by mjervis NO[at]SPAM gmail.com at 10/19/2004 3:49:38 AM
Hi, I have a bit of a problem. I have a COM+ object that I need to expose via SOAP as part of a larger application. The COM+ object has previously been published via the Microsoft SOAP toolkit v3 on Windows 2000 Server and Windows XP Pro (the development machine). This now needs to be de...more >>

Proxy - Access Denied
Posted by Vladimir Rypacek at 10/18/2004 9:51:59 PM
This is a multi-part message in MIME format. ------=_NextPart_000_0049_01C4B55C.B171F230 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I've got strange error on computer which is accessing web-service = thrugh proxy. Scenario 1 ---...more >>

.NET type in Web Service Proxy class
Posted by Paul Janssen at 10/18/2004 12:25:35 PM
If I create a web service with web methods containing enum types these types are automatically created in the proxy class when I add a web reference to a client. Is there a way to automatically generate an enum type in the proxy class if the type is defined in the web service but not used as...more >>

Writing to file on Linux...
Posted by Ardie at 10/18/2004 11:53:02 AM
Hi, I'm new to .Net and i was wondering if there was a way to have web service/IIS write to a file on a remote Linux computer. I've tried researching online and i can't seem to find any clear information on whether or not it's possible. I've looked up System.DirectoryServices but that s...more >>

wsdl.exe and WS-Eventing
Posted by lischke NO[at]SPAM novacom.net at 10/17/2004 4:50:31 PM
hi there, I have a lot of problems generating code for the new "WS-Eventing" Specification http://schemas.xmlsoap.org/ws/2004/08/eventing/ Is it possible, that after IBM joined this spec. the code can only be generated by the WSDL toolkit from IBM????? I'm doing wsdl.exe /server ht...more >>

asp.net webservice
Posted by Mike at 10/17/2004 2:41:04 PM
I created new asp.net webservice in visual studio.net (vb project). I uncommented the helloworld webservice sample and saved and built it. However,when I tried to open this service1.asmx file in the browser, it does not show any webservice page but asks for downloading the file. What could be ...more >>

WebService Newbie
Posted by Billg_sd at 10/17/2004 10:43:12 AM
I've been developing n-tier .NET solutions for awhile now, but am new to WebServices. My objective is to have a web-service lookup routine that returns a dataset/datatable based on a query. Ideally, I'd like it to return the results as XML. I've looked for, but cannot find any code examples...more >>

Win XP Pro and IIS 5.1 Issues with .net Framework 2.0
Posted by Al Bartraw at 10/17/2004 4:59:03 AM
I installed the new beta of .net framework and my asp stopped responding. I don't know what to look for and turn back on so that I can get asp to start working again. Has anyone else had this issue? Have you corrected it and how? ...more >>

Hi, Any help is greatly appreciated
Posted by Michael Genie via .NET 247 at 10/17/2004 3:10:16 AM
(Type your message here) -------------------------------- From: Michael Genie I developed a web service (Windows XP Prof, and VS.NET2003), I am getting the below Exception message. Any help is greatly appreciated..... System.IO.FileNotFoundException: File or assembly name gdi2ejj3.dll, or on...more >>

extended chars and a web service
Posted by Stu at 10/15/2004 9:11:11 AM
Hi, I have a web service which accepts a password field When I send encrypted character to this web service and they happen to be an extended character I get an xml error.How do I solve this TIA Stu ...more >>

Per-method role management
Posted by Jon Skeet [C# MVP] at 10/14/2004 2:08:31 PM
I've got a web service where different methods require different roles, and I'm trying to enforce that now. I've worked out *one* way of doing things, using PrincipalPermissionAttribute - but that ends up with a response of 500 rather than a 403. What's the best way of demanding roles fo...more >>

problem deserializing return structure from Java/Axis web service
Posted by JLJ at 10/14/2004 1:51:01 PM
I have a very simple webservice written in Java/Axis. It takes in a complexType with 2 string elements, userid and password. The response is a complexType containing two complexTypes each having 2 strings <wsdl:portType name=SecurityLoginService"> <wsdl:operation name="login"> <...more >>

/// <summary> not working in a Web Service!!
Posted by Ambuj at 10/14/2004 9:07:04 AM
Can anyone please help me understand why this is not working?!?! I have got this code in a C# Web service project, the project compiles correctly but I can't see the description when I access the Web Service from a ASP.Net web project... /// <summary> /// Some text /// </summary>...more >>

web services with .net remoting
Posted by SB at 10/14/2004 2:05:07 AM
Is it possible (or common practice) to have the business facade layer of the web services layer implemented as .net remoting component(s). While the web services provide the necssary access to external web/Java clients, the .net remoting is used to comminicate between internal (company wid...more >>

Custom authentication in a web application
Posted by Jon Skeet [C# MVP] at 10/13/2004 2:32:46 PM
I've run against a problem which I'm *sure* must be easy to solve - but I'm blowed if I can find the answer :( I have a web service which I want to require authentication. I need to authenticate using a database lookup, so Windows, Passport and Forms authentication are (as far as I can tell...more >>

proxy proxy problem
Posted by Ohad Young at 10/13/2004 10:27:11 AM
Hi, I have a webservice method that returns an instance of a custom class I created (e.g., bank account). The class definition in the webservice contains properties, overrides Object.ToString method and etc. However, the proxy created for the webservice contains a definition for this class w...more >>

Soap (.net webservice) does not work with IIS on Windows 2000 Serv
Posted by Jeff McPhail at 10/13/2004 10:13:06 AM
I have a (C#) webservice that works fine on Windows xp and Windows 2000 but does not on Windows 2000 Server. The problem is that IIS does not have an application mapping for .asmx file extentions (or many others such as .soap etc). On other platforms if I install Microsoft Soap Toolkit (versio...more >>


DevelopmentNow Blog