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

Filter by week: 1 2 3 4 5

How do i catch the row xml data from the return value of a web method
Posted by Jensen Bredhal at 1/31/2005 8:59:06 PM
My [web method] returns some obscure class which is somehow very complicated and follow an xml schema. I know by definition that web services send xml packed inside soap packets. Is there a way i can capture the xml return by my call and serialize it into a file? Many thanks in advance ...more >>

EventLog
Posted by Peter Wone at 1/31/2005 12:28:14 PM
This code works find in a Winforms app and fails in a webservice. if(!EventLog.SourceExists(EventSourceName)) EventLog.CreateEventSource(EventSourceName,"Application"); What permissions should I give to the IIS user, or if that's not the issue, then what's wrong? ...more >>

Emit client side code from web service
Posted by DRR at 1/31/2005 11:49:04 AM
I have a web service that I am calling from clients by simply clicking a URL. I would like to have the web service emit a javascript alert box on the client when complete. Is this possible? Any suggestions or pointers would be appreciated. Thanks. David...more >>

Return string from web service method without xml tags
Posted by Scanner2001 at 1/31/2005 11:14:54 AM
I am looking for a way to return the output of a web service as a string without the xml tags, just the raw data. I am calling the web service from an html page using a form post method. Specifically, I want to remove the <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://www.com...more >>

newbie question.
Posted by Bredahl jensen at 1/31/2005 11:00:22 AM
Hello, i need to "consume" a web service . I'm interested into a particula web method. I know it return some xml data packed into soap (by definition). I imagine therefore that i can store whatever it returns into a C# object ,serialize it into xml and convert the xml file into a dataset. ...more >>

Weird characters in returned dataset
Posted by Siegfried Glaser at 1/31/2005 10:21:16 AM
Hello everybody! I recently wrote a VB.Net webservice that retrieves some survey data from an oracle server and returns it as a strongly typed dataset. For some weeks everything worked fine but all of a sudden my customer claimed that my application ceased working after he had added some ne...more >>

Starting Access app freom Web Service
Posted by folke at 1/31/2005 9:13:03 AM
I have a server that has an MS Access app - E:\MyCatalog\MyMSAccessApp.mdb Want users to use it via a Web Service (c#). Writing the WS is no problem. Only not sure of how to start MyMSAccessApp.mdb from C# code?? -- FL...more >>

return nodelist web service error
Posted by Shem at 1/31/2005 7:55:20 AM
Hi Folks, I have written a small webservice in which one of the methods returns a nodelist. The file compiles OK, but when I ry to run it I ge teh following error: "You must implement the Add(System.Object) method on System.Xml.XmlNodeList because it inherits from IEnumerable". Can anybody h...more >>



hiding the generated WSDL
Posted by syadvada NO[at]SPAM hotmail.com at 1/31/2005 7:33:42 AM
Is it possible to completely hide the WSDL that is generated by a myWebservice.asmx?WDSL request? I have used <webServices> <wsdlHelpGenerator href="new.aspx"/> </webServices> to customise the help page but want to go one further and completely hide the WSDL as the webserv...more >>

Converting C# Attribute to VB.net for WSE demo (ServiceStation)
Posted by Adam Stephensen at 1/30/2005 10:17:02 PM
http://msdn.microsoft.com/msdnmag/issues/04/10/ServiceStation/ In the downloadable code (not the article itself) for this great article about WSE Security, Aaron Skonnard has the following C# method ... [WebMethod] [return:XmlElement("WeblogEntry")] public ConfirmedWeblogEntry AddEntry( N...more >>

no response from webservice
Posted by Jan at 1/30/2005 9:31:02 AM
For an educational program I use a webservice for acces to a central database on a remote server. The webservice is is being accessed over https. So far this worked fine on the computersystems in the about 20 schools that are participating. On one school however, a problem occurs since they ...more >>

post form data to web service
Posted by Scanner2001 at 1/29/2005 8:00:40 PM
I am trying to receive form data posted from an html page to a web service method. In other words, a web page posts data as encrypt=multipart/form-data, the action is the webservice method, i.e. action=webservice/methodname. The form includes the contents of an uploaded file, i.e. a file bro...more >>

Webservice and Compact Framework
Posted by Mike Mc at 1/29/2005 6:03:02 PM
I am running a .net application on a PPC 2003 device that passes large amounts of data to/from a .Net webservice. Once the data is passed to the webservice we need to spin through all of the records looking for changes and the response time to the mobile device is prohibative. What I would l...more >>

Web Service Performance seems very slow. Please help!
Posted by Ken Varn at 1/28/2005 3:56:03 PM
I have just started playing around with Web Services. I created a sample Web Service and invoked a sample "Hello World" method call from my Win Forms control running under an ASP.NET web page. The time it takes to return the result seems a little bit much. It takes anywhere from 500 to 800 mi...more >>

Problem with Apache Axis sever and .NET Framework client
Posted by Marco at 1/28/2005 2:18:40 PM
Hello, I am realizing an application client in VisualStudio .NET 2002 with Framework 1.1 in VisualBasic, and must communicate with a server realized in java with Apache Axis version 1.2RC2. I have used a console application and then I have added a webreference and in the URL I have inserted the...more >>

Access denied error when using COM object in a webservice.
Posted by neelima at 1/28/2005 1:55:02 PM
Hi All, I am trying to build a webservice which would create a powerpoint presentation and save it to the file system. I am using the Powerpoint COM object for this purpose. The standalone windows application runs fine, but when I create a webservice on the same line i get a "Access denied...more >>

System.InvalidCastException in .Net client consuming Axis java web service
Posted by Parag Mahajan at 1/28/2005 12:49:05 PM
Hi, I am developing a .Net client for Axis 1.1 web service written in java. The wsdl is generated using, java2WSDL with these switches:: -y WRAPPED = -u LITERAL The login service which returns a session Id, is null, after = deserializing, but when the XML passing over wire is seen, I can see ...more >>

overloading default constructor in web services
Posted by indigator at 1/28/2005 9:19:04 AM
I have an ASP.Net web service class, DataLayer.asmx.cs. I have two constructors for the DataLayer class. One is the default parameter-less one and the second one accepts a string argument. When I am trying to consume this web service from another asp.net application, only the default paramet...more >>

Webservice fails when called remotely, error in <Security> header
Posted by Naeem Sarfraz at 1/28/2005 4:19:03 AM
Any advice for the following situation? I've deployed my webservice on a remote server, e.g. http://mywebservice.co.uk/summary.asmx. The windows clients attempts to access this webservice and fails, the error returned is "there was an error processing the <Security> header". If I run th...more >>

SOAP Extensions
Posted by techieTex at 1/27/2005 4:19:02 PM
I have a simple SOAP Extension which does nothing but to log the SOAP message to a file. This works fine when I use the webservice by adding a webreference and using the class. However my application breaks when I call the webservice using HttpWebRequest/HttpWebResponse. I tried setting Ht...more >>

How do I get the sender's address of a web service or SOAP message?
Posted by Richard Martino at 1/27/2005 2:47:12 PM
Dear Experts: I am using the new Microsoft Web Services Enhancements (WSE) to send SOAP messages from a client to a web service. How can I get identifying information of the sender (aka transmitter, aka originator, aka requestor) of the web request? By comparison, for a completely differe...more >>

deployment
Posted by mp at 1/27/2005 2:35:57 PM
How do i take my Web service from test environment to production? Thanks ...more >>

How to test performance using the ACT
Posted by Alexis at 1/27/2005 1:29:09 PM
Hello, I have developted a webservice application. The application has a few webservices each webservice with their own webmethods of course. I want to measure the performance of my site. I look at the Application Center Test of Visual Studio Enterprice edition, but can not make it to work w...more >>

Talking to Oblix Services
Posted by J Chambers at 1/27/2005 7:07:05 AM
hey all, i'm having some troubles in the class generation (client) for some oblix web services. here's the scenario: we have two configs that we're dealing with in this particular case, one a test bed (for spike solutions, completely isolated), one for dev. as far as we know, we have...more >>

Does MS get the Middle Tier ?
Posted by Jules at 1/27/2005 2:31:04 AM
Sorry for being contentious title, but I am confused and concerned over the level of MS infrastructure support to the business logic layer. MS have great support to Web services, for EAI and B2B Integration, ASP for Web pages. We also have SQL Server, ADO, data sets etc for great Data servi...more >>

Web Service with base class
Posted by rupertgalea NO[at]SPAM hotmail.com at 1/26/2005 5:25:28 PM
I have a bunch of web services that are used to return data. All of the methods access a DB to get the data. Ideally I would like to have them inherit from a base class that takes care of the DB connection and exception logging. By default in VS.NET all web service classes inherit from System...more >>

single secure web service call
Posted by Kevin Richards at 1/26/2005 3:37:05 PM
I have a .NET web service that needs to be called from any platform. I need to make the Login method of the web service secure. It doesnt matter about the remaining methods, just the password parameter of the Login call needs to be encrypted. Trying to do this platform independently seems t...more >>

Authenticate to a webservice by WindowsIdentity
Posted by ALI-R at 1/26/2005 11:37:56 AM
I know how to authenticate to a webservice using either of these ways(Assuming that rService represents the webservice): 1) rService.Credentials = new System.Net.NetworkCredential("username","password","domainName"); 2)rService.Credentials = System.Net.CredentialCache.DefaultCredentials; M...more >>

send objects to java web service from .net client plz its urgenttt
Posted by Kiran at 1/26/2005 5:55:02 AM
am trying to call web service from .net client when i call this web method with xmldocument object has input parameter ,it gave me following error : There was an error generating the XML document. ---> System.InvalidOperationException: The type System.Xml.XmlDocument may not be used in this ...more >>

win authentication
Posted by EtaBeta at 1/25/2005 7:32:59 PM
I'm using a lan with domain server under win200, and, in the same network, but in an other machine, i've installed a webservice. This second server is under win2003. I need to allow access to the webservice ONLY for authenticated user (user in the main domain), i've configureted the file web.c...more >>

namespace's conflict
Posted by Ruslan at 1/25/2005 6:33:16 PM
Hi, I have 3 projects: 1. Common 2. Desktop 3. WebServices The Common is used in Desktop and WebServices project. In Common I have the class Order. I get the value for Order class from WebServices like this: Order order = null; order = localhost.GetOrder(); ...more >>

Cannot Convert from ..CreditCardInfo to ..MyWebService.CreditCardI
Posted by Seli at 1/25/2005 2:57:01 PM
Hello I have a BusinessClass CreditCardInfo defined in a library: namespace Cockpit.TrackingLibrary { /// <summary> /// Summary description for OPCSignal. /// </summary> [Serializable] public class CreditCardInfo { private string _number; private int _expMonth, _expYear; ...more >>

Web Service not allowing HTTP GET
Posted by Mary Ann Allen at 1/25/2005 1:11:05 PM
I'm just playing around with Web Services and I've created one using the Hello World method that comes in the template, but I changed it to allow you to enter a name as a parameter. When I view the Web Service and click on the Hello World Method, it shows the SOAP response stuff and the HTTP P...more >>

Accessing Remote objects in an XML Web Service - Which port is use
Posted by Fredric Ragnar at 1/25/2005 7:47:03 AM
Hi, I am making a prototype system with Remoting in the bottom of the system. An XML Web Service is using the remote object on an IIS to present data. I am using a TcpChannel for communicating between the XML Web Service and the host for the remote object. Within the host a port is defined...more >>

Pocket PC-Strongly Typed DataSet - Web Service - VS.2005 ?
Posted by herbert at 1/25/2005 12:43:02 AM
Does VS.2005 support strongly typed datasets between PocketPC and Web Services? I have a project stalled and must decide whether to wait for VS.2005 or go back to untyped DataSets. thanks herbert...more >>

retriving large dataset via web service
Posted by Sniper at 1/24/2005 10:43:10 PM
Hi Guys, I am using a web service to get the item details via a web service(connceting tru Dial-up). Item details are comming back to the client as a dataset. now there are lot of updates and the dataset is pretty big. I tried SOAPExtentions to compress but the compression thing take soo l...more >>

Webservice finding Virtual Directory Names
Posted by Steven J. Reed at 1/24/2005 8:19:02 PM
I have a Web Service that needs to find a Virtual Directory name, determine the actual path of that directory, then read / write files to that directory. How can I find a virtual directory then determine it's properties?...more >>

Which generic SOAP web services client to use?
Posted by Jonas Hei at 1/24/2005 3:55:03 PM
I've noticed that one can use IE to test web pages (by going on http://hostname/blah/blah.asmx - and then it shows a list of methods supported by the webservice, and on selecting each method once gets the option to specify the parameters and then 'Invoke' the service). Although, this option...more >>

webservice and MFC
Posted by cipher at 1/24/2005 3:25:05 PM
I'm trying to use an MFC extension dll in my C++ ASP.NET Web Service project. I have changed my project settings to specify using MFC as a shared dll. However, when I try to compile, I get the following error on one of the extension dll header files: error C2491: 'CGisPtrArray<TYPE>::__ctor'...more >>

Hi, Any help is greatly appreciated
Posted by Michael Genie via .NET 247 at 1/23/2005 9:35:41 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 >>

problem Calling webservice from client side javascript
Posted by Merav Orion via .NET 247 at 1/23/2005 9:29:10 AM
I have a problem calling webservice from client side javascript. The javascript call the settimeout() method. when the user press submit button it ignore the press and keep refreshing the page. it looks like the data is not transferred to the asp page from the web service. just after going to ...more >>

calling a dot net web services from unix
Posted by Stu at 1/22/2005 10:35:03 AM
Hi, I have a web service which returns a record set and works well integrated with an asp dot net page. However if I decided to develop a unix app will i be able to read the dataset as it is or do i need to write the xml as text from the web service and supply a DTD. Also any other pitfalls ...more >>

Consuming Custom Collecction through a web service
Posted by kbs at 1/22/2005 9:51:07 AM
Hi, I'm looking for some good examples that illustrate how to code a web service that exposes a custom collection so that the properties of the collection are accessible on the client without having to do a httpwebreqeust call. ...more >>

Navigate Method
Posted by Thom Little at 1/22/2005 2:49:27 AM
I invoke an Webform from a Winform using the Navigate method.The Webform has two buttons. One button causes a redirect to a .msi file that causes it to download. The other button does a redirect to a .zip file that causes it to download. If I invoke the Webform using Internet Explorer on...more >>

Cannot invoke methods in the web server.
Posted by Subbu at 1/21/2005 4:29:02 PM
I have created a simple ASP.NET web server. I expose a methos helloWorld(). when I invoke this method I receive the following error message. I definitely seems like a setting issue. Would really appreciate a solution for this.. System.IO.FileNotFoundException: File or assembly name ktqipm7...more >>

Web service calls...
Posted by MichaelY at 1/21/2005 3:11:02 PM
Looking for some best-practice advice.... Let's say I have an W2k3 / IIS 6.0 box that is running a website with 2 vdirs (seperate applications) underneath it. Each of these vdirs is in it's own application pool (so I have 2 w3 workers). What are the potential problems / issues / benefits ...more >>

Installing WSE 2.0 silently
Posted by Ray Cuadra at 1/21/2005 11:13:01 AM
Is there a way to silently install WSE 2.0?...more >>

The underlying connection was closed: The request was canceled.
Posted by MrDotNet at 1/21/2005 10:49:01 AM
Hi help............. I am get that error in remote object host in IIS. Server side setting is Windows Server 2003 Frame work 1.1 IIS Virtual directory is Basic authentication(Password is sent in clear text) Client side. Passing NetworkCredential. -- -MrDotNet MCAD, MCSD Sr. So...more >>

ODBC connect to WebServices Dataset
Posted by jkupch at 1/21/2005 9:55:02 AM
We have published a dataset through WebServices. Our .Net developers have no problem accessing the data. However, some of our clients use MSACCESS or EXCELL and would like to access the dataset. Is there a way to easily connect to the WebServices from these applications? ...more >>

WS Dates off by 1, HELP
Posted by JP at 1/20/2005 4:01:01 PM
I have a WS that returns a dataset. When I serialize the data and display in on the screen my dates always seem to be -1 or +1 of the date I exspected. 1/11/2005 10:00:00 PM where should have returned 1/12/2005 However if I execute the WS directly the dates are correct. <IssueDat...more >>


DevelopmentNow Blog