microsoft.public.dotnet.framework.aspnet.webservices Archive - May 2002
Post a message to this list
Messages
Page: 1234
WebServices/WebConsumers from same server (3 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Is it possible to run a web client/web consumer of a web service when both live at the same host or server on the internet? I have tried it and others too, but the method calls of the service die with http 404 not found error. Checks against the proxy object.URL property at run time shows it is picking up correct path for IP webservice. With the stack showing below, doesn't it seem a SoapHttpClien...
The underlying connection was closed: Unable to connect to the remote server. (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Hi, I am trying to access a webservice from .NET client that I created. I am connected to the internet thru' the WinSock Proxy Client config. But, I am not able to access the webservice I get the foll. error: The underlying connection was closed: Unable to connect to the remote server. I also tried to update my proxy settings in code by using the IWebProxy object as mentioned in the Micorsoft KB Q...
I'm having trouble adding web references. (5 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I finally managed to get a *.disco file to work and it works fine, my problem is that when I use my Primary.Disco file to add web references (it has 2 references in it) only the InventoryService web service becomes available. After adding the reference if I look in the Solution Explorer the UsersService is there as well but in Class View it's not there, which means it's not enabled or something. B...
How to write a SOAP Client which accepts XML file as input and Gives XML file as output (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Hi All, I wrote a XML Web Service in ASP.NET, which supports SOAP methods. Now, I need to write a client which accepts XML file as input and return the output in XML format only. Please help. Thanks in advance, Sachin
getting timeout when using webservice from asp (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
hi ng, i wrote a webservice which can be used directly from visual studio via browser or from a windows application perfectly. but when i try to connect to that service via an asp.net application i simply get "System.Net.WebException: The operation has timed out." after some time. i tried to write annother, more simple service and got the same result. any hints? thanks for your help, heiko
Very slow response from C# web service (3 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I have a query concering the resonse times from SOAP web service running under .NET The scenario is as follows: A SOAP webservice that generates a large XML string and returns it to a client. The string is on the order of 500Kb. The client is a C console application using ATL 7.0's CSoapRootHandler and TClient classes. The problem: As string size's approach 500Kb the response time is around 6500 m...
Using a .NET WebService from a legacy ASP page (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I am attempting to access a .NET WebService from another server with a regular ASP page using the Soap Toolkit. I do have .NET installed on both servers, but I do not have time to upgrade the ASP site to a ASP.NET site so I need to continue to use the Soap Toolkit. If I access the webservice from IE on the consuming machine, the service works fine but I receive the following error when attempting ...
Returning Data (3 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I've got a webservice running and a VB.NET client that accesses data and it works great I can return the number of records in a recordset from my database. How would I return the actual data? For example "SELECT * FROM tblData". How could I stick this in a VB.NET datagrid? I'm a newbie, so be gentle. Zack
SOAP performance through proxy/firewall (3 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Hi all, I've got a big performance problem when I call my Web Service through a firewall from a .NET Windows app. Looking at the performance monitor on the server is showing each request as taking about 350ms. When I call the same Web Method via the default interface from IE the response is just about instantaneous (4 or 5ms). Running the client app behind the firewall works fine with no delay. Is...
file upload (5 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Any ideas on how I can upload files to our web server from a client running as a win form application? Thanks
Q: Web Services & Session variables (6 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Hi all, Using a rich client, I want to call a bunch of web services. The first call would be to Logon() which would verify the user against the datbase and then set a session variable with the user's id / whatever. Then the other webmethods would check to see if the session variable exists and then proceed, or raise an error. I've tried this with the following code without much luck: using System;...
returning datasets (3 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I'm currently designing a suite of web service and looking for input on return types. I'm writing the web services in c#, but I would like for them to be able to be consumed on a variety of different platforms and different languages. My question is what are the pros and cons to returning a dataset as the result of the web services? The dataset is persisted to xml so my guess is that this should b...
Problem transferring 3 MB chuck of data (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I can transfer small files successfully but when I tried to transfer a 3.6 MB file I get an error. The error is System.Web.Services.Protocols.SoapException: There was an exception running the extensions specified in the config file, System.WebHttpException: Maximum request length exceeded. at...... I thought there was no size limit in a SOAP message. What config file is being referred to? What is ...
TemplateColumn (4 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Assuming I have a DataGrid webcontrol that bind a DataTable that has a bool type column, I want the DataGrid display an image if the value of the column is TRUE, otherwise leave it blank. How can I do that? ZhangZQ
Timeout when calling a webservice from c#. The problem is back. (3 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I have posted this once before and thought I had fixed the problem, but it's back and the original solution wasn't it. Somehow I was able to actually get it to go away, for a few hours, but it's back.... The same code works on another system, just not on mine. I have using XP Professional, 512 MB RAM. I have a simple C# app, no thrills and it tries to do this: localhost.Project DB projectDB new lo...
Another 407 Error (4 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Hello everyone, I'm getting the 407 error when trying to use the webrequest behind a proxy server. I took the following code right from MS's how to site just to try to figure this out. The only part that I added was the credentials section. We're not using MS Proxy or ISA, we're using Checkpoint for our proxy and we must pass credentials. I'm sure that I'm missing something easy, so if anyone has ...
WebServices returing datasets? (3 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Hi all, I have the following situtation: 1. A data service which performs functions against a database. 2. A web services which is the middle tier. 3. A web form which calls functions for the web service. Now... A function in my data service returns a dataset. My question is: Should I pass the returned dataset to the web form or should I send an xml string? The intention is to have few code as pos...
Version Interfaces via WSDL (8 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Hello, I recently read an article on versioning your webservice interface. I found it very help as my interfaces will change often : ( but I have a numerous applications (Java based) that will consume these services. One of the things highlighted in the article was creating a new TargetNamespace to define your new interface(a new namespace is also required, if your data inputs changed also). That ...
Web service returns XmlDocument but generated proxy class returns XmlNode? (4 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Why?
xsd files (typed datasets) do not show up when I create a web reference (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
When I create a web reference to a web service I've created, my datasets do not show up in the list of referenced items. I've seen other people have the same problem, but have not seen any solutions yet. Does anyone have an idea what is going on and how to resolve it? Thanks.
Problem using typed datasets as web service parameters (4 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Using Visual Basic .NET, how do you create a web service that uses more than one typed datasets as function parameters? For example, the following function using different typed datasets to recieve and return data. WebMethod() Public Function Test(ByVal Request As RequestData) As ResultsData ... End Function Calling the web service results in the following error: "System.InvalidOperationException:...
Locating a Web Service on IIS (9 replies)
microsoft.public.dotnet.framework.aspnet.webservices
hello, has anyone out there tried to query IIS or any web server for Web Services. i'm creating a rich client and would like to allow the user to type in a url to a web server and have the app return if any, web services that may be hosted there. right now i have to type in the full path either to the wsdl (?wsdl) or .asmx file ( depending whether its rpc, rpc.NET, or doc style.NET). any help or s...
How to cache variables in memory (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
My web service simply returns back a URL in string fomat after running its logic. It will have only 5 different URLs. I do not want to hard code these strings into my application because system administrator may change them anytime. Here is what I thought: a) I can query them from database but opening a connection and running a query which may only result in 5 different strings? There must be a be...
Using XSL for presentation of Web Services (6 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I'm trying to develop a way of accessing a web service from a simple web site hosted on a non ASP (gasp!) web server. My plan is to allow the users of the web site to send a reference to the web service, and receive back information from the web service. For once (!), I've actually got this working. The only problem I have is that the data is returned in XML. This does not look terribly pleasant f...
webservice(.htc) behavior problem. Please Help (6 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I'm using the webservice.htc behavior successfully with IE6. when accessing the same site with IE5.01 the control fails to establish connection with the service (tracing the JavaScript in it with script debugger I can see it gets an exception while parsing the wsdl xml). This happens only in my specific page. Running the same service access from a new clean page, works perfectly in both browser ve...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com