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 > december 2004

Filter by week: 1 2 3 4 5

dumping database
Posted by Jo Blow at 12/31/2004 10:59:16 PM
sorry in addition to my last question, does anyone know if it's possible for a web service/site to "dump" out a snapshot of a subset of a database into an instantly produced MS Access Database?, can automation be used to do this? Thanks again for any help ABold ...more >>

Exposing data to clients
Posted by Jo Blow at 12/31/2004 10:54:49 PM
Hi folks, I have a client that has a distributed access disaster that I want to move to a central ASP.NET system. I'm new to web services but is it possible to expose the raw database tables (subset off) in a web service that they can link to to query from Excel/access/whatever. The problem...more >>

Calling a MFC ActiveX Control from a ASP.net web service.
Posted by dmdaniels at 12/30/2004 8:35:03 AM
I am looking for some information about a problem I have run into. I have a third party MFC ActiveX Control and I would like to wrap it with a ASP.net web service. I add it to my project using "Add Reference" which creates the interop dll. I can instantiate the ActiveX Control but when I call ...more >>

web service won't run
Posted by Jim at 12/29/2004 11:11:20 PM
Hi all I have created my first web service (yes it's the hello world example) but it won't run in Visual studio: No http handler was found for request type 'GET' I am running : windows 2003 server, visual studio.net 2003, Sharepoint Portal server 2003 ch Jim ...more >>

Capture SOAP envelope
Posted by PokerJoker at 12/29/2004 10:35:05 AM
I'm calling a web service provided to me by one of my company's vendors. I used visual studio to automatically generate the SOAP request but I am trying to figure out a way to trap the soap envelope before it is sent. Is there a program, technique, or sniffer that I can use to accomplish thi...more >>

Restriction of anySimpleType is not allowed exception.
Posted by Sarika Jathar at 12/29/2004 1:39:03 AM
Hi all, I am validating a WSDL file using the w3c schema specified at http://www.w3.org/2001/XMLSchema.xsd. When I am adding this schema to the XmlSchemaCollection as follows, XmlValidatingReader.Schemas.Add(XmlSchema.Read( new FileStream(@"XmlSchema.xsd", FileMode.Open), null)); Th...more >>

User Login Webservice
Posted by adamsst1 NO[at]SPAM hotmail-dot-com.no-spam.invalid at 12/28/2004 4:56:35 PM
I am new to webservices (about a month or so) but wanted to know if it were possible or intelligent to create a webservice for a user login to my application. I have created a user control for the login. I also need other sites not on my server to be able to use the user control to login to my...more >>

Server Error
Posted by Andrew Dimech at 12/28/2004 4:52:44 PM
Hi, For some wierd reason all my webservices on IIS5.1 are not working. Everything else is though...web froms, windows forms, etc. Even if i try to test them through the web browser i get this error: System.BadImageFormatException: An attempt was made to load a program with an incorrect ...more >>



ADODB.Recordset as parm to Web Service
Posted by Marathoner at 12/28/2004 7:05:04 AM
How can I go about transforming an ADODB.Recordset in such a way that it's XML representation can be passed as a parameter to a Web Service? I have an app that consumes a Web Service. I have an ADODB.Recordset in my app that I need to pass as a parameter to the Web Service. I know it cannot...more >>

Cassini Web Server
Posted by arwen_h at 12/26/2004 12:40:13 PM
hi, I'm a student and I have to work on Cassini Web Server. Well in fact I have to debug it and see what's wrong and what could be wrong using it for intranet services. Has anyone already tested it? Have you found any bug? About supporting php pages and other languages? How about inserting some ...more >>

can dataset be created out of views?
Posted by Likhith Areekkal at 12/26/2004 12:48:07 AM
This is an addendum to my previous questions: If I have a view in the databse - Can dataset carry the same view? or should we make up a view in the dataset? If the question is unclear to you it is because I myself is not clear about what I shold be asking. Could you please through some lig...more >>

Need guidance - ADo .NET, ASP .NET, dataset - where does the code go?
Posted by Likhith Areekkal at 12/25/2004 11:33:49 PM
Hi, I am new to web programming and am using ASP .NET (C#) and ADO .NET to develop a web based room booking application. I have been reading a lot of books on ADO .NET and ASP .NET and I have a few basic question which I am totally confused about. Please note that I am a beginner and you...more >>

Checkbox problem
Posted by JIM at 12/25/2004 7:53:40 PM
Hello, I would like to solve the following problem : I've a web site with ex. 5 checkboxes Each checkbox contains the name of a certain task ex. asp:Checkbox 1: Task 1 asp:Checkbox 2: Task 2 ... asp:Checkbox 5: Task 5 Each time a task is finished on the server...more >>

Checkboxes for sending progress to the client
Posted by JIM at 12/25/2004 7:53:33 PM
Hello, I'am trying to do the following : I've made a web site on which you can do some tasks on the server and would like to inform the user which task is finished (progress info) ex. checkbox 1: Task 1 checkbox 2: Task 2 checkbox 3: Task 3 Each ti...more >>

class problem (class)
Posted by Savas Ates at 12/24/2004 11:29:29 AM
i have two class and i create them but i dont assign a value and run the subroutines.. what is my mistake? the error is --- Object reference not set to an instance of an object.---- i think it is about this line ws2.ProductDefinitions(i) = New WebReference1.ProductDefinitionType...more >>

Wrapping a web service with another
Posted by zzgcjq at 12/24/2004 11:12:24 AM
I have an external (Intranet) web service which requires that Soap message header be signed and Body should be encrypted. The service works fine when I connect to it from a client using VB or .Net. I want to create a internal web service which would in turn call the external web service. Is...more >>

Connection closed exception
Posted by Simon at 12/24/2004 7:22:37 AM
I'm having some difficulties with a Web Service I am developing. The following exception occurred when I moved the Web Service from my development machine (Win XP SP2 VS.NET 2003) to a test server (Win 2003 IIS 6): - System.InvalidOperationException Message: The underlying connection was...more >>

Sending data with web services
Posted by Jim at 12/24/2004 5:55:42 AM
Hi I am a newbie with web services, when you want to actually send data with web services (instead of downloading data from the server side) what is the way to go about? ch Jim ...more >>

Error accessing web service
Posted by eNoodle at 12/23/2004 4:28:34 PM
Hi ! I have an application running on pocket pc 2003 with .NETCF SP2 installed and written in C#. A web service will be called during program execution. Initially the web service is only install in the local LAN , which we can access the webservice internally in the office, and every function ...more >>

Web Service exception
Posted by Mike Z at 12/23/2004 1:57:06 PM
I have a web service, using wse2, sp2, that throws an exception: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'. The web service takes 2 string parameters and a byte array. It returns a string. It works in a different environment and has worke...more >>

Microsoft wsdl Utility fails when multiple <schema> tags reference
Posted by Jeffrey Odell at 12/23/2004 9:03:06 AM
We are using .Net and the wsdl Utility to generate proxies to consume web services built using the BEA toolset. The data architects on the BEA side create XML schemas with various entities in separate files for ease of maintainability. These schemas are all part of the same namespace. W...more >>

Problem Passing DataSet through Async Proxy
Posted by Dustin at 12/22/2004 8:23:40 PM
All, I have a windows service that passes a dataset to a webmethod. The webmethod then puts the dataset into a private message queue. I created the proxy for the webmethod in visual studio, by adding a reference to the webmethod, not using wsdl.exe manually. Initially I flushed out the co...more >>

...Root Element is missing Error!
Posted by Balasubramanian Ramanathan at 12/22/2004 7:53:42 PM
Hi, I am using webservice.htc to call a asp.net web service. The web service works find for the first...when i call it second time i am gettting an Error .." root element is missing"..this is happening only in remote...when i test the same application locally it works find... the remote ser...more >>

Custom object parameter
Posted by Chakra at 12/22/2004 4:39:15 PM
I have a web method which works when i send a custom object as a parameter. Today i added a DataSet after the Custom object and it wouldn't execute the Web method at all. Then, when i interchanged the order of the parameters to Dataset, Object, it worked . Why could this be so ? ...more >>

Web services without web server
Posted by David Gagn? via .NET 247 at 12/22/2004 4:04:34 PM
Hello, I wounder how to create and deploy a web service without using a= web server=2E All examples I can find assume there is a web server= (IIS)=2E Even Visual Studio =2ENet 2003 as only "ASP =2ENet web= service" in the new project templates=2E What about not using a= web server? May be I...more >>

XMLElement Params & wsdl
Posted by Brian Conner via .NET 247 at 12/22/2004 3:54:52 PM
I've been experimenting with XMLElement params so that I can do= xsd validation, etc against an incoming web request=2E However,= changing my web method to take an XMLElement generates poor wsdl= output=2E Is there a way to use XMLElement params and still= maintain strong wsdl? Can I simply ...more >>

Unicode and newline characters in XML text sond via Web Service
Posted by Krzysztof Fink-Finowicki via .NET 247 at 12/22/2004 3:53:39 PM
Hi, I fill-in text in TEXTAREA tag on HTML page, then send its content via content of XML element parameter sent through WebService function from JavaScript. On client side, I can read my text in debugger as: <Text>?Omr?de? ?hj?lp?</Text> (with literal newline). On server side, trans...more >>

Need guidance - room booking web application
Posted by Likhith Areekkal at 12/21/2004 9:40:52 PM
Dear Geeks, The following is a room booking web application done in PHP: http://mrbs.sourceforge.net/mrbs/day.php?day=21&month=12&year=2004 My project involves booking rooms for a max. time period of 14 days using ASP .NET. I have played around with DayRender and had finished off a nice...more >>

Array Of Arrays - Cape Generated WSDL with .NET
Posted by Ravi Singh (UCSD) at 12/21/2004 11:51:38 AM
Hello all, I have a CAPE generated WSDL that is an array of arrays. Let me elaborate I have a struct of public class Properties() { } Now I have a PropertyList that is an array of Properties. And then I have a PropertyListList that is an array of PropertyList. When .NET uses this, it bas...more >>

Complex XML document via SOAP?
Posted by -P- at 12/20/2004 2:28:41 PM
Can someone point me to an example of passing a complex, highly nested XML document to a WebService via SOAP? Nearly all the examples I've seen pass a handful of discrete arguments - foo.bar( int a, date b, string c) - which the SOAP abstraction layer marshalls into an XML structure. I'm inter...more >>

Optional properties
Posted by Alex Dinu at 12/20/2004 1:23:01 PM
If you have a data class, Person, with two properties, FirstName and LastName, and at a later stage you want to add a new optional property to the class which is used in a web service. What is the best way to achieve this in order to minimize the effect on the cosumers, who may be running .NET...more >>

webservice to expose existing app functionality
Posted by david.mcshane NO[at]SPAM terminalfour.com at 12/20/2004 7:56:52 AM
hi all, I have a c# socket server application (console application) that is responsible for maintaining an array of objects. The server does lots of things but alot of it relates to the array of objects. I want to add functionality to the server app by exposing some of the methods as webservice...more >>

The request failed with HTTP status 401: Unauthorized.
Posted by Kevin Burton at 12/17/2004 3:31:05 PM
I have a web service that has been working before but now I am getting: The request failed with HTTP status 401: Unauthorized. This is to the localhost and I am a member of the administrators group for this machine so I am not sure what is unauthorized nor do I understand how to find out w...more >>

Use of Virtual Server 2005
Posted by Fred Herring at 12/17/2004 3:15:01 PM
I am a windows server 2003 user. I am confused about Microsofts objectives for Virtual Server 2005. Is this product something a server administrator should be excited about. How exactly is it used? Fred...more >>

Marshaling IIdentity via web services.
Posted by null NO[at]SPAM nospam.nospam at 12/17/2004 1:21:01 PM
Is there a way to marshal an object via a web service that implements IIdentity? Thanks...more >>

How to replace the SoapIn and SoapOut suffix
Posted by alex at 12/17/2004 12:41:05 PM
Hello, Is there a way to replace the "SoapIn" and "SoapOut" suffix added to the message name attribute? For example, I would like to change <message name="CreateAccountSoapIn"> <part name="parameters" element="s0:CreateAccountRequest"/> </message> ... TO ... <message name="CreateA...more >>

Using [SoapDocumentMethod(OneWay=true)] attribute causes Trusted SQL Connection to fail
Posted by Christopher D. Wiederspan at 12/17/2004 9:03:16 AM
I have a web service and I'm using a connection string to SQL Server that specifies "Integrated Security=SSPI" to impersonate the calling user. My setup works fine until I add the [SoapDocumentMethod(OneWay=true)] attribute to the web service, and then I start getting the error: Login failed f...more >>

Web Application unable to connect to a webservice
Posted by Meena at 12/17/2004 5:59:02 AM
Hi, I have devloped a webservice for a cutsomer. They have some other company developing the front end web application for them.All these days they were testing connectivity from withnin the same network i guess. Now they say that they have hosted their web applcation outside the DMZ zone...more >>

Virtual Server 2005
Posted by Fred Herring at 12/16/2004 2:45:03 PM
I have seen this product advertised on the msdn download site. I run windows server 2003 with 1 web service and 1 web site. I don't really understand what virtual server means to me and my setup and if I should consider it. Thanks, Fred Herring...more >>

Web Service Problem
Posted by Sunil Sabir at 12/16/2004 9:27:05 AM
Dear All, I have written a Web Service which is called from ASPX file(Web Form). It works fine on the local machine. On the local machine I am using the following command wsdl.exe /l:cs http://localhost/ReturnEvents/Service1.asmx?wsdl Now I want to use the same service on the Remote Ser...more >>

Internal/External IP addresses
Posted by Mark Watkin at 12/15/2004 3:36:48 PM
We have recently put a Web Service on an external web server for testing, however, when it is added as a reference, it is trying to use the internal IP address instead of the external IP address. Does anyone know why this happens, and how it can be fixed? Cheers ...more >>

Conversion of GetSQLByte to byte
Posted by Fred Herring at 12/15/2004 2:13:04 PM
When using an sqldatareader, is it most efficient to use the "GetSqlByte" as compared to "GetByte". If so, how is data of GetSqlByte converted to net byte format. Thanks, Fred Herring...more >>

server unabaible
Posted by Felix González at 12/15/2004 12:35:36 PM
hi, I get that error when run a webservice in a windows200 server? what can I do thanks ...more >>

Web Server running ASP.NET 1.0
Posted by Summit at 12/15/2004 12:25:06 PM
Hi, I have tried this and am still getting an error trying to open a ASp .NET application in Visual Studio .NET. I still get an error: "VS.NEt has detected the Web Server is running a version 1.0 of ASp.NET" I have Windows 2000 Pro, IIS 5.0 and .NET 1.1 I have tried almost every si...more >>

HTTP status 405: Method not allowed
Posted by rk325 at 12/15/2004 11:03:50 AM
Yes, I've seen many posts about this type of error, and none of the solutions people applied worked for me. So please read this one carefully and help me if you can. I have a web service application installed in a Windows 2000 SP4 Domain control server. It is running IIS 5.0. I can access the ...more >>

Creating New Web Service
Posted by Fred Herring at 12/15/2004 8:49:08 AM
I currently run a web service on my Windows 2003 Server. I want to create a second service but I have problems when I try to create (http:\\localhost\webservice2 )it in VB.net 2003. I get an error about some sharing violation and frontpage extensions. So I am curious about what issues can...more >>

webservice, make thread wait for ok
Posted by soni29 at 12/15/2004 8:18:09 AM
hi, we're working on a project where we spawn a thread which calls a webservice, stock check, sometimes the stock checker takes too long to respond, and our thread dies out before the response can be received, is there anyway to make the thread wait longer to get the response, assuming thread i...more >>

Newbie question about Soap APIs
Posted by James Wagman at 12/15/2004 7:32:36 AM
I am dealing with an app sitting on a server which exposes a soap api for extended functionality. There is documentation on the api, but I need to know how to send the soap messages to this app. Where do i start, using .Net? A big topic, I know, but we all have to start somewhere. Please tell me...more >>

Launching Windows Forms Window from Web Services call
Posted by awu at 12/14/2004 11:02:15 PM
Is there a reason why I can't launch a WinForm Window from within a Web Services method invocation? Thanks, -Andy ...more >>

wsdl.exe does not support mime:mimeXml as input encoding?
Posted by andy.malakov NO[at]SPAM gmail.com at 12/14/2004 4:47:12 PM
Hello All, I am trying to generate .NET proxies for web service that uses HTTP POST binding (note: not SOAP!). Web Service exposes single operation that accepts some XML as input and output (specified as base xsd type). Problem is that wsdl.exe does not allow using mime:mimeXml encoding as ...more >>


DevelopmentNow Blog