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

Filter by week: 1 2 3 4 5

DLL (COM) with .Net
Posted by Thanker at 5/31/2005 4:43:09 PM
I need to rebuild a COM Dll, which is consumed by many ASP pages, and desktop applications. By simply calling the CreateObject,... from each application. The requirment is to use the .Net // C# To do a same funtional DLL, While keeping in mind that it should be still accessable from for a...more >>


Passing User Define class to web service.
Posted by Joel Zinn at 5/31/2005 11:04:08 AM
I am trying to build a web service that will allow a class instance to be passed to the web service via a method signature. When I write the client to consume the web service, I get an error that states, "Value of type "ExternalNameSpace.myClass" cannot be converted to "localhost/myClass" ...more >>

What is a simple way to get the raw SOAP Request/Envelope that I am sending to a web service
Posted by Chris Hayes at 5/30/2005 8:58:53 PM
Greetings, I've looked around for an answer to this, but one is not jumping out at me so I'll just ask people who have probably run across this already... What is a simple way to get the raw SOAP Request/Envelope that I am sending to a ASP.NET web service when I have the ASP.NET Web Servic...more >>

Change url of web service at runtime
Posted by Gujju at 5/29/2005 6:15:01 PM
Is that possible in .net to change the target web service at runtime. ie. change the URL and access a different web service totally. which does totally different things but has the same Definition. IE Service1.asmx WEBMETHOD(BYVAL as Integer) Server2.asmx WEbMETHOD(Byval as integer) Serv...more >>

procedure to add web reference which will not create new namespace just add class in existing namespace.
Posted by Deep Mehta via .NET 247 at 5/28/2005 5:59:59 AM
Hi, I want to know, how to add web reference so thst it would't create new namespace in existing DLL. normally what is happening when i am adding web reference it is creating new namespace in existing DLL. can anybody tell me the procedure to add web reference which will not create new namespa...more >>

Webservice handling amount of requests per sec/min.......
Posted by Richard Heesbeen at 5/28/2005 12:00:00 AM
Hi All, Is there any indication of how many request a webservice can handle per say second? I know it will depend on the hardware used and what the webservice does, but are there any articles floating around on the web or can someone give me some numbers what they encountered with there ...more >>

Need to share data asynchronously between ASP.NET and Legacy Syste
Posted by inetmug at 5/26/2005 8:24:03 PM
Hello: I am using ASP.NET as our front end. I also have to interface to some legacy systems that use a callback mechanism. The legacy systems use callbacks (via CORBA) to communicate back to clients. The ASP.NET web pages will initiate communication with the legacy backend, but results...more >>

Sending requests to two different servers
Posted by Ellie at 5/26/2005 2:30:01 PM
I'm not sure if this is the correct newsgroup but from my research so far, it seems to be. I need to have a web page with information sent to another server for processing (sql query, etc.) but instead of the information going directly back to the browser, I need it to go to the original serve...more >>



need help !
Posted by TK2828 at 5/26/2005 11:55:02 AM
Hi, Can anyone help me out on this ? from my web service I need to call a store procedure to fill a dataset which will be returned to client. When I test my store procedure, it takes 90sec to retrieve records ( about 30 records returned ). However, when I test the webmethod from local IIS ...more >>

passing xml to a webservice
Posted by Dexter J. Le Blanc Jr. at 5/26/2005 11:18:25 AM
does anyone have a code sniplete for this? Im trying to except xml data in a webservice. then import it into a dataset process and pass back as a resultset ...more >>

Use Client Certificate from Pocket PC VB.Net app to call Web Servi
Posted by Ani Kinare at 5/26/2005 10:24:05 AM
I want to use a Client Certificate from handheld device application when the application makes a call to an xml web service. How to do it? The .Net framework X509Certificate.CreateFromCertFile(...cer) does not work in .Net compact framework. Following are the environmental details of the ...more >>

Design question
Posted by TonyR at 5/26/2005 8:28:06 AM
I've got to write a webservice with vb.net client and server such that the client will upload an XML file. The XML needs to be checked against a schema and a validation message returned to the client. The easy way I found to do this is to pass a dataset which works fine, unfortunately I ...more >>

Post to Webservice returns error
Posted by Ursli at 5/26/2005 1:11:33 AM
When I try to test a (even supersimple) WebService on my developer PC with the vs.net buildin tools, (and they use POST for submiting), I get the following error: Path 'POST' is forbidden. Description: An unhandled exception occurred during the execution of the current web request. Please rev...more >>

Remotely change webservice application settings
Posted by Richard Heesbeen at 5/26/2005 12:00:00 AM
Hi All, I'm writing an webservice which has some settings that need to be loaded into the webservice and get used by all instances/connections. I want to be able to remotely change the settings (using asp.net website) so that a next instance usses those settings and save them so when the se...more >>

help with .asmx?
Posted by Sergio Fernandez at 5/26/2005 12:00:00 AM
..asmx not getting parsed. whten I call a page with an .asmx extensionon my machine all I get is the code, it does not get parsed. how can I fix this, can I manually add some ISAPI application to IIS to make it work. ...more >>

Basic problem with WebService POST
Posted by Jon Maz at 5/26/2005 12:00:00 AM
Hi All, I'm at the "Hello World" stage of learning about web services (just to warn you), and have what is I think a simple question. I have created a basic HelloWorld.asmx, which has the following Web Method: [WebMethod] public string HelloWorldDemo(string stuff) { return "Hello W...more >>

Encoded WebService SOAP Header?
Posted by Andrew Robinson at 5/25/2005 3:09:34 PM
I have a public web server that runs behind a firewall at a hosting facility. We own and control the server. I need to make occasional updates and changes to data stored in SQL and am unable to establish any type of VNP or SSL connection to the server due to hardware restrictions at this time. ...more >>

Return Dataset?
Posted by Fao, Sean at 5/25/2005 12:40:37 PM
I'm relatively new to web services and I was wondering why, when authors create a web service that queries a database, that they don't just return the dataset object in the exposed method as in the following fragment: [WebMethod] public System.Data.DataSet someQuery(string queryString) { ...more >>

How to test Webservice with out params
Posted by Aaron Warren via .NET 247 at 5/25/2005 12:34:03 PM
I have a webservice with a method that uses "out" parameters to return data to the client. When a client calls up the WSDL for the webservice and clicks on the method, it says "The test form is only available for methods with primitive types or arrays of primitive types as parameters." Is ther...more >>

Can Application_BeginRequest return a DataSet and stop normal webmethod flow?
Posted by at 5/25/2005 5:08:50 AM
Hi, I am implementing a couple of webservices (all in the same web project) that will access several backoffice systems to get and update different types of information. All the methods in the several webservices return a DataSet with the information requested. All the methods of the Webservic...more >>

NEED HELP WITH CALCULATOR WEB SERVICE
Posted by conspawn at 5/24/2005 12:16:39 PM
Whats up guys, i am having difficulties coding the plus sign button on my aspx page to store variable1, clear textbox, and store variable2 then call a web service to add both variables my code so far is: <%@ Page Language="VB" %> <%@ import Namespace="WebSCalculator" %> <script runat="server...more >>

simpleton pointer
Posted by opentrouser at 5/23/2005 3:31:35 AM
Hi I've been programming ASP.NET using VB.NET for about a year now, and have gone down the Dreamweaver coding myself route rather than the Visual Studio way. I'm new to web services and I've been given the task of setting up a web interface for a password protected WebCT (elearing environme...more >>

Not Solving "System.Net.WebException"
Posted by Rui via DotNetMonster.com at 5/22/2005 11:32:33 PM
Hi all, I am coding a web service for the company I am working for. It supposes to talk to a third-party web service, via WSDL. The web reference which I am using is: http://xml.nig.ac.jp/wsdl/SRS.wsdl My code to test the web service is the following: (VS.net2003 C#) private string QuerySR...more >>

Template Column & Javascript
Posted by Steve at 5/22/2005 10:35:37 PM
Hi, I have a datagrid with a template column in that I'm using to open a link so that users can drill down to the next level of some data. I'd really like to utilise javascript so that I can set the properties of the new window that's opened but can't get it to work despite looking through ...more >>

Web Service Versioning in GAC
Posted by JMMB at 5/20/2005 12:08:43 PM
I have deployed version 1.0 and 2.0 of a web service in GAC. When I call the web service from the client application on the Internet, the version 2.0 is executed. How could I call the version 1.0 from the client? thanks,...more >>

Dutch answer to all programmers questions
Posted by Erik Visser at 5/20/2005 12:00:00 AM
http://www.microsoft.com/netherlands/msdn/events/SDC2005.aspx ...more >>

loading an xml document from file vs. memory stream
Posted by John Hopper at 5/19/2005 7:11:02 AM
Hello, I need to read am xml node using an xmlNodeReader and selectSingleNode. This works fine when I save the file first and then use xmlDocument.load(uri), with the uri the location of the saved xml file. But when I try to load the xml document by passing the xmlDocument.load method a mem...more >>

method parameters empty? XML namespace prefix issue?
Posted by drb at 5/19/2005 6:06:13 AM
Hi, I'm trying to create a simple test/dummy .NET XML web service (using WSDL/XSD and the WSDL.exe tool) that an existing .NET Remoting XML web service client can talk to. The good news is it seems to be very close to working. The not-so-good news is that when a method is invoked, when ...more >>

What is the best solution?
Posted by cristms NO[at]SPAM hotmail.com at 5/18/2005 4:46:50 PM
Hi there. I have to decide how to do a solution with .net technology. The goals of my future solution should be: -> Capacibility of send files (xml or csv files) through internet, and receive an answer for my message (this could be a transactional process); -> The files to be send to a client ...more >>

Closed connection is being re-used
Posted by Eric at 5/18/2005 4:37:31 PM
Hello, I have a windows service (written on .NET 1.1/C#) connecting to a webservice at a specified interval. I have a webreference in my project, create and instance of this object, and call my webservice methods. The interval was initially set to 60 seconds and everything was working fine....more >>

Session state
Posted by JMMB at 5/18/2005 1:21:08 PM
The following code works fine when testing with the help web page, but it doesn't work when running from the client application. Anybody knows what could be the problem here? thanks a lot. JMMB [WebMethod(EnableSession=true)] public string CreateSession() { Session["nome"] = "Marcelo"; r...more >>

loading
Posted by John Hopper at 5/18/2005 9:27:15 AM
I must be missing something pretty simple. I set a web reference to a web service and pass it an xml document. At the provider end I validate the received document against an xsd. I want to parse it after validation using an xmlNodeReader and selectSingleNode. This works fine when I save the f...more >>

different browser with different results
Posted by Sean at 5/18/2005 12:00:00 AM
Hi, I created a simple webservice at: http://68.145.104.150:8080/UploadWebService/Service1.asmx when I view it using firefox it's fine and dispalyed correctly. But when I use IE to browse I got a SAVE AS/OPEN dialogbox. I am very confuzzled. Any help will be greatly appreciated. Tha...more >>

Custom error page for 500 in webservices
Posted by Nadagouda at 5/17/2005 10:32:13 AM
Hi, Im trying http:\\localhost\WebService1\Service1.asmx?wsdl=. I am getting http 500 internal error instead of that i want to use mycustom page. I tried all the following options. 1. IIS customerros tab and edit properties to point to mypage for 500. 2. web.config <customErrors mode=on defa...more >>

Help! ARGH! .net not recognizing VB
Posted by RWC at 5/17/2005 12:00:00 AM
Hi Folks, I have a windows 2000 server installation, IIS is running and the ASP.NET 1.1 SDK has been installed. I'm reading a book on ASP.NET and the lessons call for the first line to read <%@ Page Language="VB"%>. When I save the page and run it (from a remote machine) I get the following ...more >>

rich type
Posted by Francois Malgreve at 5/17/2005 12:00:00 AM
Hi all, I would like to know what kind of rich type (i mean complex type) a webservice can return. I have seen some example showing that a webservice can return a DataSet (does it just call DataSet.GetXml()?). How can I know is one type or an other type will be supported by webservice? Can a...more >>

Sharepoint (WSS) authentication issues in code/web service
Posted by Ken McAndrew at 5/16/2005 2:45:46 PM
I'm working with a client that has Windows Server 2003, WSS, accessed through a custom application. In this application, we need to attach files to cases by adding them to a database and storing them in Sharepoint. This process works fine at our office, but the client is having authentication ...more >>

CacheDuration question
Posted by jeremy.stitt NO[at]SPAM gmail.com at 5/16/2005 8:23:12 AM
I have a question about the CacheDuration property of a web method. I have a client that calls a web method on a server and I understand that the first call will process the method call normally. By setting the CacheDuration property to a certain amount of time, the result of the method call ...more >>

SoapException message
Posted by jose miguel via .NET 247 at 5/16/2005 5:07:56 AM
Hi, I'm using a asp.net WebService from a WindowsForms client. Where the webmethod thows a SoapException, the message that the client receive is coded using the "&#code" sintaxt. Is there any class in order to convert this message to a user fiendly and readable message? Thanks in advance. ...more >>

Accessing HttpApplicationState object from SoapExtension
Posted by Ajay Choudhary at 5/16/2005 12:00:00 AM
Hi, I have a custom SoapExtension class and in the "ProcessMessage" method I would like to get a handle of HttpApplicationState object. How can I do that ? Thanks, Ajay ...more >>

support multiple browsers?
Posted by willem joubert at 5/16/2005 12:00:00 AM
Hi, A Yahoo search engine will only allow sites that will support multiple browsers. Does .net support multiple browsers? Willem ...more >>

Query regarding WS
Posted by Preeti Jain via .NET 247 at 5/15/2005 4:55:42 AM
(Type your message here) -------------------------------- From: Preeti Gatagat Hi, i am using Web Service=2E=2E=2E=2Eusing C# in web service,i am having 1 projects and 5 sub projects under= the main =2E=2E=2Eokk=2E=2E i am having one method named 'SetCompanyInfo' in which i am= inserti...more >>

Async Webservices
Posted by Arne at 5/13/2005 9:50:05 AM
I created a webservice with Visual Studio 2005. A synchronous call worked just fine. I tried to make an asynchronous call but is doesn't compile in my cluent. I thought the asynchronus call would always be available. What am I doing wrong?...more >>

How to Trans transmit my define class with Metthod args in Webservices.
Posted by clyyy2002 at 5/13/2005 12:00:00 AM
Example: namespace aa { public class myobject { public string Value1 = ""; } } WebServices.cs [WebMethod] public void Process(myobject obj) { ..... } I find at Client Project,VS auto Create a proxy cs files. and auto Create a new class myobject. Can I auto add t...more >>

How? Granting elevated privileges to a web service / kill a process
Posted by Lee Gillie at 5/12/2005 11:21:02 AM
I need to be able to kill a process programmatically under ASP.NET. IIS runs under the local system account. The user accessing the web is using anonymous access. We would prefer NOT to grant elevated security to the proxy used for anonymous access. Is there a way to either establish a tem...more >>

is there a way to control tag names in generated soap message
Posted by mike at 5/11/2005 9:38:09 PM
When I define a webservice: SOURCE: [WebMethod] public string Crunch(string bite) { return "{"+ruff.ToLower()+"}"; } SOAP REQUEST: <soap:Envelope ..... > <soap:Body> <Crunch> <bite>string</bite> </Crunch> </soap...more >>

Forms authentication & Cache
Posted by Søren M. Olesen at 5/11/2005 10:04:58 AM
Hi Is it possible (somehow) to share the same cache (System.Web.HttpContext.Current.Cache) between a Web-application (.aspx) running Forms authentication and a Web-Service (.asmx) ?? It seems like you'd have to split them into two different Web-Sites as soom as you start running Forms au...more >>

SOAP Message with attachment is the best solution?
Posted by cristms NO[at]SPAM hotmail.com at 5/11/2005 5:24:23 AM
Hi there. I'd like to know, if anyone knows how should i send a XML file, located in server folder, to a web service. The purpose is to send and receive XML files that can have a large of data, so i think that it could not use a string variable. Do i have other possible scenarios? I have find ...more >>

Disabling the soap formatter!
Posted by mehdi_mousavi at 5/11/2005 12:31:43 AM
Hi folks, Is there anyway to disable the soap formatter for a specific web service? Consider the following web method: string Method1(int param1) { return "test"; } when the mentioned method is called, something like this is returned to the caller: <?xml version "1.0" encoding="utf-...more >>

Web Method Order not changing
Posted by SMG at 5/11/2005 12:00:00 AM
Hi All, I have created a Web Services with five web methods. When I browse it through the url : http://localhost/webservices/test/test.asmx it shows all five websrevices in different order. I changed the order of web methods in my .cs still it doesn't change the order. Does it tak...more >>


DevelopmentNow Blog