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

Filter by week: 1 2 3 4 5

How to debug? (VS 2005)
Posted by thomas at 9/30/2006 2:57:41 AM
Hello all, I have a C# windows application project and a web service project, all part of the same solution. My windows application references and uses web service. Everything works as expected except for the fact that I cannot debug web service. When my client windows application calls ...more >>

Size of Request to Webservice
Posted by Stanley Omega at 9/30/2006 12:00:00 AM
Hello, I have a webservice that has a max httpRequest size of 85kb. I do not want to change this. I have been reducing the size of my datasets that Im sending to the webservice until they come in under 85kb....or so i thought. I am using xmlwrite.length to get the length in bytes <85 but...more >>

Exposing webservice
Posted by Asfar at 9/28/2006 9:07:33 AM
Hi, I have developed my first webservice using Web Service Software Factory provided by Microsoft. Java client will consume my webservice. Now my question is what information do i need to provide to the developer who will be developing the Java client. Should I just use wsdl.exe and genera...more >>

Using XSDs in Web Services
Posted by David Jessee at 9/28/2006 4:35:01 AM
A WSDL file contains a Schema that defines the XML Types transferred from client to server. However, from what I can tell, this schema is never validated by the default MS implementation of the Web Service class. I know that I could, within the server's implementation, validate the input b...more >>

strange date behavior
Posted by Jeremy Chapman at 9/27/2006 2:10:41 PM
I've created a web service method which looks like public MatchResult CheckMatch(MatchData MatchValues) MatchData is a class defined as: public class MatchData { public string GivenName; public string FamilyName; public DateTime BirthDate; public string Gender; } When I c...more >>

Invoke web service tester from remote machine.
Posted by Chris Davoli at 9/27/2006 12:21:02 PM
Somebody I work with created a web service and of course it creates an asmx page for the web service. When you open this page up on the browser it gives you a kind of tester page where you can enter parameters and invoke and test the web service and get back xml to see what the output xml look...more >>

underlying connection was closed: unable to connect to the remote server: COM --> .Net --> WebService --> Error
Posted by Monty at 9/27/2006 9:28:57 AM
OK, I had an issue with this and found lots of advice that did not apply, so I'm posting what I found hoping it might help someone else. Here's the sitch: you have a COM app that calls to a .Net assembly which in turn calls a web service. You know the web service is reachable and that the COM ...more >>

PDA - Unable to connect to the remote server
Posted by David++ at 9/27/2006 4:22:01 AM
Hi folks, I have built a VS2005 project which includes a C# Web Service, C# Windows Forms app (which uses the Web Service), and a C# PocketPC app (which also uses the web service). When I run the Windows Forms app from the desktop I am able to use the Web service with no problems. On the...more >>



Question regarding oneway attribute of webmethod.
Posted by archana at 9/26/2006 10:02:37 PM
Hi all, I am having one confusion regarding webmethod's fire and forget behaviour. Say suppose i have method like [ SoapRpcMethod(OneWay=true) ] [ WebMethod(Description="Starts nightly stats batch process.") ] public void StartStatsCrunch() { // Begin a process...more >>

How to compensate for missing header information in WSDL?
Posted by Lee Franke at 9/26/2006 10:51:35 AM
The application that I want to use requires the header to contain a username/password. Example: <soap:Header> <wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/04/secext"> <wsse:UsernameToken> <wsse:Username>fluffy</wsse:Username> <wsse:Password Type="wsse:PasswordText">bunny...more >>

Classes in webservice have the same name
Posted by yads12 NO[at]SPAM gmail.com at 9/26/2006 10:34:10 AM
We have a webservice that is a passthrough to a third party webservice. The third party webservice uses the classes that are named the same for both the submission and result message. We have separated these out to different namespaces in our webservice. Eg. SubmissionMessage.WebServiceMessage...more >>

No Query Text Received
Posted by owenmj at 9/26/2006 8:04:02 AM
I have a written a web service which takes some user input and then looks up the relevant details on a SQL server. All works fine until I embed it in the Research pane - at which point I receive no query text when I invoke the service I'm deploying the service on my local machine so is the...more >>

Using SoapExtensions with web service clients built in VS2005
Posted by Ravikanth at 9/26/2006 7:58:02 AM
I created a web application in vs2003 which cosumes a web services. I used SoapExtensions to log the Request sent to server and Response received from server by adding a SoapExtension attribute to the web method in Reference.cs. This logic worked fine. But now I have a similar requirement a...more >>

web service call in VC++ 6
Posted by saurabh at 9/25/2006 10:16:57 PM
Hi, I have written web service in C#.Net. I want to make a call to the web service in VC++6. I want some pseudo code for that. What are the libraries, header files are to be used ? A code sample for the same will be highly appreciated. Regards, Saurabh ...more >>

How to disable WSDL generation in web.config file
Posted by John K at 9/25/2006 12:53:01 PM
I am trying to eliminate the capability of displaying the details of a web service by disabling WSDL generation in the web.config file. I have made the following changes to the web.config: <webServices> <wsdlHelpGenerator href="helpPage.aspx"/> <protocols> ...more >>

Web Service method works on local machine but fails on remote
Posted by Abhi at 9/25/2006 11:40:02 AM
Hi All, I have a web service method which works fine when called from my local machine i.e. from localhost but when I publish the web services to a remote machine it throws an invalid cast soap exception. That web service method access Active Directory to get the group names for the give...more >>

Recovering data out of dataset from client
Posted by TiGeR79 at 9/25/2006 8:07:02 AM
Hello, I've written a webservice which returns a dataset containing just one table with two columns. One colum holds a string while te second holds an image serialized into a byte array. This dataset is returned to a client application. Now i'd like to know how i can retrieve the data thats i...more >>

(500) Internal server error ReadXml
Posted by webmaster NO[at]SPAM 1stmiami.com at 9/23/2006 2:27:54 PM
I have a .net web service that when I call using http returns this auto format xml: <string> <coverage memkey="001" hplan="hmo" effdt="1999-10-01T00:00:00" termdt="1999-12-01T00:00:00" /> </string> The below code worked when the code was a local object method, however now as a web service...more >>

DataTable returned from a Web Service
Posted by jsoques at 9/22/2006 6:43:05 PM
Hello, I created a Web Service using .Net 2.0 that has a function that returns a DataTable. I can test the function from the web page when I access the .asmx from a browser on localhost and it works. I can also test the function using VB6 and the xmlhttp activex object. The problem I have now ...more >>

Passing class with methods to a WS. Data not methods serialized
Posted by twahl at 9/22/2006 11:52:01 AM
Hi, In the WS I've defined a class that contains both data and methods. I'm trying to pass this class to a client application using a web method. When I access this class on the client only the properties are available not the methods. I guess this makes sense but how can I get access/inst...more >>

Web service slow the first time
Posted by Marlene A. Roman at 9/22/2006 7:22:24 AM
Hope everybody is doing OK. I have a webservice which I request via https://. I'm also using WSE to generate an authenticated token. I understand that the very first call to the webservice is slow because the webservice needs to JIT. But I've noticed that after a period of t...more >>

This is an unexpected token. The expected token is 'NAME'.
Posted by Ben Walling at 9/21/2006 3:29:02 PM
I'm getting the following error on one of 110 machines that is using a webservice to upload database changes to a central location: System.Web.Services Server was unable to read request. --> There is an error in XML document (3, 2148906). --> This is an unexpected token. The expected token i...more >>

Building a Web Service Proxy server wsdl.exe /server Interface gsoap
Posted by ayaz.usman NO[at]SPAM hp.com at 9/21/2006 2:45:26 PM
Hi, I've built a web services proxy server, in C# using wsdl.exe, by importing wsdl. Howeever, when I go to : http://localhost/sample.asmx?wsdl, they wsdl there does not match the wsdl I fed into wsdl.exe. Why is this? Is there something I can do to make the input and output wsdl match? ...more >>

Passing a class to or returning from a web method
Posted by twahl at 9/21/2006 2:28:01 PM
Hi, My problem is that the consumer of the WebService does not see the class's properties when passed in a web service. I want to pass a class in from a WinForm to a webmethod. I've defined the custom class in a seperate assembly. The custom contains a public int property. The problem ...more >>

WebService called by automation dll times out when being called from Navision
Posted by Felix at 9/21/2006 8:31:11 AM
Hi Fellows, following problem: I have written a class library in vb.net an enabled it for com interop. A class within the library calls the FileNet Content Engine Webservice. That is a Webservice of a document Management System that uses MS WebService Enhancement 2.0 SP 3. When i add a refe...more >>

Execute Http request
Posted by Sam at 9/20/2006 7:51:24 PM
Hi, I have created a web service and I'm using google map API. If I write a particular URL like this: http://maps.google.com/maps/geo?q=1600+Amphitheatre+Parkway,+Mountain+View,+CA&output=xml&key=abcdefg in my browser the response is: <kml> <Response> <name>1600 amphitheatre mtn view ...more >>

Axis2 and WSE3 interoperatability question
Posted by yewen at 9/20/2006 4:47:02 PM
My C# client (.dotNet 2.0 and WSE 3.0) generated the following SOAP message. <?xml version='1.0' encoding='utf-8'?> <soap:Envelope xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addre...more >>

Read XML serialization of an ADO.NET Recordset in Java
Posted by roboB at 9/20/2006 9:10:02 AM
Whth .NET WS I have serialized an ADO.NET Recordset in an XML Stream like this: <xml xmlns:s='uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882' xmlns:dt='uuid:C2F41010-65B3-11d1-A29F-00AA00C14882' xmlns:rs='urn:schemas-microsoft-com:rowset' xmlns:z='#RowsetSchema'> <s:Schema id=...more >>

prefix in soap header
Posted by Kevin Eldridge at 9/20/2006 3:40:28 AM
Hi, I'm trying to call a java web service and i need some help in creating a custom SOAP header in c#. I need to access to a Web service that implements authorization policy, by using a session token to be passed in the SOAP header. The header should be as the following: <env:Header> ...more >>

passing custom object to webservice
Posted by Greger at 9/20/2006 1:39:01 AM
Hi, I am building an architecture that passes my custom objects to and from webservices. (Our internal architecture requires me to use webservices to any suggestion to use other remoting techniques are not feasible) The question is; Given that I have a Person object with a private set f...more >>

Help consuming third part web services
Posted by Ken Crismon at 9/19/2006 10:58:01 AM
Hello, I am currently working on an embedded systems project where by I have written a small web server that is being hosted on our internet appliance (running on an Atmega128 chip and doing lots of col RFID and Mesh network stuff). In this example I am trying to get the AuthenticateUser...more >>

Web services and password change in AD.
Posted by Luc at 9/19/2006 5:27:01 AM
Hi everyone, I had this strange problem. We are using web services for our entreprise applications. We are using IIS as the host for our webservices and IIS is configured to use integrated authentication. The problem arise when the user's password changes and he has not done it at logo...more >>

Internal Webservice - UDDI Needed?
Posted by ravichandranmuthu NO[at]SPAM gmail.com at 9/19/2006 3:57:52 AM
Hello there, I am new to web-services and so kindly excuse me for this silly basic question. I am writing a web service which wraps a VB COM DLL. Do I need to make an UDDI entry when my client clearly knows me and will access me through a firewall? Do I need to maintain a local UDDI which n...more >>

Strange error
Posted by nonamehkg NO[at]SPAM hotmail.com at 9/18/2006 10:20:39 PM
Hi, my web service has recently got some strange error, and even the most simplest(empty) web method would crash with the error below: System.IndexOutOfRangeException: Index was outside the bounds of the array. at System.Web.Services.Protocols.HttpServerType..ctor(Type type) at System...more >>

problem to generate .NET test client from WSDL
Posted by John at 9/18/2006 5:01:42 PM
I want to generate .NET test client from WSDL in Visual Studio.NET. After I have added web reference with the remote WSDL URL, I used Google WSDL http://api.google.com/GoogleSearch.wsdl here. I press F5 to start the test client, and it lanuches http://localhost/GoogleWSProj/Service1.asmx in the ...more >>

Accessing dataset datatable table row problem
Posted by Tony Girgenti at 9/17/2006 12:08:27 PM
Hello I developed and tested a web application using VS.NET 2003, VB, .NET Framework 1.1.4322, ASP.NET 1.1.4322 and IIS5.1. It uses a web form. I used the XML Designer to create an XML .XSD Schema to produce a Dataset. In looking for a way to start adding data to the dataset programmatic...more >>

Need help designing XML Dataset
Posted by Tony Girgenti at 9/16/2006 4:12:46 PM
Hello I developed and tested a web application using VS.NET 2003, VB, .NET Framework 1.1.4322, ASP.NET 1.1.4322 and IIS5.1. It uses a web form. I tried doing this without any help, but i'm getting nowhere. I want to create an XML schema (XSD) for a dataset/datatable using the XML design...more >>

Flatten WSDL
Posted by johns1111 NO[at]SPAM gmx.de at 9/15/2006 3:19:59 PM
The WSDL reflects the full inheritance structure of my program, how can I flatten the WSDL file? e.g. if I have a class A with properties PA1 and PA2 and a class B which in the C# code inherits from A and properties PB1 and PB2, then the WSDL for a web service containing a method that returns ...more >>

Best way for webservice security for a public application
Posted by news.demon.nl at 9/15/2006 3:11:39 PM
Hi, I hope someone can give me some advice on which form of security i can use best in this scenario: I have a free application that everbody on the internet can download. It calls a webservice retrieve it's data. Currently it's not secured, so anybody can use it. I want to secure it, ...more >>

Java Applet Interop
Posted by dannywaite7 NO[at]SPAM hotmail.com at 9/15/2006 7:06:57 AM
Hi guys, I'm about to start a new network diagramming project based on a java applet. After researching many current client-side technologies I decided to use an applet for the rich graphics library (drag & drop etc.) and because of its cross browser/platform strengths. I would like to bui...more >>

ATLAS and XmlDocument
Posted by Pebble at 9/14/2006 5:24:39 PM
If I return an XmlDocument from a WebMethod how can I then do the equivalent of this:...more >>

VB6 and webservices
Posted by NN at 9/14/2006 4:48:54 PM
Hello, I have a problem. I have a program in VB6 that has to save a file in a database, but it has to do it across a webservice created with .NET So, the webservice must take the file that the program in VB6 send, connect to the database (in MySQL) and save the new record with the file. The...more >>

Static variables initialization in web services
Posted by mnowosad at 9/14/2006 2:43:01 PM
As far I know, static variables are tied to AppDomain scopes. So, every time an executing code within an AppDomain references a class for the the first time since the AppDomain was created/loaded, the .NET executes the assignments done in the class static variables declarations and runs the ...more >>

How to install ASP.NET Web Application on SBS2003 server
Posted by Tony Girgenti at 9/14/2006 12:03:40 PM
Hello. I developed and tested a web application using VS.NET 2003, VB, .NET Framework 1.1.4322, ASP.NET 1.1.4322 and IIS5.1. It uses a web form. When i go to client site, if they have their own SBS2003 SP1 server with IIS6.0 installed on it and their company web site is accessed using Sh...more >>

Having the darndest time trying to install and run at client
Posted by Tony Girgenti at 9/14/2006 11:56:50 AM
Hello. I developed and tested a web application using VS.NET 2003, VB, .NET Framework 1.1.4322, ASP.NET 1.1.4322 and IIS5.1. It uses a web form. I'm having the darndest time trying to make this program install and run at client site. Not so much install anymore, but there are still some i...more >>

working with web services in asp.net 2.0
Posted by prad at 9/13/2006 7:57:01 PM
Hi, I am working with webservices in asp.net framework 2.0. when i run the webservice it didnot give any errors and it was working well but when I add it to one of my projects as add web reference its giving the following error. ++++++++++++++++++++++++++++++++++++++++++++++++ Server Erro...more >>

Accessing Soap Header
Posted by Debasish Pramanik at 9/13/2006 4:38:41 PM
Hi All, I have added a SoapHeader in my websevice, which is exposed as a variable from my webservice. Whenver I access the header form my client I see the name of variable being changed to <VaribaleName>Value. public class MyClass: System.Web.Services.WebService { public Header Request...more >>

Empty Arraylist from Perl Client using SOAP:Lite
Posted by Vinit at 9/13/2006 4:12:10 PM
Hi I am passing an arraylist to a c#/.net webmethod from a perl client using soap:lite. The trace shows the elements in the xml request. The arraylist input in the webmethod however does not contain any values and is empty. It works fine with arrays....but NOT arraylists....does anyone know ...more >>

Returning a Dictionary from a webservice
Posted by Matt Kemmerer at 9/13/2006 2:24:01 PM
I'm trying to return a HashTable froma WebMethod. This fails with a not supported method because HashTable implements IDictionary. What I'm doing right now instead is stuffing my data into a DataSet and then extracting my data from the DataSet on the other side. What I want to know is this...more >>

Implementing interface-based web services in .NET 2.0
Posted by oldVB3r at 9/13/2006 2:04:03 PM
I would like to create a set of web services that share a common set of types (classes, structures, enums). I know I can create a VS 2005 web service based on the Interface statement to contain these common types. The problem is that I cannot determine how to create the implementation web serv...more >>


DevelopmentNow Blog