Groups | Blog | Home


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 2006

Filter by week: 1 2 3 4 5

SQL Query by login
Posted by Bret at 9/29/2006 4:03:01 PM
I am VB developer learning ASP.net. Have successfully creating a Login page and a GridView. My question is: After a user successfully logins, I want to capture there login ID and use it to feed a parameter in the SQL statement in the Gridview (or dataset?) so the results returned of course a...more >>


Server response with header attribute mustunderstand="1"
Posted by angellvl NO[at]SPAM gmail.com at 9/29/2006 4:46:37 AM
Hi everybody, I'm stucked with a web service response... When I call a web service I must add a Header calles TransactionID with the mustunderstand attribute set to "1". The web service response it's ok but includes the same header with mustunderstand=3D"1", and client proxy class is unable to p...more >>

XMLHTTP Status 500
Posted by Siva at 9/28/2006 3:19:02 PM
Hi, I am getting XMLHTTP status 500 when I try to post a page on my simple ASPX page. I am not doing much in Aspx page. What I am doing is I just print the type of Request by the following line: MsgBox(Request.ServerVariables("REQUEST_METHOD")) I have another page which post the xml on thi...more >>

ASPX page possibly timing out
Posted by StingRayYellow at 9/28/2006 12:53:02 PM
I have some .NET 2.0 c# code that reads data from an XML file, and imports it into CRM. The code works fine until I throw an 18MB file at it. My code will process a large portion of the file, but then stop & display an error message. I added the following code to my web.config, but with no ...more >>

Runtime Instance Id
Posted by Ger at 9/28/2006 10:01:24 AM
I'm using VB.NET 1.1 I need an ID of some kind that identifies the particular runtime instance of my webservice. So I can log various things and group them together to show one call to my webservice. I can't use SessionID as there could be several calls within the one Session. ...more >>

Webservice novice question
Posted by Asfar at 9/28/2006 9:06:13 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 >>

Transferring the HTTP Error Codes
Posted by Anbu at 9/28/2006 5:43:55 AM
Hi All, I have 3 web services. First service sends msg to second service and second one sends the msg to the third service. If the third service returns any error, second service creates an soapenvelope and sends it back to the first service. But when the first service receives the msg, i...more >>

Custom Types
Posted by Jack at 9/27/2006 3:15:08 PM
I'm trying to consume a web service that returns some custom types. I'm getting the error "[web reference].[object] cannot be converted to [custom assembly].[object]". I was able to make it work by overriding some definitions in a windows application, but I'm not able to get it to work con...more >>



problem uploading large file with webservice
Posted by Bram Kuijpers at 9/27/2006 1:17:00 PM
Hi, we have programmed a webservice, in VS 2003 /dotnet 1.1, and use it to upload xml-files. The file is sent, as an attachment to a soap-file using DIME, in one http-POST. The content can be larger than 4 Mb, which used to give a http 500 error ("request too big" or something like that). S...more >>

Standard way to accomplish production / development switch
Posted by kellygreer1 at 9/27/2006 8:11:10 AM
Hi group, If I have written some web services with about 20 methods. Each one of these methods uses a standard dev database connection. As I move this Web Service to production, I would like to offer the ability for clients to hit the production or development databases. I'd like the clien...more >>

"The operation has timed-out" happening intermittently
Posted by sandeep at 9/26/2006 4:28:02 PM
Hi I have a .Net 1.1 Web Service "A" calling into another Web Service "B". Calls from A to B work fine for most of the time but intermittently I get a "System.Net.WebException" with the message "The operation has timed-out". There is no log of this request on B's IIS. Normally the calls fr...more >>

Datasets vs objects
Posted by JD at 9/26/2006 9:24:17 AM
What is everyone using and why? ...more >>

Time Zone Problem in Web Service
Posted by John at 9/26/2006 5:04:26 AM
Hi All, I Am Using Vb.net and xml webservice.My Problem Is When i Call dataset Using Web service .The Date THAT IS Getting Is Differnent That was in database(Sql) If I Change my Time zone.I Have Web service in The Live Server .And My Client Application using vb.net .If I change the Time Zo...more >>

Help
Posted by Siva at 9/25/2006 2:35:02 PM
Hi, I am learning ASP.NET, How can I get request and response in asp.net? I tried to use : Dim data as Byte = Request.BinaryRead(TotalBytes) This is not working. I try to create the HttpRequest . But for that I need to know the url of the data that I am requesting. which I can not keep stat...more >>

A client application with all logic accessed via web services?
Posted by Simon Harvey at 9/25/2006 1:39:10 PM
Hi everyone, We have a need to make a Windows Forms (2.0) client application that will be installed on our clients site. The data that the application uses needs to be centrally available to a potentially large number of other sites, which would seem to leave us with our traditional appr...more >>

WSDL doesn't validate the incoming messages
Posted by davidliuh NO[at]SPAM hotmail.com at 9/25/2006 10:28:55 AM
Hi, I have a web service which inplements a WSDL. In the WSDL, there're two lines like: <s:element minOccurs="1" maxOccurs="1" name="CreateDateTime" type="s:dateTime" /> <s:element minOccurs="1" maxOccurs="1" name="OriginatorID" type="s:int" /> When I tested, I didn't have CreateDateTim...more >>

Complete novice question - do I need a web service for this?
Posted by mtait at 9/24/2006 5:02:01 AM
Hi - I'm not sure if I need a web service, and am looking for advice, I have an .net2 web application for consultants, where it shows if they have availability which can be booked - each of the consultants also have their own website, and a couple have now asked if it's possible to show the ...more >>

Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON
Posted by Jas at 9/22/2006 12:49:02 PM
Hi, we're trying to install IIS 6.0 and SQL Server 2005 on different machine because we want to be bale to use the performance of each server and we're getting an error Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON. So what we tried it's putting the application on the same machine that ...more >>

Debugging Webservices
Posted by Goose14 at 9/22/2006 9:39:51 AM
I have a client application and a webservice. Both are in the same solution. If I reference the local webservice and run, and step into the webservice no problem. My question is, when I want to publish the webservice, do i have to keep changing the reference from the local copy to the remote cop...more >>

Unable to pass paramter to web service
Posted by Rob Miller at 9/22/2006 9:38:02 AM
Hi Folks, I have a CLR Trigger that calls a web service [see code below]. When I execute using the uncommented line, that passes a string literal, the web service executes without error. When I run the code as is, I get an exception in my web service about a SQL timeout, specifically: "Sy...more >>

first time help needed
Posted by louloizides NO[at]SPAM yahoo.com at 9/22/2006 9:33:11 AM
I've never tried writing a web service in VC++.Net but I want to give it a shot. I went to the project wizard and just compiled the blank service it came up with. It appeared under IIS and I went to the asmx page it created. It gave me the following error: Failed to access IIS metabase. Wha...more >>

RPC/Encoded: how to?
Posted by max at 9/22/2006 5:39:05 AM
Hi there, I'm having some trouble with a WS from Apache Axis: I can't generate the proxy class by wsdl.exe. It seems that wsdl.exe works fine only with Document/literal Webservices, but in my case I have an RPC/Encoded one. Is there a way to convert RPC/Encoded WS in Document/literal...more >>

Web Service request slow the first time
Posted by Marlene A. Roman at 9/21/2006 10:11:43 PM
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...more >>

Long call to webservice generates "underlying connection was closed: An unexpected error occurred on a receive."Error
Posted by Techsatish at 9/21/2006 12:45:58 PM
Hi, while iam generating a crystal report which makes a webservice call for the data from a OLAP MDX queries creates a Message "Server was unable to process request. --> The underlying connection was closed: An unexpected error occurred on a receive." Error. i tried out creating a wr...more >>

Web Service Security....sigh
Posted by paul.rogan NO[at]SPAM totalise.co.uk at 9/21/2006 8:10:35 AM
Hi, Having read lots of queries regarding problems with web service security to no avail I will attempt to explain my problem and hope that someone can help. Part of the solution I am working on is an ASP.NET web site developed in C#. This site uses "integrated authentication" Extract fr...more >>

XmlNode parameter to web service
Posted by Stephen Ahn at 9/20/2006 12:00:00 AM
Using VS.NET 2003, Given a web service proxy method like this : [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://testing.com/atest/Test", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare)] ...more >>

Acessing same class instance from 2 seperate webmethods
Posted by TiGeR79 at 9/19/2006 6:48:02 AM
Hi, i've been developing a webservice with 2 seperate webmethods. The idea is that i have a class which is able to generate a code and also able to make an image of this code. Now i'd like to have 2 webmethods ; one which can be called to generate (and return) the code and one to generate (...more >>

Trace.WriteLine and Web Services
Posted by redhotsly NO[at]SPAM hotmail.com at 9/19/2006 6:17:12 AM
Hi, we use Trace.WriteLine to output tracing information in our web services methods. With .Net Framework 1.1, we could view the tracing in real-time using DebugView (DbgView.exe) without attaching a debugger. After upgrading to .Net 2.0, it seems like the Trace.WriteLine output is sent somewher...more >>

Authenntication using web services in .net
Posted by CoHe4ko at 9/19/2006 12:33:31 AM
I have written microsoft outlook addin which connects to the server using web service and calls utils function - "Save document". This function receives some args and loads file from client to server. I access web methods directly from client code. there is a problem: this function which saves d...more >>

Duplicate type
Posted by Michael Holdgaard at 9/19/2006 12:00:00 AM
Hi I've a problem with a type, which is shown twice in the WSDL-file, when I run my WebService. To simplify things, I have defined the following type in a C#-unit: public class User { ... } public class UserList : IEnumerable { private ArrayList myuserlist; ... } ...more >>

HttpWebRequest Not Working?
Posted by JS at 9/18/2006 2:33:02 PM
Hi All, I am trying to post an xml document to a java web service but I am getting an error saying, "The remote server returned an error: (500) Internal Server Error". I have tried sending the xml document using Curl and it is working fine. I am assuming that my Request might be in the w...more >>

Legacy Asp & .Net 2.0 Web Services (Will Atlas help me?)
Posted by Gregory_May at 9/18/2006 11:30:42 AM
I am creating some .Net 2.0 (C#) web services. I will need to retrofit some legacy ASP applications to consume these. What is the best way to achieve this? This article seems like an OK approach: http://www.codeproject.com/soap/ConsumWebServicefromASP.asp A reference in the comments of ...more >>

web exception error
Posted by Nab at 9/18/2006 1:41:01 AM
I have a web service connected to a sql server 2005 express. The service has a web method and information is extracted from the database through a stored procedure that has two parameter:input and output. So for example some one could supply a stock brokers name and in turn one gets the stock ...more >>

The type initializer for 'MyClass' threw an exception
Posted by NoNickname at 9/15/2006 8:14:02 PM
I developed a new ASP.NET 2.0 web service on my PC (VS2005 on windows 2000) and tested it in a development environment on a 2003 box. And the web service works on three different 2003 servers in a QA environment. When I moved the application dlls over to Production onto a brand new 2003 b...more >>

IIS ASP.net Web Services Disconnected
Posted by EggHead at 9/15/2006 11:42:36 AM
Hi, sorry if this q was before asked, cannot find the ans anywhere. I have a web service in IIS 5.0 and IIS 6.0. When I call the web = service, the web service makes a txt file and return the file back to = me. Once in a while, web service needs at least 1/2 hours to make the = file, but I ...more >>

Web Setup Project and non default web sites
Posted by MattBell at 9/15/2006 7:46:02 AM
Is there a way to install a web service to a server which has multiple web sites running, and not to the "Default Web Site" using the Web Setup Project? Thanks, Matt Bell...more >>

Confused and dissapppointed about ASP.NET tutorials
Posted by Tony Girgenti at 9/15/2006 1:06:18 AM
Hello. When i use the ASP.NET quick start tutorials at http://quickstarts.asp.net/QuickStartv20/default.aspx, all of the samples are shown in HTML. It even says there "If you have never developed Web pages before, the QuickStart is not for you. You should be fluent in HTML and general We...more >>

Compile proxy for 1.1
Posted by jlfraser NO[at]SPAM infotech.monash.edu.au at 9/14/2006 10:20:22 PM
I have both 1.1 and 2.0 Frameworks installed and would like to compile a web service proxy for use on a machine running 1.1 using a command line interface, ie not Visual Studio. I can create the .cs file with no problems, using the V1.1 wsdl.exe, but when I try to compile the .cs file to a .dll,...more >>

[WSS003] System.Net.WebPermission pb
Posted by SD at 9/14/2006 3:20:40 PM
Bonjour, Voilà mon pb: J'ai un programme exe (signé) qui à l'ouverture d'une session d'un utilisateur Windows va interagir avec les web services WSS2003. Cet exe est lancé de façon artificielle avec les privilèges admin , à la fois admin de la machine de l'utilisateur et à la fois admin de ...more >>

Sessions in WebServices
Posted by Asfar at 9/14/2006 2:01:51 PM
I am using windows client to call webservices. Can I use sessions in WebServices like how I use to create a asp.net website? Will I be able to set the session timeout property also. Thanks, -Asfar ...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 >>

Having a hard time trying to open a text file
Posted by Tony Girgenti at 9/13/2006 12:49:07 PM
Hello. I developed a web consuming windows application/form program with VS.NET 2003, VB, .Net Framework 1.1.4322, ASP.NET 1.1.4322, IIS 5.1. Using this code to open a simple text file. If i get an error in my program after the file has been opened once, it gives me a message saying "Sy...more >>

Need to test a .Net dll using data that was sent to a WebService
Posted by Pebble at 9/13/2006 12:26:41 PM
Hi folks, I have a WebService that simply acts as a thin wrapper to a .Net dll. Literally almost zero code in the WebService. Parameters passed to the WebService are simply used as parameters to methods on the dll, and all parameters to my web methods are strings. (The strings, just for f...more >>

Uploading largish files through web services.....
Posted by UJ at 9/13/2006 8:17:34 AM
I have largish (5-10MB) that I want to upload to my server It's all done behind the scenes with no user intervention so speed isn't so much of an issue and there is no interface for it. What's the easiest way to do it ? I've used BITS with the Microsoft BIT wrapper to download files bit the...more >>

Using DNS name verses Machine Name causes 403 error
Posted by Jason at 9/12/2006 11:23:02 PM
Hi, I have developed a web service using VS2005 and is landed on a Windows 2003 Server. The Server is an Intranet Server so I am using credentials while connecting to the server so authentication takes place. My problem is that when I connect to the server with a URL like: http://MYSERV...more >>

Returning custom collection from a webservice
Posted by Rodney at 9/12/2006 1:50:03 PM
I have a strongly typed custom collection that is filled from an xml file. This works fine inside my web service, but not when I try to send it to the client. The proxy class changes the return type to an array of [my object]. And even though the collection had 3 items in it on the web service e...more >>

Load a webservice at runtime
Posted by Johnny Emde Jensen at 9/12/2006 1:23:34 PM
Hellow group I've made a webservice to handle datafetch between a database and a website. On the website i want to place the location of the webservice in the web.config an thereafter create the reference dynamically. Do we have som examples for this? if its possible. BYW i'am using C# ...more >>

Asp class at technical college
Posted by Marty at 9/12/2006 7:13:02 AM
I have a chance to take a class at a technical college...the name of it is asp programming. i bought the book and it is not about asp.net 2.0...it is an earlier version...the book was published in 2005... since we have asp.net 2.0...is the class worth it? It also has some vb.net. thanks ...more >>

Serializing a derived class
Posted by deja NO[at]SPAM 2bytes.co.uk at 9/12/2006 4:33:06 AM
hi, I have a web service that builds an arraylist of objects. These objects are derived classes of a base class with a few extra fields for help with processing. But when I return the objects I only want to return the base class implementation i.e public class ServiceObject : BaseObject { ...more >>


DevelopmentNow Blog