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

Filter by week: 1 2 3 4 5

Compress dataset returned from Web Service
Posted by Evgeny.Br NO[at]SPAM gmail.com at 10/31/2006 4:47:03 PM
Hi All, I use .NET 2.0. I experience huge performance problem retrieving dataset from web service. The dataset volume returned from WS is about 5-7 megabyte, it's take too long. Is it possible to compress dataset in some way in the WS send to client, and decompress in the cli...more >>


Web Services configuration
Posted by A at 10/31/2006 3:58:24 PM
Hello I'm using WCF and I would like to know if there is possible to have something like: a WebService with 2 methods: Get and Set and at the deployment time on a server X to decide that the Set method must be "hidden" (a X's clients cannot call it or cannot see it) and on another server Y...more >>

Compress dataset returned from Web Service
Posted by Evgeny.Br NO[at]SPAM gmail.com at 10/31/2006 3:49:37 PM
Hi All, I use .NET 2.0. I experience huge performance problem retrieving dataset from web service. The dataset volume returned from WS is about 5-7 megabyte, it's take too long. Is it possible to compress dataset in some way in the WS send to client, and decompress in the client, if ...more >>

Passing XML to web service?
Posted by nickname at 10/31/2006 1:35:02 PM
I want to pass some xml to a web service method, the xml will confirm to a defined schema. Lets say the schema is defined as: <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="books"> <xs:complex...more >>

Paypal & asp.net
Posted by Blasting Cap at 10/31/2006 10:48:26 AM
I have an application that needs to use Paypal to verify the legitimacy of a credit card, not the actual charge. The only thing I can find thru Paypal's SDK is stuff that's a COM add-in. Is there a web service that anyone knows of that'll do this process? One that would be free or a single...more >>

wsdl.exe problem
Posted by Nick Locke at 10/30/2006 9:10:05 PM
I have a fairly simple structure: - Simple Types in an XSD - Complex Types (one file) in another XSD, importing the Simple Types - More Complex Types (second file) in another XSD, again importing the Simple Types - A WSDL Definitions file, importing the two Complex Types files - A WSDL Serv...more >>

Yahoo Finance
Posted by James at 10/28/2006 4:38:04 PM
Is there a way to get a list of stock quotes from yahoo finance into you c# application? I looked on the yahoo finance page and cannot see a wsdl end point. Can somebody please point me in the right direction? James ...more >>

WebService and UserControl doesn't work
Posted by Mauricio Pires at 10/28/2006 3:59:02 AM
When my UserControl calls a webservice's method I receive the following exception: "There is an error in XML document (1, 220)." I'm running with VS 2005 (UserControl Test Container). Cam some one help me? ...more >>



Compact framework woes
Posted by Simon D at 10/27/2006 8:51:14 PM
I've managed to create a desktop app (in vs2005) using .net that accesses a web service. However porting to the compact framework is a failure, because the response(s) to the proxy class calls are not constructed properly. The service uses a session token that is in a member object of the r...more >>

how to set restriction attributes in wsdl file?
Posted by gszhang at 10/27/2006 12:49:02 PM
Hello, Dose anybody knows how to set the minLength, maxLength for a string property in a class within web service that will be the element attributes in the wsdl file? same cases are minValue and maxValue for a integer, whitespace for string and some other data element restrictions. ...more >>

Send XML without SOAPEnvelope wrapper?
Posted by rhea at 10/27/2006 12:39:04 PM
I'm a Web Services newbie and I'm hoping some more experienced developers can help me out. I've written a .NET 2.0 web service that takes an XML file as input. The SOAP envelope is pre-defined within the XML document. I then send this XML to another web service (written in java) and that'...more >>

WSDL to SOAP
Posted by Siva at 10/27/2006 3:55:01 AM
Hi all, I want to Convert a WSDL to a SOAP message. Is there any way to do this. I am using .NET 2.0 Thanks in Advance Siva...more >>

XMLSerialization - Do I need it?
Posted by LW at 10/26/2006 4:13:01 PM
Hi! I am getting the following error message for my fairly simple web service. I have classes and have two DataSets that reference the same classes. The error is: The XML element named 'GetCustNoResponse' from namespace 'http://mydomain/' references a method and a type. Change the method...more >>

How do I capture the SOAP Fault message ******** NEED HELP !!! *******
Posted by sydney.luu NO[at]SPAM gmail.com at 10/26/2006 9:16:34 AM
Hello! I am currently developing a Web Service client application in VS.NET 2005. Everything is working fine except I don't know how to capture the SOAP error code along with the error message generated on the Web Service call. Here's a sample of the <SOAP:Fault> I got: <SOAP:Envelope ...more >>

Poor XML WS performance on Windows 2003
Posted by J Disharoon at 10/25/2006 3:44:01 PM
I have a web service that does some heavy lifting with XML and hash tables. I moved my architecture to Windows 2003 (5 identical servers behind a load balancer, 1 stayed on Windows 2000), and now have a major performance problem. The Win2k3 servers are running at an average of 7.7s/call, and...more >>

calling a web service from within a web service
Posted by fallenidol at 10/25/2006 1:25:23 PM
hi i'm looking for some heads up info regarding calling and using a web service from within another web service. is this acceptable practice? if not why? what should i be thinking about here? cheers ...more >>

USE WSE 2.0 to set the action of a message.
Posted by Gustav at 10/25/2006 12:06:01 AM
Im trying to use WSE 2.0 to connect to a WebService that authenticate the client through negotiation described in WS-SecureConversation Appendix I.3 (Token Discovery Using RST/RSTR). I use the following code to try to get a RSTR containing a "challange". string tokenType = "http://schemas....more >>

Quiestion about async calls to wcf services
Posted by ksen at 10/24/2006 4:52:01 PM
I am calling wcf service asynchronously, It works fine most of the time. Sometimes i get exceptions. When i see the event log there are few event logs related to the async calls. Could some one explain what this about and how to correct it.? Here is the event details: Event code: 3005...more >>

Newbie Question - Best Practices
Posted by LW at 10/24/2006 1:41:01 PM
Hi! I have a question about the best way to proceed to write a web service. I am new to this so would appreciate your comments. I have the soap request and response. I have my DataSet so have all the information to populate the response. My question is: How do I get from the DataSet to th...more >>

Consuming a webservice from a class library
Posted by Preben Zacho at 10/24/2006 12:00:00 AM
Anyone that has a link or description that simply as possible shows how to add a web reference to a class library in C# and consuming it? TIA PZ ...more >>

MTOM vs HttpWebRequest for file upload
Posted by russell.lane at 10/23/2006 5:59:30 PM
I've been looking at both MTOM and simple HTTP POST or PUT for file uploads. Some relevant details: ... We want to support programmatic file uploads from Winform apps. ... The files are large binaries, large enough that we would need to increase the maxRequestLength value. ... We don't need...more >>

Problem generating code with wsdl
Posted by Cesar at 10/23/2006 4:21:02 PM
Hello there, A java programmer sent me a wsdl file, which I have to use to consume his web methods. When I run the wsld.exe tool to generate the class' code, I get the following message: CODEGEN: The operation binding 'getAvaluos' from namespace 'urn:m15.AvaluosPortType' was ignored. Th...more >>

when to you web services?
Posted by fallenidol at 10/23/2006 4:20:03 AM
i am wondering if someone can give me their opinion on when to use web services. I am of the opinion that web services are generally best suited to be consumed by clients and provided by a 3rd party and not consumed from the same server that runs the web service....more >>

Excluding 'Nonce' and 'Created' elements
Posted by Rasika WIJAYARATNE at 10/22/2006 4:48:29 PM
Hi Everyone, I am using WSE 3 and UsernameTokens over SSL. I was wondering what was the fastest way to remove the 'Nonce' and 'Created' elements from the header as the Java WS that I am calling doesn't seem to like them, see below: <wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/...more >>

Dataset and Nested Class???
Posted by LW at 10/21/2006 9:34:02 PM
Hi! I have a DataSet and a class in my Web Service. My output for example is: <OrderInfo> <CustomerID>VINET</CustomerID> <OrderID>10248</OrderID> <OrderDate>07/07/1996</OrderDate> <ShippedDate>08/08/1996</ShippedDate> </OrderInfo> I would like it to be: <OrderInfo> ...more >>

I want to Dynamically Discover Web Services
Posted by John Paul. A at 10/21/2006 6:59:02 PM
Hi, I have a 3rd party web service running in a Web Server within our network. The web service sends "Hello" message when joins the network and also sends "Bye" message when leaves the network. I want to write a client code to receive the "Hello" message as well as the "Bye" message sent b...more >>

System.Guid
Posted by Michael Primeaux at 10/19/2006 11:13:56 PM
I have a simple .NET 2.0 web service created with VS.NET 2005 with a single web method with the following signature: [WebMethod] void HelloWorld(Guid parameter1); When calling this method I receive the following error: System.IndexOutOfRangeException: Index was outside the bounds of the ar...more >>

Weird Soap Extension Problem
Posted by Frederik Vanderhaegen at 10/19/2006 9:01:41 PM
Hi, I'm writing a simple soap extension for a webservice I developed (without the use of an extension the webservice works perfect). The extension is registered through the web.config files of my webservice and my application. In my extension I override the Chainstream method and implement ...more >>

Global class in a DLL
Posted by paulo at 10/19/2006 5:50:25 PM
Hello, I have a DLL library containing some web services which are declared in each .asmx file in the following way: <%@ WebService Language="C#" Class="LibraryName.WebService" %> I would like to log every unhandled exception that occurs on any web service declared in the library to a f...more >>

Production requirements to host ASP.NET web service which uses VB 6.0 COM Components
Posted by ravichandranmuthu NO[at]SPAM gmail.com at 10/19/2006 5:16:26 AM
Hello, I have developed a asp.net web service which uses com interoperability and is working fine in my machine. How do I move this to Production server which just has IIS5.0 and has no dotnet framework. What are the basic requirements for the Production Server to host my web service and wi...more >>

Web service will not run
Posted by GSwan at 10/18/2006 8:08:02 AM
Hi, I've been trying to implement a web service which will run under a specified account. The reason for this is so that i can call an SSIS integration package from a remote PC application. The SSIS package has to access file system shares and hence needs more rights than just the ASPNET lo...more >>

web service logging
Posted by gabedog NO[at]SPAM gmail.com at 10/17/2006 9:43:34 AM
Is it an acceptable practice to log data to log files on a web server? I've heard that some developers don't like to do it. I've been using Log4Net to do some trace information on some web services, especially when it's initially deployed. It cleans up after itself, so I don't see disk storage a...more >>

Best way to fetch dynamic XML data
Posted by Ben Ellis at 10/17/2006 4:16:01 AM
Hello all, I'm wanting to know which method I should use to fetch dynamic XML data. Is it better to use web services or to fetch the data from a dynamic XML file? Either, use a webMethod to return a byte array of the XML data, or use an ASP page that generates the XML data. ...more >>

ASP and web service ?
Posted by KaNos at 10/16/2006 8:29:43 PM
Hello service world; My question is really simple? How to consume a .Net web service in an asp page (not .net old asp) in server side (not in client side like ajax) ? Thanks for responses....more >>

Advice on Web Service modelling
Posted by Anders K. Olsen at 10/16/2006 5:14:44 PM
Hello group I would like some advice on how to model my webservices. Our application is made up of a number of independent modules that handle different parts of the application logic. It is a client-server application, where the server exposes some web services that the clients can use. ...more >>

Multiple client connections advise
Posted by D. Yates at 10/16/2006 12:22:35 PM
Hi, I'm about to embark on a project that will both send and receive information to/from our client computers in the field. The area that I still need to finalize is the method of communication and the technology to use. The following will be true: 1. Communications will...more >>

Is there any way to use comunications with web services skiping the antivirus/firewall alerts?
Posted by jb at 10/16/2006 12:05:39 PM
Hi, I've a software in winforms who needs to read data from a webservice in Internet, but the mcafee antivirus or others, are asking for permissions to the user to allow the connection to internet. This is a problem, because the users of the software aren't computer engineers, they doesn't ...more >>

Specifying namespace prefix?
Posted by Adam Eccleshall at 10/16/2006 4:46:01 AM
Hi, I'm trying to write a routine to extract results from a web service written in VS 2005 using XPath, however VS doesn't put a prefix on result namespaces by default, so in the output from a service such as <soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://w...more >>

Using multiple web services through proxy giving error
Posted by Ankur Goenka at 10/16/2006 1:07:02 AM
Hi, I am trying to include two proxy classes (from two different web services say Namespace.Service1 and Namespace.Service2) in a project (C# Class lib). These webservice internally use (as input or return) custom classes' objects e.g. userinfo, customerinfo etc. When i generate the proxy ...more >>

Processing an aspx xml-variable in xsl
Posted by djamilabouzid NO[at]SPAM gmail.com at 10/15/2006 12:22:13 PM
Hi, I want to build an aspx page with three combo box. Each combo represents data from the database. I have three xml variables that I build dynamically, let's say: var1, var2 and var3. I pass these variables from my aspx program to my xsl program. If I put each variable in a file: for examp...more >>

unable to use getWebConfiguration
Posted by Dean Guenther at 10/13/2006 4:40:01 PM
HI folks, I'm using .NET 2 and studio v8. I can't seem to get it to recognize GetWebConfiguration. I say this: using System; using System.DirectoryServices; using System.Configuration; using System.Web.Configuration; using System.Configuration.Provider; using System.Web.Security; using Sy...more >>

Authenticate web service once
Posted by Chris Davoli at 10/13/2006 2:20:02 PM
Does anybody have an article on how to secure a web service so that I only have to log in once and then access all the web services without re-logging in? I know I've used this before using session variables and some kind of client cookie. I'm think I'm going to have to do this on a web farm. ...more >>

How to secure a webservice - could some expert advise?
Posted by thomas at 10/13/2006 12:00:00 AM
Hi everybody, Here is the scenario: webservice and a windows client application. Requirements: 1. Only authenticated and authorized users shall be able to call web methods. 2. User names or passwords shall never be sent over http. Constraints: 3. Webservice cannot use Windows or LDAP a...more >>

Enumeration in WebService
Posted by Sadagopan at 10/12/2006 3:46:01 PM
Hi, I am thinking of returning enumerated data types in my web service response. My enumeration values are driven from a database lookup table. The table get new lookup records and these need to be enumerated to the clients. The problem I face is , any time when these new records are added , t...more >>

Web Service and DLL's in same project
Posted by Chris Davoli at 10/12/2006 1:04:01 PM
I'm using VS2005 and am trying to put the Web Service project and the DLL Class component project into the same solution, but it doesn't let me like the old VS2003 would. I'm wanting to put the Classes project (components) that I call deom the web service into the same project so I can walk th...more >>

Debugging Client and Service
Posted by geckosphere at 10/12/2006 12:35:02 PM
I want to be able to debug through the whole process from a button click on the client through all of the web methods and data access methods. It seems that when I put a break point on the button click event and then try to step through each line the debugger skips over the call to the web ser...more >>

Static Variable Reference in Web Service?
Posted by depalau NO[at]SPAM bemis.com at 10/12/2006 12:34:24 PM
I'm running into some issues on maintaining a static variable across the lifetime of a web service and I was wondering if anyone could help. Background: We have developed a C#/1.1 web service running on IIS 5/6 that interfaces with a 3rd party DLL referenced by using the DLLImport attribute...more >>

Setting up Custom Security for Web Site
Posted by Anbu at 10/12/2006 8:14:05 AM
Hi All, I came across an interesting link http://www.rassoc.com/gregr/weblog/stories/2002/06/26/webServicesSecurityHttpBasicAuthenticationWithoutActiveDirectory.html This link allows us to create customized reply to the clients. This implements IhttpModule. I have two web services defined in...more >>

Calling a web service from within a DLL
Posted by paul1664 NO[at]SPAM hotmail.com at 10/12/2006 3:20:07 AM
Hi, I am trying to call a web service from within a dll, with that dll being loaded and called dynamically. eg. Assembly assembly = Assembly.LoadFile(@"C:\path\myfile.dll"); Type type = assembly.GetType("myfile.Class1"); object instance = Activator.CreateInstance(...more >>

wsdl /sharetypes and xmlinclude
Posted by deja NO[at]SPAM 2bytes.co.uk at 10/12/2006 1:43:41 AM
hi, i have 2 web services each with some of the same types but also each with their own xmlincludes to include types specific to them. I want to share the types that are common so I used wsdl /sharetypes but it hasn't included the xmlinclude objects. So for instance, Service1 and Service2 b...more >>


DevelopmentNow Blog