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 > april 2005

Filter by week: 1 2 3 4 5

WEB CONFIG PROBLEM
Posted by Savas Ates at 4/30/2005 12:00:00 AM
I created i simple web service.. It runs well in my local Pc.. But when i copied it into my server it fails... it is about web config custom errors i turned it off but it still doesnt work..(<customErrors mode="Off" />) Can anyone help me ? Description: An application error occurred on th...more >>

Uploading large files form a Windows Form App
Posted by Fred Herring at 4/29/2005 11:44:09 AM
I have a client/server application which uses webservices functions to upload large byte arrays to the server and httpwebrequests to download the data files. I would like to use http to also upload but am lost in how to implement this. basic information: My Url looks like this "http:...more >>

Webservices and how to deliver different service levels?
Posted by Peter Norregaard at 4/29/2005 4:44:02 AM
Our customers have different names SLA’s / Service Level Agreements but use the same webservice. How do I handle that some users can be allowed to wait when the load is high while others can’t? One possible scenario could be to redirect VIPs to a more powerful webfarm than the one the comm...more >>

Properties trasformed in Fields by VS tools for autogen. proxy cla
Posted by Alex Ruggeri at 4/29/2005 4:03:12 AM
The tools of VS.NET 2003 when you add a "web reference" autogenerate the proxy definition of my "Data Transfer Object" classes. The problem is that the original "Public Property" are trasformed in "Public fields" and i don't like this behaviour because I can't make databinding of my Custom ty...more >>

Require Help Regarding Deployment......
Posted by msnews.microsoft.com at 4/29/2005 12:00:00 AM
Hi Every Body, I build an application using vb.net. Now i m deploying on the client system. I know that the deployment automatically check the .net framework on the = client system at startup. I include the .net framework in the deployment setup. I want that if the framework is not installed...more >>

Basic Web Service Created by VS 2003 Problem
Posted by JJ at 4/28/2005 1:22:52 PM
Hi, Ok I uninstalled WSE2.0 sp3 and still get the same error in proxy file from web service. I have a web service thats local and created a web ref called lh1. At the top of my win form where I call the web ref is this: using EMS.lh1; private static lh1.EMS1 wsHrs = new lh1.EMS1(); Wh...more >>

Webservice on port other than 80
Posted by Suresh at 4/28/2005 9:50:04 AM
Hi all, I have a webservice that's running on a specific port (8003) in webserver behind a firewall. The service accesses a CC authorization service on the internet. We use a proxy to get out to the internet. We have a domain name registered for this webservice. So my WSDL gives me the ...more >>

Error: System.ArgumentException: Cannot convert to System.Int32.
Posted by Simon Harris at 4/27/2005 5:20:31 PM
I have created a web service, which when I call in my browser presents the text form etc. When I click the button, I get this error: System.ArgumentException: Cannot convert to System.Int32. Parameter name: type ---> System.FormatException: Input string was not in a correct format. at Sy...more >>



ows_FSObjType - what does it mean?
Posted by jwindberg at 4/27/2005 1:37:11 PM
I'm attempting to write code that consumes the web services from sharepoint. The SDK describes the method's clearly enough, but fails to describe the meaning of the attributes returned. Where do I find these meanings? For example, GetListItems returns things that are both folders and files. I...more >>

Object Serialization
Posted by Brian at 4/26/2005 10:23:09 AM
Hi, I'm a newbie to XML Web Services I have a class written in C# with a few string properties that i want to expose as xml from a web service. Whenever i try this i just get something like this: <?xml version="1.0" encoding="utf-8" ?> <CLASSNAME xmlns:xsd="http://www.w3.org/2001/XMLSch...more >>

Problems sending emails
Posted by Srinivas at 4/26/2005 12:00:00 AM
Hi, I am using ASP.NET SmtpMail to send email using the following code public void SendEmail(string From, string To, string Subject, StringBuilder Message, string Attachment, string mailFormat) { MailMessage mailMessage = new MailMessage (); mailMessage.From = From; mailMessag...more >>

smartclient test
Posted by Fairweather at 4/25/2005 5:44:58 PM
smartclient test...more >>

Test
Posted by Fairweather at 4/25/2005 12:25:35 PM
public.dotnet.framework.webservices...more >>

WSE 2.0 SP3 Certificate Tool with Securing the Username Token with
Posted by Mark Goosen at 4/25/2005 2:28:03 AM
Hi ive installed wse 2.0 SP3 and was running throught the demo downlaoded on the Securing the Username Token with WSE 2.0 page the Securing the Username Token with WSE 2.0. Im spose to change the access type for "SYSTEM and "ASPNET" to "READ" for the certificate in the certificate tool by c...more >>

Calling webservice using proxy authentication
Posted by jonathan NO[at]SPAM erars.demon.co.uk at 4/24/2005 9:44:04 AM
I have written a .NET client which calls a webservice. I've added functionality in which allows authentication through a proxy. When sending a GET request this works but when I do a POST I get a connection time out. I've run a trace and the authentication side of things is working I think. I get...more >>

Modifying the http/soap/xml after WS has created it, before it is
Posted by Anders at 4/24/2005 8:14:01 AM
Hi all, I wish to intercept the http/soap/xml message being send back from a web service - is this possible? I've been asked to make a simple front to mimic business systems to enable test of the client side. Correct responses already have been created in text files to correspond to test...more >>

Accessing Java Web Service
Posted by srpatna at 4/23/2005 7:19:01 AM
I am trying to access Web Service of a Vendor. Its built using Java on Weblogic. Connection is restricted to users with client certificate provided by them and NOT from any recognised authority. The Web Service setup at the vendor does not allow us to browse the wsdl or xsd. They have...more >>

How can I list web services on local machine?
Posted by Thanapol R. at 4/23/2005 3:48:01 AM
Hello all, I try to listing all web services on local machine like a Microsoft Visual Studio does in "Add Web Reference" window. Thanks, Thanapol R. ...more >>

My WebService Seems to be Loading Everytime it is invoked
Posted by Harry Whitehouse at 4/22/2005 6:42:27 PM
I'm coming from an ISAPI background and migrating code to Webservices. In the ISAPI world, there are sections of code that are invoked only once when the DLL is loaded by IIS. It's a place where you can do time-consuming resource loading once and only once. In .NET Webservices, I figured ...more >>

Programmatically add / remove web reference in C#
Posted by TC at 4/22/2005 3:13:37 PM
Hello All, I have winforms app that accesses a webservice and the WSDL is referenced dynamically. I was wondering 2 things: First, if one parses the .config file and changes the URL pointing to the WSDL, I take it that these changes would not take effect until the user closes and res...more >>

Web service session in winform client
Posted by Kevin Yu at 4/22/2005 11:07:05 AM
hi all got a questoin here, I have a winform client to call web service and the web service functions have EnableSession =ture, use IE to test the web service session, it works, but how to get it to work in winform? it seems like every call to the service will start a new session even if the w...more >>

Hosting a web service with out IIS
Posted by Tony at 4/22/2005 12:59:02 AM
Is there a way to host a ,NET web service without using IIS? Looking for a small process that could be started that can host a local web service that does not require an IIS installation. Tony ...more >>

Running batch file from webservice
Posted by Antonio at 4/21/2005 8:36:33 AM
I recently installed on my Windows 2003 Server the Support tools in order to create DNS using dnscmd.exe. I created a batch file called File.bat which I wanted to run from a webservice but it didn't work. Afterwards, I created a Windows Application to try and run the process using the follo...more >>

Running a batch file from a WebService
Posted by Antonio at 4/21/2005 8:33:52 AM
I recently installed on my Windows 2003 Server the Support tools in order to create DNS using dnscmd.exe. I created a batch file called File.bat which I wanted to run from a webservice but it didn't work. Afterwards, I created a Windows Application to try and run the process using the follo...more >>

Web Service returning types - BIG PROBLEMS
Posted by Matthias De Ridder at 4/21/2005 6:04:20 AM
Hello, I really hope that someone will be able to help me, because I'm desperate now! I'm a student, graduating this year, and I'm working on a thesis where C# Web Services are involved. I only have three weeks to finish it all! My GUI and Web services were finished, but I hadn't tested t...more >>

Deploying webservice
Posted by Peter Schmitz at 4/21/2005 4:41:04 AM
Hi, I just created my first .net web service and now I want to create an installation program for it. That's why I added a WebSetup project to my current solution and added the primary output of my web service project to it. But when I run this setup on a different computer (with IIS of cour...more >>

reading XML, SOAP problems
Posted by Jonathan [sbrodolo] at 4/21/2005 1:17:01 AM
Hi there, I am using a LOTUS/DOMINO Web Service in my ASP.Net application and I am having quite a lot of problems. I have managed to solve most of them but this one it really is giving me terrible headaches. Web Service send's me back an XML that I have managed to read with an enormous quantit...more >>

Class structure / VS.net question
Posted by aegis NO[at]SPAM bigpond.net.au at 4/21/2005 12:23:20 AM
Hi All, I'm new to VS.net, coming from Delphi, and there is something that I'm trying to clarify in my head about VS.net. Suppose you had a class Employee (Name, Age, Title, etc). Lets further assume that you are creating a web service, with a .net windows application as a client to tha...more >>

Passing arrays of structs from C# web service to raw C++?
Posted by WTH at 4/20/2005 5:59:57 PM
I have a C# webservice that returns an array of struct data back to a calling client. It works fine when tested via the ASMX page; however, I don't know how to make the call to this particular method from C++. If my web method is declared as: public MyStruct[] GetData() and returns bac...more >>

How to debug Web Service?
Posted by DQ at 4/20/2005 3:54:02 PM
Hi All, Is there a way to debug a web service program when I test a method via the DefaultWsdlHelpGenerator.aspx file. For example, I have a web service with a given name of "WSTest" that contains a web method with a name of "TestConnection." When I go to the following link (by typing...more >>

How to log raw SOAP response msg?
Posted by Bob at 4/20/2005 10:35:41 AM
The .NET web service proxy class is great for transparent app process via SOAP calls. I have a need to log the raw SOAP response messages. Is there an easy way to do this? I saw there is already a thread about intercepting SOAP request messages and someone suggested programming SOAP Extensions...more >>

WSDL gives the wsdl.exe tool problems.
Posted by Kevin Burton at 4/19/2005 11:49:03 AM
I am running wsdl.exe to try and generate some classes and I am getting: wsdl ppc.wsdl Microsoft (R) Web Services Description Language Utility [Microsoft (R) .NET Framework, Version 1.1.4322.573] Copyright (C) Microsoft Corporation 1998-2002. All rights reserved. Schema validation warning: ...more >>

WSE 2.0 and VS 2005 Beta2
Posted by Jed at 4/18/2005 4:09:03 PM
Does anyone know if the recently released VS 2005 Beta2 is compatible with WSE 2.0? Thx!...more >>

VS2005 Beta 2 Web Site Admin Tool?
Posted by yoDon at 4/18/2005 1:16:02 PM
I just installed the VS2005 Beta 2 bits, and I'm having a variety of issues with the Web Site Admin tool. If I create a test web service, I can't add users because: -- There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insuff...more >>

Calling WebService method from JavaScript
Posted by MSNews at 4/18/2005 12:00:00 AM
Hi, I have written a WebService using Visual Studio.Net's 'ASP.Net Web Service' project (ASMX). I want to call the exposed methods form a HTML client (using JavaScript) as a function. I do not want to prepare the Xml and make a SOAP call. One way is to use the webservice.htc but it will not work...more >>

ATL - Axis SOAP incompatibility?
Posted by Moshe Kravchik at 4/17/2005 12:00:00 AM
Hi all! I've encountered with what seems to be a compatibility problem between ATL SOAP Web Service and Axis client. The minimal scenario is like that. I create a service having the following function: struct SITest{ int val; }; [id(1)] HRESULT PassStructInt([in]SITest data); Wh...more >>

System.InvalidOperationException
Posted by Andreas Zita at 4/17/2005 12:00:00 AM
Hi! I keep getting this error message 'System.InvalidOperationException' whenever some exceptions is thrown in my web service code. Is there any way to configure IIS or my web service to display a little more detailed error messages? Im running .NET 1.1/VS03/XP/IIS/C# Thanks! /Andr...more >>

soap payload size exceeds the limit
Posted by Praveen Chandra at 4/17/2005 12:00:00 AM
Hi I was calling a third party webservice ( WSDL ) which is accepting some xml as input parameter. it works fine when the xml size is small but starts giving error when the xml size reached about 400KB. Error Description : The size of the request exceeds the limit allowed by the server. ...more >>

Enum design question
Posted by Stan at 4/15/2005 5:33:05 PM
Suppose there is class with enum public enum Color { Red = 20, Black = 13 } And suppose there is a method public void SetColor (int id, Color c) { } When web service proxy class is generated the value of the enums will be lost: public enum Color { Red, Blac...more >>

403 forbidden with web application, works with windows application
Posted by Christoffer at 4/15/2005 4:53:58 PM
Hi, I have a quick question. Why do I get a 403 Forbidden message when calling a Web Service from an ASP.NET web application but not from Windows Application (it works perfectly from the Windows Application)? The Web Service I'm calling requires a client certificate which I have installed i...more >>

C#.NET application does not respect IE proxy settings
Posted by Robb Gilmore at 4/15/2005 12:57:02 PM
Posting this again as: rgilmore@newsgroup.nospam (Also posted under dotnet.general) We have a C# .NET app which runs as a service. It posts data to a server using HttpWebrequest. According to the docs I 've read, it should use the proxy settings from IE on the server machine. But it does...more >>

Calling a batch file from a web service
Posted by JoelBrimm at 4/15/2005 12:19:04 PM
I have a batch file that executes a command line utility to do a secure file copy from our server to a 3rd party server. The batch file works fine, but when I call it from the web service the log file shows that it hangs up on the execution of the utility ( an exe ). Batch files without ...more >>

Advice needed on Servere side WS, which is activated by SQL Trigge
Posted by Warren at 4/14/2005 3:29:01 PM
My COmpany wants to push content to another company at the end of the day. I would like to have this run on a server with out human interaction... We use MS Visual Studio 2003 with the latest WS 2.0 patch and etc... Any suggestions or links to article that talk about automated WS......more >>

MySQL database
Posted by yenruyee at 4/14/2005 1:26:52 PM
I had a job offer with C++ and MYSQL which the latter I don't have experience with, MYSQL part so I got turned down by the employer. I haven't much luck since I am still in school, but there is always one possibility. ANyway, I won't talk about that because I come cross some jobs needing MYSQL...more >>

Simple question
Posted by bhmsaad at 4/14/2005 1:23:54 PM
How to debug a webservice which is not in the same solution but resides on the local host. thanks for your help...more >>

Dynamic CacheDuration
Posted by André Schubert at 4/14/2005 10:52:20 AM
Morning, how can i change the cache duration of a webservice methode dynamically ? THX André ...more >>

request exceeds the limit
Posted by Praveen Chandra at 4/13/2005 9:32:14 PM
Hi I was trying to call the webservice of MS Project server (ProjectCreate interface of PDS) to create a new project. It works fine when the input XML is small with a few task and allocations. It gives an error " The size of the request exceeds the limit allowed by the server " when I have a ...more >>

Web service connect problem
Posted by yfng at 4/13/2005 8:34:02 PM
I build a web service in a server(A) and can connect to it successfully in my local computer(B) by using SoapHttpClientProtocol as client. However, when I move the same code(local computer (B)) to another computer (C). It (C) can view the web service through browser but not success in code. ...more >>

impersonation
Posted by Ohad Young at 4/13/2005 5:03:49 PM
Hi, I need to connect to a remote SQL server from a webservice. The webservice (IIS) and SQL server are running on different machines. I'd like to use windows authentication rather than SQL one. How can I achieve this? through impersonation? what are the implications of using impersonat...more >>

specified cast is not valid
Posted by Random at 4/13/2005 8:35:19 AM
I haven't the slightest idea what is causing this problem. I get an error in calling the Invoke method in my Web Reference to my Web Service. The error is... ----------- An unhandled exception of type 'System.Web.Services.Protocols.SoapException' occurred in system.web.services.dll Addi...more >>


DevelopmentNow Blog