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

Filter by week: 1 2 3 4 5

The thread '<No Name>' (0xdc0) has exited with code 0 (0x0).
Posted by A.M-SG at 11/30/2005 4:00:19 PM
Hi, When I run my web service application in VS2005 IDE and then watch the output window, almost after any method call, I have something like this message in my output window: The thread '<No Name>' (0xdc0) has exited with code 0 (0x0). I tried to get the thread number by putting this l...more >>


Webservices with raw post data
Posted by Carlo Razzeto at 11/30/2005 2:38:22 PM
Hello, I'm working on migrating a webservice my company currently has written in PHP over to a .Net webservice. Our service works like this: Applications makes a HTTP POST request to the webservice with the raw post data consisting of XML. The XML service creates the request processing ob...more >>

SOAPHeader element - not a complex type ???
Posted by Emul at 11/30/2005 1:02:52 PM
I have to send a SOAP request from my .NET/C# client to a server (Apache/Java/Axis) that expects a SessionKey to appear in the SOAPHeader. Their WSDL does not describe the header (I spoke with them and they are not able to provide WSDL with it) so I handcrafted the WSDL and ran WSDL.EXE on it. ...more >>

Parameterized URL in a web service problem
Posted by Luis Arvayo at 11/29/2005 12:08:58 PM
Hi, My app is a general purposes app and not a specific one. This means that customer who bought the application can have a web service placed on the server on any given URL. I use the wsdl tool to create the service class, but the reference to the url is hard coded inside the class. ...more >>

webservice for Authentication
Posted by J-T at 11/29/2005 11:47:35 AM
I need to create a webserivce which is able to talk to the following components: 1) Another webservice which is written by java and talks to its own backend database to authenticate the users 2) Directly talk to a sql server database containg a table to store username and passwords 3) Dir...more >>

Help calling web service on intranet
Posted by JockeB at 11/29/2005 7:30:07 AM
Hi! I am trying to call a web service located on our Intranet but keep getting: "Server was unable to process request. --> The request failed with HTTP status 400: Bad Request." Previously the same web service was located outside our intranet at a supplier building a solution for us. I ha...more >>

WebService Client Context
Posted by Paul R at 11/29/2005 7:27:04 AM
Hi. I have a question about how to call a WebService from a a Windows Forms application. I have developed a WebService that has a Login method. Stripped down, it looks like this…. public bool Login(string userName, string password ) { bool bLoggedIn = false; if( userName....more >>

Server Error 5
Posted by Terry at 11/28/2005 4:35:01 PM
I'm getting an error when opening a web site in front page. Server Error: Error 5 opeing regisrty key "software\classes\.application". It may have something to do with ASP Client. Where in IIS can this be resolved? I cannot find a document that address this issue. Hopefully someone has an ...more >>



Webrequest and POST
Posted by Jay at 11/28/2005 3:26:21 PM
am trying to call a webservice from C# client. I am having trouble sending a POST via webrequest. This is the URL: http://T9946ISP0001:8080/PrintMgr/ProcessRequest.jsp Here is the method : createSession The params are :param1=1024 Following is the code snippet - I am not sure how I spe...more >>

How to run a dll at client machine?
Posted by Wael_Bakr at 11/28/2005 3:02:02 AM
Am desigining web application and I have a dll that perform operations on excel object, how can i run this dll on the client machine so it uses the clients' excel in its operations ? how can i download this dll on the clients machine and run it ? ...more >>

unable to create interop services for bits.idl file
Posted by vishal™ at 11/25/2005 3:51:15 AM
I have come to know that bits is a concept being used for data transfer over the internet. I want to use this technology in my vb.net application. for this i tried to convert the 'BITS.IDL' file to .net compitable code using the 'TLBIMP' utility. But i was unable to perform the action of convert...more >>

Index was outside the bounds of the array
Posted by Cammie Watson at 11/25/2005 3:18:03 AM
Hi there, We have a web application written in asp.net (1.1). I'm not going to go into too much detail but we use a DLL to communicate with the database and also a couple of webservices. When we deployed version 1, everything deployed OK on our webserver. We deployed the application and ...more >>

Web Service Timer?
Posted by Rudy at 11/23/2005 10:36:03 AM
Hello All!! I'm looking to create a timer, this is what I need it to do. It's needs to be controlled by the server, START, STOP and amount of seconds to countdown to. The client computer will see the timer countdown and that's it. When the countdown is at 0, the question and multiple choice...more >>

How can I remove XML tags from ASP.NET web service?
Posted by younger NO[at]SPAM newsgroups.nospam at 11/23/2005 12:00:00 AM
Hi, I am developing a simple ASP.NET web service and its consumer will be an embedded device. The devices calls the method, and the method returns succefully. But the response is surrounded by XML tags, which is not recognized by the device. I wonder if there is any way for me to control th...more >>

How can I remove XML tags from ASP.NET web service?
Posted by younger NO[at]SPAM newsgroups.nospam at 11/23/2005 12:00:00 AM
Hi, I am developing a simple ASP.NET web service and its consumer will be an embedded device. The devices calls the method, and the method returns succefully. But the response is surrounded by XML tags, which is not recognized by the device. I wonder if there is any way for me to control...more >>

dataset in a Web Service
Posted by ThunderMusic at 11/22/2005 11:23:52 PM
Hi, I have a web service. It works fine until it hits a dataadapter.fill(dataset) Is it normal? it results in a "The page cannot be displayed (HTTP 500)" page. Dim dbMan As DBManager Dim dbConn As IDbConnection Dim dbDA As IDataAdapter Dim dbCB As System.ComponentModel.Component Dim dbds...more >>

WSE 2 SP3 error: Client found response content type of '', but expected 'text/xml'.
Posted by j.edwards at 11/22/2005 12:00:00 AM
Hi, I've been using WSE 2 SP3 to build a website that has a web service back end, and asp.net front end. Up till this point I haven't had any problem deploying, but on one of my client's sites I'm getting this sort of error: ----------------------------------------- Client found response ...more >>

Switching from XML formatter to Binary Formatter
Posted by A.M-SG at 11/21/2005 6:21:53 PM
Hi, I have my web service up and running, but I would like to work with SOAP binary formatters. How difficult is to switch both web service client and server from SOAP XML formatter to SOAP binary formatter? Could you refer me to any article that explains how to change the SOAP formatter...more >>

Web Services Very Slow...Please help
Posted by amqazi NO[at]SPAM gmail.com at 11/21/2005 5:46:37 PM
We have an application that we recently converted to VB.Net. The database access layer has been converted to a web service. We have noticed a significant reduction in the speed of database calls. This is a high availability application and each moderate size query to an SQL server takes about 10...more >>

deserialize xml into object
Posted by param NO[at]SPAM community.nospam at 11/21/2005 9:38:56 AM
Hi all, is there anyway I can de-serialize XML back into my custom object in VB? I am supposed to receive serialized XML via a https post and it would be nice if I can de-serialize it and then work with the object rather than XML. TIA! ...more >>

Could Not Load Type Parse Error
Posted by Brite at 11/18/2005 3:45:39 PM
Ok, i've spent almost 2 full days trying to get this to work. I've rebuilt the crap out of this project, namespaces are the same, myuser, ASPNET user, and everyone else has full permissions to the ladder to my project, the .net framework dlls, and iis. I've uninstalled and reinstalled IIS, ASP...more >>

Call to webservice doesn't pass in credentials
Posted by elora_c NO[at]SPAM yahoo.com at 11/18/2005 7:19:05 AM
I'm making a call to a webservice from my ASP.NET page. The web application has anonymous access turned off and Integrated Windows auth turned on. The web.config has <identity impersonate=true>. I set the credentials of the web service proxy to the DefaultCredentials. Right before I make the...more >>

Trouble Understanding Code
Posted by RonB at 11/17/2005 7:51:24 AM
Hi all, I'm new to programming web sites using ASP. Can someone explain the following code to me? I understand that it the condition is true it will redirect to the correct page. What I don't understand is the IsUserAllowed function/method. <% if not IsUserAllowed(ut_sales_rep + ut_reg_m...more >>

Using a Class Factory to Return a Web Service
Posted by johntallon at 11/17/2005 7:23:34 AM
Hi People, I have a question regarding Web Service and Class Factories. I have a Collection of Web Services that do specific jobs. There are about 15 in all. These services are in one VS.NET project. I have created a Base Web Service Class, that implements Authenticate, Exception Handling...more >>

Calling a webservice within a HTA
Posted by Allister Farn at 11/15/2005 9:11:16 AM
I have created a HTA from which I need to call a .NET webservice. I've written the HTA to use the webservice.htc behaviour, but am wondering if there is a better way. I am trying to limit the number of "advanced" steps the users need to carry out (i.e. savnig files, downloading other files to th...more >>

Problem with authentication using DefaultCredentials
Posted by elora_c NO[at]SPAM yahoo.com at 11/14/2005 11:23:27 AM
I have a webservice that needs to use the current user's credentials instead of the worker process. In my webservices web.config, I have <authentication mode="Windows"> and <identity impersonate="true"> In IIS, I have anonymous access turned off and Integrated Windows authorization turned on. ...more >>

WebService usage decision
Posted by hima at 11/14/2005 8:21:08 AM
Hi, I need to make a decision if company gonna use WebServices in out new project. As I understand WebService uses serialization when passing parameters from/to client. This meens that there is a lot of xml tags. Can somebody tell me, does WebService sends this xml as is, or it does some kin...more >>

Shared DLL
Posted by Bob at 11/14/2005 12:00:00 AM
Hi, I have a DLL that talks to the widget on a comm port. It grabs the comm port and hold it for the life of the application that invoked it. With a windows client there is no problem as the appropriate class is only instantiated once, getting control of the comm port and processing requests as...more >>

Thread was being aborted
Posted by Prasad Dannani at 11/11/2005 12:00:00 AM
Hi, I was created a web service which will execute some functions and will do some database activities related to our project When i execute this method directly from browser using webservice link it sometimes throwing "Thread was being aborted" Exception. If the time taken by the functio...more >>

How to reference a dll from asmx?
Posted by Michael Giroux at 11/10/2005 10:11:00 AM
I have an asmx that Inherits a class that is defined in a dll. The asmx and dll are in the same directory. The asmx gets compile errors because the class it inherits is not know. Looking at the generated compile command, the dll is not being referenced -- there is no /R:my.dll option in the...more >>

Adding a web reference in code (without VS.Net) ?
Posted by Chris Ashley at 11/10/2005 7:21:51 AM
I want to just quickly knock up a simple aspx page that calls a web service without bothering to create a project or anything. Is it possible for me to add and call a web reference in code without using VS.Net at all? ...more >>

Parser error "could not create type" w .NET Framework 2.0
Posted by Joakim Sundén at 11/10/2005 6:56:16 AM
Hi. I have created a simple web service project, only using the HelloWorld sample already there, with Visual Studio 2005. If I browse the web service ..asmx file by right-clicking it using the new built-in web server everything works just fine. All attempts to access the service through II...more >>

How to read app.config from Web services
Posted by Daniel Caetano at 11/10/2005 12:00:00 AM
I have this situation: My apllication calls a method inside the web service that calls a method that belong to a dll. And then the dll should read a key<conection> in the appsettings(app.config) in my application. It´s not working. A reply a message that couldn,t find my kEy. If i do´n´t use we...more >>

Web Services: The operation has timed-out
Posted by Joško_Šugar at 11/10/2005 12:00:00 AM
I have a data transfer between an c# application and web service. The application is in local network and connects to the internet thru a gateway. Connection is ADSL. Web service is on the remote server. Timeuots are configured as follows: local timeout: <add key="WebService.Timeout" valu...more >>

Just tell me why ? so confuse...
Posted by serge calderara at 11/9/2005 11:41:53 AM
Dear all, I was planning to build a web service component for one of my customer that will be preliminary use in there company intranet. This web service will be in charge of sending back data from an SQL server database base on a user request like for example following webmethod : - Ge...more >>

Problem with C# Using Statement on Web Services Proxy
Posted by Bill at 11/9/2005 7:29:42 AM
I used wsdl.exe to build a C# web services proxy. It contains 2 using statements that cause compile errors in Visual Studio .NET beta 2: // the following 2 lines cause compile errors using System.Web.Services; using System.Web.Services.Protocols; // Here is a simple console program that a...more >>

.asmx files vs .aspx
Posted by phoenix.cbe NO[at]SPAM gmail.com at 11/9/2005 7:15:00 AM
Hi All, I heard a scenario from my friend who tells me that they discourage the use of .asmx files to return XML data (AJAX), instead they ask him to write it as .aspx page. The reason he was told, was that .asmx services perform a tad slower than their .aspx counterparts. Is ther...more >>

Better way to call the web service ?
Posted by Polaris at 11/8/2005 12:02:15 PM
Hi Experts: I have a web service which retrieves user profile from Active Directory and a Database. Just wonder, which one is better way to use the web service if I need to retrieve 100 users profile: Choice-1: call the web service and retrieve all 100 users profile (with a single thread); ...more >>

datetime format in xml
Posted by param NO[at]SPAM community.nospam at 11/8/2005 9:33:07 AM
Hi all, I am consuming a web service on .net client side. I generated the proxy class and it has a custom object with a few datetime properties. The problem is when I populate some of those properties, the underlying xml serializer formats the property as outlined below 2005-11-07T18:34:36....more >>

Problem With Typed DataSet Schema
Posted by OhioGolfer at 11/8/2005 6:50:27 AM
My app consists of a windows form client, a business logic layer, and a web application that hosts a strongly typed dataset and a variety of web services. The web services retrieve the data from the SQL Server database, do whatever logical processing is required, and return the results to the b...more >>

Code based Integrated Windows Authentication
Posted by RTJudson at 11/8/2005 2:56:02 AM
Hi All! Windows 2003 IIS6 Forgive a newbie. I am new to C#, mostly worked with perl (please, no gasps of horror or derision!). I have to applications that I need to integrate. One is a IIS6 based WebServices app, the other, well, not. I was going to build an interface between the two...more >>

XML encoding inside return string
Posted by CASystems at 11/7/2005 9:15:12 AM
We are returning an XML string such as <SessionID>8</SessionID>. The string is being URL encoded. The perl client trying to accesses the web services is requesting that it not be encoded. Is it possible to disable the encoding? Or should we not try. Also, are there any Perl and windows we...more >>

Error in proxy class
Posted by Ondrej Srubar at 11/7/2005 6:22:08 AM
Hello, I have the following problem. I used the wsdl.exe to generate the proxy class of some web service. It works fine, until I get the error "An unhandled exception of type 'System.ExecutionEngineException' occurred in system.web.services.dll". This error occurs on the line MyBase.New() ....more >>

Debugging Cassini (Extracting Hit URL string on Cassini)
Posted by emc at 11/4/2005 1:20:31 AM
Hi Guys, I tried debugging cassini but it's not responding. Actually, I wanna edit some part of the request class so that I can log each hit on the PWS in a file. My intention is to get the URL strings and persist some key parameters in the URL string to a file. Reason is to evaluate Cassini's ...more >>

HTTP GET vs HTTP POST protocol
Posted by serge calderara at 11/4/2005 12:04:04 AM
Dear all, I have read that when you creat a web service, the default protocol used is SOAP. First think is there a real simple link that explain this SOAP concept ? Then what is the difference between HTP GET and HTTP POST request ? thnaks for your help serge ...more >>

WebService Design
Posted by JJ at 11/3/2005 4:55:57 PM
Hi All, Heres the scenario: I have a couple of xml feeds coming in from another company. I need, if possible a web service to check every so often for these xml files. The web service would parse the xml data out and check it against our database and maybe add some things to a new xml file ...more >>

proxy class - xml
Posted by param NO[at]SPAM community.nospam at 11/3/2005 9:36:33 AM
Hi all, I have generated a Proxy Class for a remote asp.net WS. The WS method accepts a custom object and returns a custom object as well. There seems to be an error somewhere and we cannot pinpoint it. Is there a way for me to retrieve the underlying XML that is generated by the proxy class w...more >>

Using a web service to update a DB directly from a URL
Posted by mikey at 11/3/2005 6:38:25 AM
HI all I am new to web services and am looking for advice on the following We are running dontnet frame work 1.1 sp1 on windows advanced 2000. I've been asked to look at a merthod for collecting online payments. The plan is to get the amount of money to be payed to us and then fire the us...more >>

Best Practise
Posted by AWHK at 11/3/2005 12:00:00 AM
I have some web services that will be called from ie. Linux, Machintosh, Windows etc. All clients are required to authenitcate. What is the best security model to apply in such environment? andreas.w.h.k. :-) Note: I'am using .NET 2.0 ...more >>

Please help me Run web services from information stored in a datab
Posted by Alsi at 11/2/2005 9:10:02 PM
Hi Everyone, I have used "Add Web Reference" for consuming different web services. But currently I am trying to generate a generic Proxy Web Service that will be created and populated dynamically from the entries in the database which is my project work in a college.And I am really new...more >>


DevelopmentNow Blog