Archived Months
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
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 > asp.net webservices > september 2004

Filter by week: 1 2 3 4 5

Exposing WS Properties
Posted by Ganesh at 9/30/2004 4:27:02 AM
Hi Experts, How can I expose of my WS class? I can expose methods of the class by adding the "WebMethod" attribute to the method. Is there anyway to expose the Read/Write properties of the class? Regards Ganesh...more >>


Push Alert to Browser
Posted by Nick K. at 9/29/2004 4:28:09 PM
I am looking for architecture to push information from a server to a client browser. This information would be in the form of an alert. What I do not want to do is have the browser be on a timer and update every few seconds. What options do I have to put into place such a feature? ...more >>

Preserve whitespace
Posted by junk NO[at]SPAM mikemills.com at 9/29/2004 12:38:07 PM
Hi, I am consuming a web service in my asp.net application. I added the web references in Visual Studio by pointing to a wsdl file. Visual Studio automatically creates the Reference.cs file and the code that is used to serialize the classes used in the server's service. I create an instance...more >>

<wsdlHelpGenerator> causing problems with web-service references !?!
Posted by abthordarson NO[at]SPAM gmail.com at 9/28/2004 12:00:42 PM
I have then been using Visual Studio to auto-create web service references to my .asmx files. But all my Reference.cs files are referring to the same .asmx file after I add the <wsdlHelpGenerator> to my web.config file. I have been using the <wsdlHelpGenerator href="..."/> in my web.config fi...more >>

WebService Client not authenticating through Proxy Server
Posted by JD at 9/27/2004 5:55:06 PM
Hello, We have a windows form application that consumes a web service using the standard service-proxy class created by "Add Web Reference..." (wsdl.exe). On some end-user machines, the app needs to get out through an authenticating proxy server to get to the internet. In the MSDN docs...more >>

visualizing image
Posted by Kristof Thys at 9/27/2004 3:06:51 PM
Hello, I'm writing a ASP.net webservice wich will visualize an image, generated by another application. The generated image is a char*. I can transform this to a String*, but I want to view it as an image in my browser. Is this possible, and how should I do this? thx, Kristof...more >>

Memory leak in IE javascript with webservice.htc
Posted by cmbardon NO[at]SPAM engmail.uwaterloo.ca at 9/27/2004 12:11:26 PM
I'm working on an application where I need to be able to call a .net web service from javascript. I found the webservice.htc file, and was able to create a page that worked just fine, except that the memory usage of iexplore.exe began to increase without limit as the service was called. To dem...more >>

WebService Behavior problem
Posted by Stephane at 9/27/2004 9:16:08 AM
Hi, I'm using MS web service behavior to access my ASP.NET webServices from a web page with DHTML. The thing is that it's working great of the most of my web sites, but for one, which got the most traffic, it's not working at all. Actually, it works on the first page and when I go to th...more >>



Unable to add webservice reference (on some machines)
Posted by Kirk Sinnard at 9/27/2004 8:24:10 AM
From Visual Studion 2003, I am unable to add a webservice reference on a given machine. When I try I get: Unable to download files from . http://kirk-lt/PTCBackend/DataService.asmx?wsdl Do you want to skip these files and continue? If I ask for a service description for http://kirk-lt/PTCBac...more >>

WSDL
Posted by Nick K. at 9/26/2004 11:30:33 AM
Using Visual Studio.Net, can I create my own web service using a WSDL? I want to build a web service that is a duplicate of another web service. ...more >>

Hide Query String
Posted by Thom Little at 9/25/2004 6:02:36 PM
If a page is invoked with a query string, that Request.QweryString is visible on the command line. Something like: http://www.sample.com/default.aspx?customer=ACME Is there a convenient way to hide the question mark and everything to the right of the question mark? -- -- Thom Little ...more >>

How to create web page with spreadsheet like functionality?
Posted by Tom at 9/24/2004 10:48:35 AM
Hello, I'm looking for a tool that would allow me to create a web page with the spreadsheet like functionality. Basically, I want to be able to type in a number in the cell and have all totals being calculated automatically without having a page refreshed (or a trip to the server). That would ...more >>

web service timeout in C# Forms application (always)
Posted by Arno Richard at 9/24/2004 7:55:08 AM
The problem here is easy to describe, but I'm afraid it will be complex to resolve, if possible at all; here it goes... I've got a C# Forms application that needs to call web services; depending on the environment (described below) this is either *always* working perfectly in milliseconds, ...more >>

is it possible for a webservice to find out the ip-address from ..
Posted by Koen Hoorelbeke at 9/23/2004 7:19:02 PM
Hi there, I've got the following: a user (using machine 1) requests a normal aspx-page on my server (machine2). that page (on machine2) calls a webservice (on machine3), without giving any further parameters. Can the webservice find out the ip-number of the user that initially requested t...more >>

Problem when sending emails with asp.net
Posted by William at 9/23/2004 5:36:52 PM
Hello all, I'm actually having some troubles when sending mails with a basic asp.net application, using System.web.mail class. My test machine is correctly configured, and the SMTPMAIL.SMTPSERVER is set to the DNS Name of our internal Exchange server. The problem is in production: if I change...more >>

webservice global.asx error
Posted by John at 9/22/2004 11:38:01 PM
Hi When I try to get reference to my remotely hosted web service, I get the following error; Parser Error Message: Could not load type 'localhost.Global'. Source Error: Line 1: <%@ Application Codebehind="Global.asax.vb" Inherits="localhost.Global" %> Source File: d:\webs\...\globa...more >>

Print from a Web Service?
Posted by Selden at 9/22/2004 7:25:04 PM
I have a web service that launches Word, and prints documents. It has been very interesting, trying to configure and get everything going. It's almost working now, but some documents just sit in the print queue with "error - printing" in the status column. The event log shows error code 300...more >>

Button not responding
Posted by Denis Georgievski at 9/22/2004 6:14:43 PM
Hi, Since moving the web site to a new server one of the buttons on the aspx web page does not respond at all. I suspect it might be a postback problem since there is no error reported on the page or on the IE status bar. I tried it on a debug executable it still did not report any er...more >>

what's wrong with my code ?
Posted by pronto at 9/21/2004 2:50:09 PM
Hi guys. I have follow C# code in my WebService. --------------------------------------- WebMethod (Description="Return current stock price")] public decimal GetQuote(string Symbol) { if(Symbol.ToLower() == "msft") return 55.0m; else if(Symbol.ToLower() == "intc") return 32.0m; ...more >>

How to modify the URL in a WSDL file for accessing a remote webservice ?
Posted by microcode2004 NO[at]SPAM hotmail.com at 9/21/2004 4:55:15 AM
Hi. I have coded the following : - A Webservice hosted on a Websphere application server - A client that was developped under Visual Studio .NET C++ 7.0 Here's the challenge : I want to ask the user to enter a URL and then modify the URL in the client WSDL file, for the client to be able...more >>

Cannot serialize object of type System.Object[,]. Multidimensional arrays are not supported
Posted by jjhnospam NO[at]SPAM yahoo.co.uk at 9/21/2004 12:57:30 AM
Hi, I get this on server when trying to retun a 2 dim array. I apprecaite that they are not supported as per http://support.microsoft.com/default.aspx?scid=kb;en-us;316273 however i'm looking for as a work around as my web service is a layer in front of an existing com object which cannot be...more >>

SOAP Message from WSE
Posted by Patrick at 9/20/2004 3:23:25 PM
I have played around a bit with the Signing/Encrypting example with the Web Service Enhancement examples at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwse/html/wssecdrill.asp I have the following queries 1) How could I read the actual SOAP request sent by the client? 2...more >>

Webservice - start and stop
Posted by MA at 9/20/2004 10:09:16 AM
Hi all! I have developed a webservice that writeing and reading files in different folders. Question 1: I need to be able to start and stop this service by using a web interface (start and stop button). But I can´t find any way to this. Any ideas? Question 2: Where can I see if this ser...more >>

system.net.webexception The underlying connection was closed: An unexpected error occurred on a send.
Posted by rob NO[at]SPAM robandjackie.com at 9/20/2004 8:02:26 AM
Let me begin by saying that per Q821156, I have updated my web server/development machine with .NET Framework 1.1 SP1. I don't know if I still need to but I have also overridden GetWebRequest to set the KeepAlive false as directed in Q819450. I am still receiving the above-mentioned error when...more >>

Web Services and Protecting Code
Posted by Daniel Friend at 9/20/2004 6:17:39 AM
I am new to web services. I have am running a sample web service for testing. It seems that if I type the URL in the web browser, it displays all active web method functions. How do I turn that off, I don't want a person to stumple across my web service on the net and be able to use the funct...more >>

Can't find WSDL file
Posted by pronto at 9/17/2004 10:54:33 AM
Hi all. I created simple web service with C# and run it on Win2000 XP sp2. Service has two simple [WebMethods]. I test it with my C# client and IE. Now I want to create VC++ 6 application and talk to web service with SOAP SDK lib. It's good so far, but SOAP SDK samples are using link to ...more >>

Page redirection in webservices ?
Posted by Raghu Raman at 9/16/2004 10:01:11 PM
Hi , i have a webservice which has some methods and a login page.I 've connected the client to my webservice.now i want to redirect the user to use the webservice's login page. How can i redirect the client to go to the webservice's login page. appriciating u r help. With thanks R...more >>

Urgent plz help me
Posted by sri p via .NET 247 at 9/16/2004 2:38:54 PM
(Type your message here) -------------------------------- From: sri p Hi Guys, I am trying to setup aproject on my localhost.Everything gone cool but webservices methods are not accessble.It's showing http 404 not found.The webservices developed by some thirdparty. What i do here, it's ve...more >>

Using SMPTMail, MailAttachment corrupts the attachment when called from a web service
Posted by jeremyhalbert NO[at]SPAM gmail.com at 9/16/2004 12:23:03 PM
I creating a very simple email, and attaching an excel file and trying to send it. When I do this with a standalone executable, everything works fine. When I include it as part of a web service, where we're impersonating a domain account, it corrupts the attachment. The xls file is 270Kb on...more >>

how to setup a trace
Posted by Jake at 9/16/2004 7:04:21 AM
Hello, I am wondering if there is a way to setup a trace on a webserivce that is called in the middle of the night and be able to review the data the next morning. Thanks in advance. Jake ...more >>

Real-time notification in ASP.NET
Posted by mistercrabs NO[at]SPAM mail.ru at 9/15/2004 5:15:01 PM
Hello! I wonder, if there could be a way for a client of ASP.NET application to recieve a message from a server. For example, let's consider we have a job assignment application. The dispatcher assigns a job for a particular executer. How to notify executor that he or she has a new job assign...more >>

xml payload to webservice
Posted by Old Man at 9/15/2004 7:26:57 AM
i am tasked to write a webservice that catches an xml string and passes it on to Websphere MQ. All i want to do is put in a simple test that i got a wellformed XML string. I am embarassed and frustrated, because in asp it is a trivial thing, but evidently not in dotnet. I have spent that la...more >>

Webserver Behaviour
Posted by Sandro at 9/14/2004 2:48:53 PM
hello all i'm just wondering if somebody has experienced the usage of the "Webserver Behaviour" which enables client-side script to invoke remote methods exposed by Web Services. http://msdn.microsoft.com/library/default.asp?url=/workshop/author/webservice/webservice_node_entry.asp any ti...more >>

HttpWebRequest taking lot longer compared to ServerXMLHTTP
Posted by sudhanshu_chadha NO[at]SPAM hotmail.com at 9/13/2004 9:03:09 PM
Hi, I've to migrate an existing code in asp to asp.Net. The asp code uses ServerXMLHTTP to call some services. Same thing will be done using HttpWebRequest in the asp.Net code. The problem is keeping everything same HttpWebRequest takes around 100-200ms more than ServerXMLHTTP to call the ser...more >>

Problems getting Python client (SOAPpy) to consume .NET web services
Posted by mhatmaker NO[at]SPAM gmail.com at 9/13/2004 3:45:01 PM
I have begun experimenting with web services, and I created some simple web services in C# and was able to install them with IIS and create an equally simple C# client to consume them. My next experiment was to use Python to consume these same web services, and even though I am able to get Pyt...more >>

Error in xml document at (1,280)
Posted by eric57e NO[at]SPAM hotmail.com at 9/13/2004 3:45:20 AM
I try to call a logon webservice method with 3 parameters that are strings. the return value should be a xml string including all information on a user object. When I execute the web service from visual studio test environment the webservice method run fine and I get the expected xml string. Bu...more >>

Webservice very slow on first call
Posted by Carlos Hernandez at 9/11/2004 6:35:38 PM
I have created a webservice, it is used by a webpage. The first time I connect to the page, the connection is very slow, it takes like 6 seconds to validate the user, I am working on my machine debuging. But it is only the first time, every other webservice used during the session is very fast...more >>

discovery
Posted by Chris at 9/11/2004 10:15:44 AM
Hi, I'd like to discover all WebServices that exist on a particualr server : reading the doc's a little did I encounter the following client tool : disco.exe http://www.myserver.com/math/math.disco but, before being able to use this tool do you need to know a) the virtual dir 'math' b)...more >>

renaming webservice-class ??
Posted by Chris at 9/11/2004 10:06:42 AM
Hi, I use my Webservice in IE : http://localhost/CalcWS/CalcService.asmx That works well. Then, in visual Studio.NET : I rename the name of the WebService-class from the default name 'Service1' to 'CCalc' , rebuild the project, but, using it again in IE : http://localhost/CalcWS/CalcServi...more >>

Replacing IIS with ASP.NET web matrix server to create Web pjt VS
Posted by Mike at 9/10/2004 8:41:03 PM
Hi there, I am wondering if anybody knows about a work around (if any?) creating an ASP.NET web project from VS .net under XP Home Edition? I know there is no IIS under XP home, but is there any way to replace IIS with another web service ( like the one in web matrix) to be able to develop...more >>

Calling a webmethod by a post
Posted by Fabiano at 9/10/2004 4:32:05 PM
Please, i have an webservice created with .NET, and a client want to consume it with a JAVA client. They are using POST, but this way my webservice crash. They are calling this URL: http:\\www.beispielseite.com.br\webservice.asmx\login?param1=xxxx&param2=yyyyyy using this way i get this e...more >>

Using Impersonation
Posted by Gravy at 9/10/2004 3:32:33 PM
Is it ok to use impersonation in the web.config file for a web service? Let me tell you why I ask. My web service to ultimately connection to a sql server database. The recommended way to connect to SqlServer is to use a trusted connection (nt authentication etc), but inorder for me to do thi...more >>

Can webservice client use basic auth
Posted by Old Man at 9/10/2004 2:46:33 PM
using c# in a windows application. I need to connec to to a HTTPS URL that is set up as "non anonymous" and requires a user/pass. How do i tell the web proxy the user/pass to use. ...more >>

.NET 1.1 SP1 Datagrid throws exceptions where it didn't before!
Posted by Urs Eichmann at 9/10/2004 10:16:29 AM
After installing SP1, we have huge problems with a self-grown class which inherits from Windows.Forms.Datagrid. It throws exceptions every now and then, such as this: System.NullReferenceException: Object reference not set to an instance of an object. ------- at System.Data.DataTable....more >>

Using Sockets.NetworkStream.Read very slow on Win2K3
Posted by google NO[at]SPAM brasch.info at 9/10/2004 7:42:00 AM
Hi, I am doing the following: While i <> 0 i = NWStream.Read(bytesToRead, n, 1)'bytesToRead is a ByteArray n += 1 End While For an incoming stream of 17K, this takes anywhere from 5 to 30 seconds (different every time I try even though the same stream is received). It only seems to ...more >>

VB.NET Client for a ASP.NET WebService
Posted by David at 9/10/2004 1:53:14 AM
Hi There! Can a VB.NET Client access a Web service? If so by what mean? Only by SOAP messages? Do I have to parse the SOAP messages myself to get the results? Any tutorials or pointers on creating a VB.NET client for ASP.NET Web Service in a proper way is greatly appreciated. Thanks, D...more >>

SoapIgnore attribute ignored.
Posted by Benjamin Day at 9/8/2004 4:51:05 PM
I'm passing classes through a web service. There are some properties on the class that I don't need to be serialized and would like to remove them for performance (size) reasons so I've marked them with the System.Xml.Serialization.SoapIgnore attribute. I recompiled and checked what was be...more >>

Sending / returning objects
Posted by Morten at 9/8/2004 2:34:25 PM
Hi! I'm trying to figure out if it's possible to create an object in a webservice, return it (the object / representation of an object) to a client, make modifications on the client and push the changes back to the webservice? I'm guessing that you have to use remoting obejcts for someth...more >>

Webservices on Windows 2003 Web Edition?
Posted by Urs Eichmann at 9/8/2004 8:24:44 AM
Hi We plan to use a Windows 2003 Web Edition based computer to host a ASP.NET Web Service. The database in on another computer within the LAN, so this is no problem. However, I read that the Enterprise UDDI service is not available on the 2003 Web Edition. Does that mean I cannot host Web S...more >>

SOAP Response
Posted by Random at 9/8/2004 8:02:21 AM
I cannot get the Trace to work for my Web Service application or client. I need to be able to see the entire SOAP message (for documentation and other purposes). What is the best way to view the entire message (ingoing and outgoing)? ...more >>


DevelopmentNow Blog