| Exporting SerializationInfo (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Given... [Serializable] class A : ISerializable { public A(SerializationInfo si,StreamingContext ctx) { } } I want to be able to export this class via web services. When I run WSDL on the server assembly to gnenerate the client proxy I get an error "System.Runtime.Serialization.SerializationInfo cannot be serialized because it does not have a default public constructor". Is there a workaround? |
|
| SOAP Scanner? (5 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hi there, A little while ago, a friend of mine showed me a Java app which allowed me to check the SOAP requests and responses being sent between client and server. Essentially, it masqueraded as the web server and passed the message on nce it had been displayed. I was wondering if there is a similar tool available for the same purposes on .NET or COM. i.e. I don't want to install Java fr a simple ... |
|
| Inserting checkboxes in listbox control (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| hi all i want to insert the checkbox cotrol in listbox control i nee programetically or dynamically pls help me regards venu karunakarraop@i vantage.com |
|
| Any news/fixes re: The underlying connection was closed: An unexpected error occurred on a send? (3 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hello, There were some great postings on this about a month ago, and I'm curious if this problem was resolved. Specifically, "The underlying connection was closed: an unexpected error occurred on a send" problem consuming a web service. Putting the webservice in a try/catch block seems like a good work around, but am curious if the root problem was ever identified or solved? Thanks for your help! ... |
|
| WebService and ADO.NET = hate? (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Greetings, I have a webservice that uses ADO.NET to access a database. The Web Process it runs in gets reset every other time the webservice gets called. The way this is caught is by implementing a handler for Application.OnEnd event. This application restart is unacceptable because (a) Restart takes time and (b) Application state is lost. Here's the code that causes trouble: [WebService] public c... |
|
| Web Services (4 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I keep running into the following error: ********************************************************* Parser Error Message: Could not create type 'Chapter1.FirstService'. Source Error: Line 1: %@ WebService Language "vb" Codebehind "FirstService.asmx.vb" Class "Chapter1.FirstService" % Version Information: Microsoft .NET Framework Version:1.0.3705.0; ASP.NET Version:1.0.3705.0 ***********************... |
|
| Returning Arrays from webservice (4 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I have the following scenario that doesn't seem to work. I have a webservice with a class called "clsOrders" In that class, I have a method public clsOrders[] GetOrders() { clsOrders[] arrOrders new clsOrders[1]; arrOrders[0].ordername "XXX"; return arrOrders; } In a webmethod, I have: [WebMethod] public string Test() { clsOrders iclsOrders new clsOrders(); clsOrders[] arrOrders new clsOrders[1]; ... |
|
| HELP - no argument constructor (3 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Can someone explain in 20 words of plain English why any objects that need to be serialized through Web Service (SOAP) need to have "no argument constructors"? Thank you very much. |
|
| Adding web reference - Cant Download .asmx, .asmx?wsdl file (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hi, I was wondering if you could help me. When I add a web reference though my firewall mapped to my development machine, VS.NET tells me it's unable to download the following file. http://www.myserver.com:90/myService/Service.asmx , http://www.myserver.com:90/myService/Service.asmx?wsdl However the service appears in the left hand pane of the Add Web Reference dialog when I enter my Web Service U... |
|
| Can't create web service client - please help! (2 replies, VIP) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hi all, I have just started to develop web services with ASP.NET and have come across the following problem. Any help would be much appreciated... I have created a web service called Service1, with one method, HelloWorld(): using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Web; using System.Web.Services; namespace WebServ... |
|
| How do I prevent saving of time-zone information during serialization... (5 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I notice that when I serialize an instance of a class that contains a dataset which contains a datetime column, the time zone information on the system on which I perform the serialization is saved along with the datetime value (please see the attached file). The datetime value in the attached file is '9/10/2002 10:06:46 AM' but also notice the ' 07:00' close to this value, which indicates 7 hours... |
|
| Converting and data Structure TO xml Structure (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| You know how to do that? I have an structure like this. Private Structure myStruc Public Name as string Public LastName as string Public Age as Integer End Structure Dim UserInfo as myStruc UserInfo.Name "John" UserInfo.LastName "Johnson" UserInfo.Age 20 Now I want to convert this structure (UserInfo) to xml Somebody know how to do that. (like the webservice) Thanks a lot AA |
|
| ASP.NET or ASP (5 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Is it a good idea to use ASP.NET or ASP at the moment? Which one is more compatible with browser at the moment? |
|
| screen scraping (4 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I'm sure, that I read an article somewhere about screen scraping an ordinary html page and then providing some items of the page as a webservice. But I can't find this article anymore; no idea weather it was in one of my books, a magazine, MOC materials or somewhere on the web. I think the article was about the support of Visual Studio .NET at defining areas with content of the scraped page and bu... |
|
| Tranform function response (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I have webservice's function that returns the response as a custom object serialized as XML... Is there anyway I can attach an xsl to the returned repsone so that it can get rendered into something useful rather than a bunch of xml tags? The standard rendering that is applied is the IE's standard stylesheet which will make my response look something like this: ?xml version "1.0" encoding "utf 8" ?... |
|
| Question on generating web service proxy by wsdl.exe (3 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hi, I want to generate a web service proxy using wsdl.exe utility. But there generates some error says failing, the out output is as following: **************************************************************************** ****** D:\web wsdl /language:cs http://localhost/pmcalc/pmcalc.asmx?wsdl Microsoft (R) Web Services Description Language Utility [Microsoft (R) .NET Framework, Version 1.0.2914.16... |
|
| System.IO and WebService = Security problem ? (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hello, I created a log class which write exceptions in a log file. It works well with my asp.net application. When i use this class in my web Services, log files are not created or modified. No exceptions are generated and i thank it was a security problem of my log directory. So, i allow everybody to read/write on it but the problem is still here. Is there any peculiarity to use IO with webservic... |
|
| Xml Soap Exceptions - Get Internal 500 Error (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hey all, I am having a problem getting soap error message to be handled without recieveing an internal server error (the plan, basic, no explanation message) when I throw an SoapException inside a WebService Method. I have tried the code on two seperate servers, and get the same results. According to the help file contained in Visual Studio .NET Library, this should work but does not. All I did wa... |
|
| ASP.NET consuming .net web service secured through Basic Authentication (4 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hi, I have a asp.net web page that consumes a .net web service which uses Basic Authentication. I noticed that when the asp.net page's first call to the web service, it did not provide the credentials and will receive a HTTP 401. It will then automatically make another call and this time providing the credentials and things will be fine without anyone noticing any "problems". I was wondering if th... |
|
| Basic problem when invoking WebService via Internet Explorer (5 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hello! I'm trying to Invoke my WebService using MS Internet Explorer. It works perfectly OK on the development machine. I've made a setup project and installed it on another machine. When I try it here and I've filled out the parameter and press the Invoke button, I get the following text: Begin of text System.IO.FileNotFoundException: File or assembly name 81ol747b.dll, or one of its dependencies... |
|
| System.InvalidOperationException: Unable to generate a temporary class (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I have installed VS .NET RC1 on Windows XP prof. And i created a simple web service of "Helloworld", the code for which is already present when u create a new project for web service and, ran it from the browser. And Clicked on the invoke button and i get the following. System.InvalidOperationException: Unable to generate a temporary class (result 1). error CS2001: Source file 'C:\WINDOWS\TEMP\ ez... |
|
| How to return exception from Web Service? (3 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I had been under the impression that the exception class is serializable and would marshal transparently through all sort of remoting mechanisms including Web Services. However, take a look at the (admittedly primitive) error trapping in the following method. This results in an HTTP 500 Internal server error. Is this the expected behavior when throwing an exception in the WebMethod? Is there a dif... |
|
| ExecuteNonQuery on Access DB Error (3 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hello All, I am very new to the ASP.NET and web development world. I have one simple and easy question, that has been some trouble for a few days now. I am creating a webservice with user input that would be stored in a Access DB. string myInsertCommand //Insert Command. OleDbConnection myConnection new OleDbConnection("Provider Microsoft.Jet.OLEDB.4.0; Data Source minnoch.mdb"); OleDbCommand myCo... |
|
| stream file to WebService? (5 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| How can a file be sent as a parameter to a WebService? Web Services don't accept FileStream objects since they don't serialize. I'm guessing that there is a way to send binary data through Web Services? Thanks. j |
|
| build aspx client to remote web service (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hi all, does anyone can help me understanding why I've build (apparently succesfully, I added previously the Web reference to the service) a simple client to a public Web service, but when I execute it I get no answer by the remote service ? I'm developing a Web Form Client (aspx page) within "Visual Studio ..NET" Tool (C# language). (same behaviour building a Windows Client application) could it ... |
|