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 > august 2006

Filter by week: 1 2 3 4 5

Obfuscating attribute from WSDL.
Posted by pradeep_TP at 8/31/2006 9:49:01 PM
hello everybody, I have simple web method in a web service that is returning a data of a user defined type. When I refer to this web service from my client application, I can see this user defined type appearing as a complex type data type inside the WSDL file. The user defined type is an ...more >>


Securing Individual Web Service Methods Calls
Posted by timburda NO[at]SPAM hotmail.com at 8/31/2006 9:00:26 AM
Here is the scenario: I have a two .asmx which sit side by side on a .NET based webservice. My web application has some web modules which should be able to access both of the .asmx files, the other web modules should only be able to access methods in one of the .asmx files. What I'm trying ...more >>

no envelope??
Posted by chandy NO[at]SPAM totalise.co.uk at 8/31/2006 3:09:06 AM
Hi, I am trying to consume an apache axis webservice from an asp.net 2.0 application. I used effetech http sniffer to inspect the http post and there is no soap envelope sent by .net at all! What could cause this? Chandy ...more >>

WSE003: The input was not a valid SOAP message
Posted by Gerrit at 8/31/2006 2:36:40 AM
Hello! I'm having some probelems with a Web Service. Situation: I'm using WSE 2.0 in the Web.config I have added <httpHandlers> <add type="Philips.ICIConnector.IciDispatcher.RoutingHandler, IciDispatcher" path="*.ashx" verb="*" /> </httpHandlers> So, all requests to ashx files en...more >>

Formatting XML in Web Service Response Using HTTP POST
Posted by SimonDev at 8/31/2006 12:26:01 AM
Hi I've got a problem regarding the formatting of the body of an HTTP response from a web service. We are using pure HTTP (POST) rather than SOAP for communicating to and from web methods to reduce message sizes and save network charges over a cellular network. Each web method returns...more >>

Forms and Validation for Web Service
Posted by simonbrown999 NO[at]SPAM gmail.com at 8/30/2006 10:41:13 PM
Hi, I have a number of web services that take several inputs and perform a calculations. I want to be able to create a web form automatically with the appropriate validation controlled by the XSD embedded in the WSDL. Is this sort of thing possible? Any ideas or pointers gratefully received? ...more >>

Using a proxy server with webservices
Posted by WinDev at 8/29/2006 10:20:02 AM
I have our webservices up and going and they work fine. I have a customer trying to connect to them (using a program I wrote) and it's timing out. They are using a proxy server (we don't have one in house) so I wrote the code that I think will work but I can't test it. What all do we need t...more >>

How to read contents of html table with .net?
Posted by Jim S at 8/29/2006 7:08:03 AM
I have a need to read the contents of an html table on a remote web page into a variable. I guess this is called screen scraping but not sure. I'm not sure where to start or what the best practices are to accomplish this. For instance; I have a healthcare app that need to check a gov't we p...more >>



Problem changing password
Posted by John at 8/29/2006 12:00:00 AM
Hi I am trying to set a new password using the following code; Dim u As MembershipUser = Membership.GetUser(UserName) Dim OldPassword As String OldPassword = u.GetPassword If u.ChangePassword(OldPassword, Password) Then ChangePassword = True end if The problem is that it gives me t...more >>

membership/roles create user problem
Posted by John at 8/28/2006 10:26:27 PM
Hi I have a web service asmx file in a sub folders of site app root folder. With in the web service I am trying to cerate the user as below; <WebMethod()> _ Public Function CreateUser(ByVal Username As String, ByVal Password As String, ByVal Email As String, ByRef ErrMsg As String) As Boo...more >>

Timeout on spawned thread within IIS
Posted by Gerrit Hulleman at 8/28/2006 1:21:38 PM
A question regarding threading within IIS: If you spawn a thread within an ASP.NET 1.1 webservice so that the calling program does not has to wait for the result, (the calling program does not support async methods and callback methods) what timeout / algorithm is there in place in IIS 6.0 ...more >>

Createuser exception handling
Posted by John at 8/28/2006 12:53:39 AM
Hi I am using the membership createuser method but need to find the error when one arise. I am using the below code; Public Function CreateUser(ByVal Username As String, ByVal Password As String, ByVal Email As String, ByRef ErrMsg As String) As Boolean Try Membership.CreateUser(U...more >>

Async web service
Posted by max3vil at 8/27/2006 4:20:09 PM
Where can i found some exemple in .net 2.0 to asyncronous web service call in win forms, console applicationo ? tnx ...more >>

Finding out actual TCP/IP address
Posted by UJ at 8/27/2006 3:58:11 PM
Is there any way for a web service to find out what the TCP/IP address was that was used to 'call in' to it? I have a C# program that's calls to a web service and I want the web service to know the actual TCP/IP address that was used. If I get it from the machine and send it to the webservice ...more >>

Manipulating roles remotely
Posted by John at 8/27/2006 3:06:18 PM
Hi My web app uses asp.net 2.0 roles/membership. My problem is how to manipulate those remotely and I am thinking of implementing a web service. My question is how does a web service residing in a sub folder of the web app can access the web app's roles/membership info and manipulated it vi...more >>

Two-way Communication /w Web Services
Posted by hufaunder NO[at]SPAM yahoo.com at 8/27/2006 1:12:24 PM
I am going to write a smart client application. This application will be used both on an intranet as well as over the internet. Among other things, the application needs to be able to tell the server to monitor certain items/tasks and notify the client when the item/task has changed. Initially, ...more >>

VB.NET service is not working via windows app, but fine if you invoke via asmx page with IE...
Posted by warren.lafrance NO[at]SPAM gmail.com at 8/25/2006 2:23:36 PM
I can invoke my web service via the test page (xxxx.asmx) that visual studio builds for you... I am able to open IE and surf to the page and invoke the service.. If I create a windows application and try to invoke it I get a time out error... System.Net.WebException: The operation has timed-out...more >>

woohoo.. passing complex types to JS with Atlas is working! but is this the only way?
Posted by sonic at 8/25/2006 10:15:17 AM
i am happy to report that serializing complex types into javascript and passing it back to the server is effortless with atlas. 1. Create JavaScriptConverter MyTypeJavaScriptConverter : JavaScriptConverter you dont even have to override serialize/deserialize this part appears to be taken ...more >>

Debugging an ASP.Net application
Posted by Star at 8/24/2006 9:39:01 PM
I just started a new position and I found out that no one there knows anything about this system. I have an asp.net page that is linked to a c# program and a sequel sever database. I've changed the web.config file to match my test server and I compile everything in a visual studio 2003.net...more >>

An unhandled exception of type Serialization.SerializationExceptio
Posted by julio at 8/24/2006 9:39:02 AM
Hi In our ws v.1.1, thats works fine as from ends 2004, yesterday gave us an strange error: An unhandled exception of type 'System.Runtime.Serialization.SerializationException' occurred in Unknown Module. Additional information: The type System.Web.Services.Protocols.SoapException in Asse...more >>

Loading XML in C#
Posted by sam at 8/23/2006 5:20:02 PM
I have the following code that I am having issues with and I was wondering if someone could explain to me why it's doing what it's doing: strXML = "<EngineDocList><DocVersion>1.0</DocVersion><TimeIn></TimeIn><TimeOut></TimeOut><EngineDoc><ContentType>OrderFormDoc</ContentType>"; strXML = s...more >>

Conversion from 1.1 to ASP.NET 2.0
Posted by John Banks at 8/23/2006 4:07:22 PM
I have a complexed web service written in VB.NET 2003 / ASP.NET v1.1.4322. I have converted the web project over to VS 2005 and everything compiles fine. I can review the wsdl, etc. When I attempt to update references to the service from other applications, I receive the following message...more >>

updating a remote sql server database from a local access database
Posted by trulize at 8/23/2006 4:52:19 AM
Hi there, I am fairly new to webservices and currently have a problem with updating data to a remote sql database from data entered into a local MS access database. So far I have a windows application that builds a dataset from the access database containing all the tables to be updated to ...more >>

System.Net.WebException: The operation has timed-out.
Posted by tellierprobable NO[at]SPAM gmail.com at 8/22/2006 4:30:36 PM
I have an ASP.NET 1.1 web site that calls a custom web service. This web service makes a call to Reporting Services web service to generate reports. We are using SQL Server 2000. '--------------------------------------------------------------------------= =AD-------------------- '''''''''''...more >>

Accessing local resources
Posted by Ganesh at 8/21/2006 6:12:02 AM
I have a web application that is forms authenticated. From one of the web forms in this application i invoke a web service. One of the web methods in this web service accesses database, gets the data ( report data ) and a .pdf out put is generated. The reporting engine used is data dynamics. O...more >>

Server did not recognize the value of HTTP Header SOAPAction
Posted by Rohit at 8/20/2006 11:39:43 PM
Hi Guys, Trying to use Sharepoint Search Webservice. Keep getting the error "Server did not recognize the value of HTTP Header SOAPAction" Getting nowhere with this error, so any help would be appreciated. Cheers, Rohit Stak Trace as follows: [SoapException: Server did not recogni...more >>

Remote web service
Posted by doc. Zenobiusz Furman at 8/19/2006 3:11:57 PM
Hi! How to call a method of a remote web service from another web service (local)? Any help? -- M....more >>

Plz help its very urgent doubt in uploading a webform
Posted by Saranya at 8/19/2006 2:05:39 AM
Hi friends In my system i m having some aspx files which r working fine in my localmachine.but when i try to upload it in web server,it s triggering errors like Parser Error Message: Could not load type 'xpreztoems.frmIndex'. Source Error: Line 1: <%@ Page language="c#" Codebehind=...more >>

asp.net error message
Posted by JohnE at 8/17/2006 10:01:01 PM
Greetings. I am not sure if this is the group to be asking this question but I'm beginning to run out of ideas. I have updated the software to 2005 (VS, MS SQL) and the framework to 2.0 and asp.net 2.0 On several machines when shutting down I get the following error message; "The instruc...more >>

Cannot access webservices from windows application
Posted by Paul at 8/17/2006 11:48:15 AM
I am using .NET 1.1 with SP1 under windows xp with a dialup connection and I cannot access ANY webservices on the internet. I can access them if they are on the localhost via IIS. I have searched the web for others that are experiencing this problem and people have suggested changing the .NET ...more >>

Secure access to my hosted web service
Posted by Jason James at 8/17/2006 12:00:00 AM
Guys, I am developing a web service that will be hosted by a web hosting company and therefore will be in the public domain. Since the service accesses a DB I would like to ensure that only authorised applications/ users have access to the web service. Does anyone have any suggests how I m...more >>

XML Data Validation - Referenced By WSDL File
Posted by Daniel Lee at 8/16/2006 8:00:02 AM
I have two XSD files, one defines the message format and the other is a common type definition. The XSD files are referenced using xs:import. The wsdl file is generated by a tool, ThinkTeture Web Services Contract-First(WSCF). For example, this is the definition of some type <xs:simpl...more >>

Web Service Calling Windows Service
Posted by webmills at 8/16/2006 2:47:01 AM
I have some core code that I would like to run as a Windows Service. I have a Web Service that I would like to be able to call a number of public functions of the Windows Service. Is this possible? If so, could someone please point me in the appropriate direction. Thanks James...more >>

Proxy Authentication Required - Error 407
Posted by UJ at 8/15/2006 2:23:29 PM
I've got a web service that I can call fine - works no problem. I put the same call on a machine that's using a Proxy server and I get a 407 error. I can't figure out how to set the credentials and what they should be set for. This is running in C# VS 2003. TIA - Jeff. ...more >>

BindingFailure was detected
Posted by nickname at 8/15/2006 1:18:02 PM
I have a simple web service with a method that returns a Boolean: using System; using System.Web; using System.Web.Services; using System.Web.Services.Protocols; [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] public class Serv...more >>

avoiding deserialization
Posted by sean rogers at 8/15/2006 7:38:02 AM
hi 1. i have a biztalk orchestration that calls my web service. 2. My web service receives the BTS message and deserializes it 3. My webservice then takes the deserialized object and re-serializes it into an XmlDocument before sending it to another component to be processed. My question...more >>

on´t_return_value
Posted by MarleyNoleto at 8/15/2006 6:18:01 AM
Hi, good morning to all. I have a application with webservice and I crate a class that has two atributes, _id and _descricao, but the public property don´t return a value. Please see the code: using System; using System.Collections.Generic; using System.Text; using System.Xml.Serializa...more >>

How Can I debug a WebService?
Posted by perspolis at 8/12/2006 12:00:00 AM
Hi all I have a webservice that I want to debug it line by line.. I enabled the Debug option in WeConfig. but I can't debug that and when I set a break point for it,that dosen't work .. thanks in advance ...more >>

Generate pdb's for web service
Posted by TR at 8/11/2006 2:33:06 PM
New to workign with Asp.net in VS2005. Question; How do I specify that I wnat pdb's created when I compile? Thanks T ...more >>

Why my win2003 can't use webservice
Posted by pp.zz NO[at]SPAM 163.com at 8/10/2006 11:42:46 PM
I create a simple webservice,just want to get some data, And it can be run without any bugs in my pc, but , when I copy it to anther computer (OS:win2003) , the result is: http://218.20.115.105/GoogleMapTest/DataService.asmx Is there any bugs occured? ...more >>

Web Service constructor...
Posted by Tom at 8/10/2006 6:25:11 PM
I think I know the answer to this... but just do be sure: Can an ASP.NET web service have a constructor? And more importantly, can you call that constructor in the program that uses the web service?? Thanks. To ...more >>

Web Service access a file (read only) via a URL?
Posted by Tom at 8/10/2006 2:30:42 PM
Is there any way to let a Web Service access (i.e. read) a file via a UNC? And what if this file exists on a different server? For example, my web service needs to be able to read some 'encrypted' data that is in a text-only file that MAY or MAY NOT be located on the server itself. I am passin...more >>

Receice Soap Exceptions
Posted by Anbu at 8/10/2006 5:15:37 AM
Hi All, How to Receive Soap Exception using HTTP POST operation. Here is the code that calls the Web Service try { string strg = envelope.InnerXml; HttpWebRequest req = (HttpWebRequest)WebRequest.Create(destination); req.Method = "POST"; req.KeepAlive = true; req.ContentType = "text/x...more >>

Dataset and WS-I BP 1.1
Posted by Rasheed at 8/9/2006 1:21:09 PM
The requirement is to build interoperable web services which should conform to WS-I Basic Profile 1.1 (This requirement came little late in the development life cycle). Some of the existing web services utilize Dataset as return type and input parameters. The web services by default contain...more >>

Web Service outputting csv files
Posted by fmancina NO[at]SPAM fricorporation.com at 8/9/2006 9:49:11 AM
Hi All, I currently have a web service outputting data in many different formats (XML, EXCEL/XML, DataSet, ...). I was wondering what was the best way to output CSV files? I have no problem building the files, however I can't decide what data type to return them as. Should I return a concaten...more >>

Change Content-Type.
Posted by KaNos at 8/8/2006 8:12:40 PM
Hello, When I consume my webservice, it sends a Content-Type : application/soap+xml; charset=utf-8. But I want to change it to Content-Type : application/xml; charset=utf-8. Is there something to ad or delete in the config file ? I don't know how to do that. Thanks for response. ...more >>

Can't change URL Behavior - no Properties
Posted by Veg at 8/8/2006 1:34:27 PM
I need to change the URL Behavior for a Web Service Reference from Static to Dynamic on a web site project, but when I right-click on the reference, I don't have a Properties option. Just to make sure it wasn't the web service, I tried a public one - http://soap.amazon.com/schemas3/AmazonWebSe...more >>

CS0117: 'site.sforce.Lead' does not contain a definition for 'Amount__c'
Posted by maflatoun NO[at]SPAM gmail.com at 8/8/2006 8:19:50 AM
Hi everyone, I've been using webservices to connect to salesforce (CRM) API for over a year now and today I added a new field 'Amount' to the salesforce and extracted the WDSLfile. On my local system running Window XP I did a Web References Update and everything worked fine. However, on our p...more >>

Web services, class separation
Posted by nbevans NO[at]SPAM gmail.com at 8/6/2006 12:55:47 PM
Is it just me or does there seem to be no way to host multiple business classes from a single web service? I don't want to be making seperate Web References in VS for each of my business classes. Is there a design pattern or something that I'm missing out on? Cheers ...more >>

Throw errors firm-wide to a web service?
Posted by Burt at 8/5/2006 12:06:50 PM
My company is thinking of throwing all unhandled exceptions from all apps firm-wide to a web service that could then write to log, notify support, etc. Does anyone have thoughts on this? Seems like a good idea- otherwise you have to code home brewed error handling in each app. Thanks, B...more >>


DevelopmentNow Blog