Archived Months
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
all groups > dotnet web services > october 2005

Filter by week: 1 2 3 4 5

Unable to reference web service located across network
Posted by dei1c3 at 10/31/2005 6:29:01 PM
I've written a simple web service and deployed it to a server on my local network. However, when I try to add a web reference to it in a VS2005 project on my dev machine, I am unable to. When I use the "Add Web Reference" dialog and enter the URL to the web service, I get a "The page canno...more >>


Confused about role based security configuration.
Posted by Ken Varn at 10/31/2005 10:38:31 AM
I am configuring my web service with Web.config using windows authentication. I want to limit the web service permissions by using the allow / deny roles authorization. I have added the following in my web.config: <authentication mode="Windows" /> <authorization> <allow roles=...more >>

Extending web service proxy classes
Posted by Sarge at 10/31/2005 12:00:00 AM
Hi all, tough question. Apologies for the cross posting but it is an interesting architectural problem and I think deserves a wide audience. What is the best way to extend web service proxy classes so we can add our own methods and properties? We have an application that passes...more >>

getting HTTP 404 when access aspdotnet webservice in 2003 server
Posted by Praveen at 10/31/2005 12:00:00 AM
Hi All, I have made a webservice in C# and it works fine in my machine. I ran into a crazy problem when I wanted to deploy it in windows 2003 server. I have run "aspnet_regiis.exe -i" to make sure that the extensions for .asmx file etc are in place. I am getting http 404 when I give the url...more >>

Speed up the first call
Posted by markoZ at 10/28/2005 9:16:04 AM
Hi. We have developed a .NET web service. The service executes a SQL on the SQL server. The first call of the webservice takes very long but the other calls dont. Why is that and how can we speed that up? Regards, Marko...more >>

caching too much
Posted by A at 10/27/2005 5:04:40 PM
Hello I have a caching problem : my WebService is using a DB. I'm doing changes in the DB and they are not reflected in the result of the Web method. After like 30min, restarting IIS many times .... without touching the code, the changes appear in the result of the Web method. I try to a...more >>

Using REF for parmater in web service
Posted by Tim Reynolds at 10/27/2005 10:52:15 AM
Team, We need some guidance here. We are developing a web service to expose to external system. We are not sure which is the best path to take. We have multiple input fields required and a few output fields. We are thinking to either 1) Make all input fields one class and have one paramet...more >>

Validate messages
Posted by Mike Logan at 10/27/2005 4:25:07 AM
How do I validate messages? If my schema has a simpleType with facets like "minExclusive" and "maxLength" will the .Net framework validate the message before running the web service? This is what one of my server stubs look like. <System.Web.Services.WebMethodAttribute(), _ Syste...more >>



About WinHttpCertCfg
Posted by Peter at 10/26/2005 9:22:01 PM
Hi: Is there a similar tool to WinHttpCertCfg for win2k? Any clue will be appreciated. Peter...more >>

System.Net.WebException: The underlying connection was closed:
Posted by Tim Reynolds at 10/26/2005 5:46:02 PM
Team, From a windows service, we consume a web service on another server and occasionally receive System.Net.WebException: The underlying connection was closed:. For some clients we call, we do not see this as we ran into this previoulsy, made a posting, and received some suggested code to r...more >>

Best place to use AND how to validate a Version
Posted by Mike Logan at 10/26/2005 11:27:02 AM
I am using the "contract first" design methodology. Contract First is design the WSDL first then design the server and client. However I must design my XSD/XML Schema before anything. I am developing my schema now. I have a version on my schema. However once I start the server side cod...more >>

hexadecimal value 0x00, is an invalid character error
Posted by jasn at 10/26/2005 6:06:04 AM
Hello I am getting the following error message when I try and send an XML sting to a web service, I read somewhere that most web services prefer ascii and some throw errors when using unicode so I have changed the encoding but still cant get rid of the error. System.Xml.XmlException: '',...more >>

WSDL.exe vs. "Add Web Reference"
Posted by Mike Logan at 10/25/2005 11:38:14 AM
I used WSDL.exe to generate a client side web proxy for a web service, called the web service, got the results but an array returned by the web service is not in the results. However if I use "Add Web Reference" for the same service the same function works appropriately. Here is the clie...more >>

WSDL.exe doesn't generate array of complex objects from WSDL & XSD
Posted by Mike Logan at 10/25/2005 9:47:11 AM
I have a schema that defines my messages and objects. I then have a WSDL that defines the web services. I have my sample XSD, sample WSDL, and the code generated from WSDL.exe. In the generated code from WSDL.exe, the "applicationList" object is not a array or "application", which is what i...more >>

Any Free WSDL Editor?
Posted by Muthukumar G. at 10/25/2005 9:43:03 AM
Hi Friends, Could you please help me to find some free WSDL Editors? Which one should I follow, WSDL Editors or ASP.net WebServices for creating efficient webservices..? Thanks in advance. ...more >>

Null object from valid response - Namespace issue?
Posted by Pathogenix NO[at]SPAM gmail.com at 10/25/2005 2:10:56 AM
Greetings, I'm trying to fix a web service client which has been implemented in a dailywtf worthy manner. I've decided to rip all the old code out and start again from the proxy generated by wsdl.exe. I've immediately run up against the same problem that spawned the original, deeply fascina...more >>

Calling remoting object from webservice?
Posted by Sascha Schmidt at 10/24/2005 9:38:21 PM
Hello! I would like to call a remoting object ( likely as a server activated singleton) from an IIS hosted webservice. Is this generally possible? Or is there a fundamental problem? I searched in the internet for a while, but didn't found code examples yet. Any links / source fragments ...more >>

Webservices and security
Posted by UJ at 10/24/2005 2:17:25 PM
I've got a network engineer who is absolutely anal about network security. He is questioning how secure web services are and I can't answer him with definitive answers. Do web services run over port 80? How about port 443? Are they secure? He's also paranoid about loginning in - is there a primer...more >>

WSDL Generated Proxy Classes Generating Strange SOAP Envelope
Posted by Ben Crinion at 10/24/2005 2:16:18 PM
I dont think my generated classes are creating a correctly formatted soap envelope I have entered the WSDL into the WebServices Studio app (app is from here http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=65a1d4ea-0f7a-41bd-8494-e916ebc4159c) and used the Studio to in...more >>

Webservice timeout
Posted by WOW.Boomer NO[at]SPAM gmail.com at 10/24/2005 1:59:25 PM
I've exposed a Data Access Layer with a web service using C#. When I run the project and click "invoke" the webservice times out in exactly 30 seconds. Where do I go to extend this time? I'd like to fully test this Webservice before I start coding the consumers for it. thanks! ...more >>

Web method case sensitive issue
Posted by maflatoun NO[at]SPAM gmail.com at 10/24/2005 9:43:48 AM
Hi, I have recently noticed that some of my web services when used/tested directly by calling the ..asmx page return the following result Invalid method name 'logusagereport', method names are case sensitive. The method name 'LogUsageReport' with the same name but different casing was...more >>

Testing a WebService
Posted by Chinedu at 10/24/2005 9:29:04 AM
Please help guys, I wondering if there is a way to test a web service for availability. i.e a simple test to see if the webservice is up and running or available before I make the actual method call on the webservice...something like a ping in networking -- Faith as small as a musta...more >>

Problems with WSDL and Consuming SOAP::Lite Server
Posted by Ben Crinion at 10/24/2005 9:02:27 AM
Hi im having a few problems consuming a SOAP::Lite web service. I think the problem is actually with the WSDL but im not sure. I have a SOAP::Lite client which works ok using the WSDL (which i = defined by hand). The .NET client on the other hand does not work at all and i get this = erro...more >>

Multithreading and Async Web Service processing
Posted by Simon Hart at 10/24/2005 2:40:04 AM
Hi, I thought I'd just open a thread in an attempt to get peoples feelers with regards to multithreading vs Async Web Service processing. Of course Web Services makes it easy to do Async method calling, but what if you are already in a worker thread in a Windows Forms application when doin...more >>

Webservice
Posted by bi at 10/24/2005 1:38:01 AM
Hi I am trying to convince my manager to buy a seperate server for webservices, however I am having real trouble convincing him of the business benefits. My arguments are based on the following a) seperate logical layer b) reduce proccessing on the current webserver c) allows for a mor...more >>

Unable to connect to remote server
Posted by Gaurav at 10/24/2005 12:19:02 AM
I am trying to add a webreference to a Web Service. I m connected to internet through Proxy server. I am getting following error. Anybody can help??/ Please. There was an error downloading 'http://www.webservicex.net/sendsmsworld.asmx?WSDL'. The underlying connection was closed: Unable t...more >>

Publish My XML Web Service
Posted by taha at 10/22/2005 12:00:00 AM
Hi All How Can I Publish My XML Web Service To My Site My web site is www.Hageg.com Registered in www.webhost4life.com Any Id Tank you ...more >>

Export Web Service to Interface?
Posted by Lucas Tam at 10/21/2005 5:42:43 PM
Hello, I am in the process of developing a web service - at the moment, it is not ready for development usage. However, the methods are defined. Is there a way to export the definitions to some sort of interface for other developers to use in the meanwhile? (Note I don't have a web serv...more >>

Alter target service url in SoapExtension
Posted by Paul at 10/21/2005 11:35:06 AM
Hello, I am trying to write a client side SoapExtension to change the target web service url based on information from UDDI. Does any one know how to do it? I tried to set the url in the SoapHttpClientProtocol (SOAPClientMessage.Client), but it did not do anything. I know you could c...more >>

Carriage return replaced
Posted by Lance Johnson at 10/20/2005 9:10:55 PM
I've seen some different posts about people having problems with \r\n being replaced with \n. I haven't seen any resolution, so what are my alternatives to not having this replaced? Lance Johnson ...more >>

Customer Entity from Web Service
Posted by Lumina at 10/20/2005 11:14:01 AM
I have a class "product" in a Web Project with the ensamblie. In otherside I Have a Web Service and I want to return an product class object, but when I want to received this object in the Web Application I have an error saying "can't not convert product in product". Someone can help me. ...more >>

xml as a parameter to a web service
Posted by Andy Fish at 10/19/2005 4:42:30 PM
Hi, I would like to send an XML document as a parameter to an asp.net web service. Obviously I could just serialize it and transfer it as a string but that seems a bit of a waste, given that SOAP is XML already. is there any simple way to include my own XML as a parameter to a web ser...more >>

Calling a Web Service hosted on a Web Logic server from a C# SOAP client
Posted by Nate at 10/19/2005 1:30:44 PM
We are attempting to make a request to a web service (we will refer to = it as XXXServices) hosted on a Web Logic server from a C# SOAP client. The = server responds with a 401 Unauthorized error (that appears in plain text), and causes the client to crash. This C# code has been deployed both...more >>

code called from web page or webservice
Posted by C Williams at 10/18/2005 8:21:06 PM
Hi, I have a small piece of code that is used by both a web page and by a web service. I'd like some different behaviour depending on whether it is called by the page or by the service. In the piece of code, I can determine the calling source (page/service) by checking to see if System....more >>

Cannot connect to webservice from another machine
Posted by naveed at 10/18/2005 5:00:11 PM
I have the simple Hello World web service running on my development machine (XP Pro SP2). I'm using VS2005. I'm able to access it from my machine. When I try to access it from another machine (also XP pro SP2), using the URL: "http://nav:24035/WebServ/Service.asmx?op=HelloWorld", I get a "Cann...more >>

SSL Handshake in WebServices
Posted by Rodrigo García at 10/18/2005 1:18:02 AM
Hi, I'm working on an implementation of the TPC-App benchmark, it is very similiar to the TPC-W benchmark (a number of threads emulating businesses calling the web services of the server by https). TPC-APP specifies that a new SSL-Handshake(SSL-Session creation) must be made in each business...more >>

How to check a web service
Posted by Craig HB at 10/17/2005 3:12:03 PM
Before I called a method from a web service, I want to check that the web service is available. Something like : If WebServiceIsOk then.... How can I do this ? Craig...more >>

web service URL - changing at run-time
Posted by bill at 10/17/2005 1:50:18 PM
I understand how to change the URL of a web service at run-time. But, if I am using a web service in a windows application, what is a good way to inform the application of the current location of the web service, without recompiling and redistributing the application? ...more >>

How do I fix this error: "The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to "
Posted by TheBurgerMan at 10/17/2005 9:38:45 AM
Hi all. I am using W2K3, .NET2 on a machine running AD and Exchange. I started getting the message below last week. I googled the error and not much was returned, but I did find this; http://forums.asp.net/918725/ShowPost.aspx I tried both items in the forum and it works for a few hits then...more >>

wrong namespace after server change
Posted by J at 10/17/2005 8:20:14 AM
I changed the server after creating a web service (VB.NET), and the WSDL and SOAP headers for the new site's web test page still are showing the old server's name. What code or are configuration do I need to add/change to fix this problem? Jo...more >>

Send E-Mail from web service
Posted by MIchele at 10/17/2005 5:50:16 AM
Hi, I need to send a mail message from a web service. If i execute the code from Windows Form Application the message is sended correctly but if i execute the same code from a web service an exception is throwed "Could not access 'CDO.Message' object". That's the code: Public Sub Send...more >>

Configuration error in web.config while accessing SOAP webservice
Posted by Kaush at 10/15/2005 5:26:10 PM
Hi all, I am creating a webservice to accept SOAP messages, parse the message and send a SOAP response back to the client accessing my web service using WSE-2 in ASP.NET. I am creating a class which derives from "SoapReceiver" class and do the processing here. To register ...more >>

How can force the generation of classes in my proxy
Posted by gordingin NO[at]SPAM consiliumsoft.com at 10/14/2005 2:11:26 PM
The best way to describe my problem is to show some code.... public class Test { int a; public Test() { } } public class Test1 { int b; public Test1() { } } public class Test2 { int c; public Test2() { } } [WebMethod] public void test(Test objTe...more >>

how do I convert a positional flat file to xsd?
Posted by billb at 10/14/2005 5:46:02 AM
Hi all, I'm using 2005 VB.NET to create a web service that validates an xsd and xml file but need to get the positional flatfile into an xsd format. Has anyone tried this before or know of some links that can help? Thanks, Bill...more >>

Programatically Update WSDL on Consumer Side
Posted by Ben Crinion at 10/14/2005 12:00:00 AM
I am creating a web service which will be available on only one of two servers at a time. Both servers will have exactly the same services running but one will be a backup which just waits doing nothing. They will both have WSDL files on with the only difference being the <soap:address locati...more >>

XML and SOAP WebServices, etc...
Posted by Alexey Stoletny at 10/14/2005 12:00:00 AM
What's the difference between XML Web-services, SOAP Web-Services, etc...? ...more >>

WS Works Locally but not on Web Server
Posted by Grigs at 10/13/2005 10:52:04 AM
Hello, I have a project that contains a WebService that works great when connecting to it on my Localhost. Once we post the files to the test web server, all of the pages that do not touch the webservice work fine. However, the ones that do touch it get the following error: The reques...more >>

Send SOAP XML to Webservice URL
Posted by Lee Franke at 10/13/2005 8:51:45 AM
I already have the SOAP message built as a file on the server. All I want to do is post that XML to the Webservice URL. Also, how would I get the returning SOAP message? thanks, lee ...more >>

Server was unable to process request, please Help !
Posted by yopy at 10/12/2005 9:29:16 PM
i have developed a web service which return dataset on dev machine, when i invoke the web service from the same machine it works fine, but when i deploy the web service to another machine, and invoke the web service from my dev machine, the web service become error, it return "Server was unable ...more >>

using Multiple client certificates
Posted by jason.chen NO[at]SPAM newsgroups.nospam at 10/12/2005 7:10:27 PM
Hi all, HttpWebRequest, and SoapHttpClientProtocol both expose a ClientCertificates property, which can hold multiple client certificates, but on the service side, it can only receive one client certificate, since it derives System.Web.Services.WebService class, and it's Context.Request.Cli...more >>


DevelopmentNow Blog