| Implementing Overload in a WebMethod (2 replies, VIP) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Is it possible to use "Overloads" in webmethods? I've tryied to do this but i've received some message erros. Thands'n regards FabrÃcio Costa Brazil |
|
| Asynchronous communication with a web browser from ASP.NET (2 replies, VIP) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hello from a .NET newbie. I'm working on a project where I must overcome the nature of the request response protocol in HTTP. In my case, the browser will send one request and the backend application server will return multiple responses. These arrive asychronously and may take 1 second to several hours. How can I "push" the responses back to the browser using ASP.NET? I already know about Flash M... |
|
| Opinions? XML vs. DataSets in WebServices (5 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| What is the prevailing mood regarding returning datasets from WebServices? Returning XML (less the schema) requires much less bandwidth. However, you have to apply the schema on the client. Passing datasets back and forth is much more straightforward. How is everyone approaching this? |
|
| Msg "Could not create type ...." (2 replies, VIP) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Any idea why the simple standard Web Service with just the Hello World method exposed should not work under IIS 5 using both C# and VB.NET? I keep getting "Could Not Create Type myservicename " All seems to be fine, but of course I can't be sure as I can't get anything to work ; ) Mark PS Do I need to install anything extra on IIS to get a Crystal Report to run? Many thanks |
|
| Need help with web services accessing serviced components (3 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hello All, I have a web service which access a serviced component for processing requests like getting data from database. The serviced component are in a separate assembly. My web service only returns datasets. When I access any serviced component inherited classes, I get SerializationException. It expects any public classes internal to the service component assembly to be serializable. Is this a... |
|
| Custom wsdlHelpGenerator Causing Random Error (3 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I am trying to make my WebService's ASMX page output fit into the rest of my framework. I have copied the DefaultWsdlHelpGenerator.aspx from the C:\WINNT\Microsoft.NET\Framework\v1.0.3705\CONFIG directory and renamed it WebService.aspx. I have made a few very simple modifications to it, being careful to NOT change any of the code, only the presentation styles. I then created the following Web.conf... |
|
| Sample: Encrypt SOAP Message Parameters using Custom Attributes and Headers (4 replies, VIP) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| A new sample application has been posted to the XML for ASP.NET Developers (http://www.XMLforASP.NET). Here's more information about it: Encrypt SOAP Message Parameters using Custom Attributes and Headers Web Services provide an excellent way to talk between distributed systems. However, the data within the SOAP messages sent between systems may need to be encrypted when it contains sensitive info... |
|
| XML and SOAP RPC (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hello I'm looking to have a .NET WebService return an XML Document using a SOAP RPC method. Is this even possible? I'm under the impression that ColdFusion MX uses RPC methods when calling WebServices, so I've added the SoapRpcMethod attribute to my function and this worked fine when I returned the XML as a string. My goal is to have one WebService that's callable by many platforms including tradi... |
|
| Proxy generation complaint (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I've got a problem with the proxy class generation for a web method. In a nutshell, the proxy will take the first 'out' parameter and make it the function's return value. I guess that's okay but it makes documentation more difficult. Here is the web method declare: [WebMethod] public void MethOne(int x, string aStr, out int valOne, out int valTwo) { valOne x; valTwo x; } The WSDL shows the return ... |
|
| How to do an Asynchronous Call (4 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hi Can someone direct me to examples of calling a web service method asynchronously? Thanks Matt |
|
| Controlling DataSet's XML encoding (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I am currently trying to take advantage of the DataSet's automated XML encoding to return some XML to my client from a C# web service. There are two issues that I'm having trouble with. 1) I would prefer not to include the schema in the XML output 2) I want the tags for the null fields to be included (i.e. " field1/ "). I am currently using: [WebMethod] public DataSet getUserData(string[] UserIDs)... |
|
| tempuri.org (3 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| On the Distributed app, when online, I can highlight the 23 Authors via page /... Win Client/Form.../, but I'm not able to edit them at debug stage and it shows. import namespace "http://king ian/authors1.xsd" location "http://king ian/AuthorsWebService/AuthorsService.asmx? Schema authors1"/ NB. Names underscroe for web server hyphen for hardware server. autjors1 xmlns "http://king ian/authors1.xs... |
|
| Serializing Image object on PPC for Web Services (3 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I'm writing a program for the PocketPC that I need to pass an Image object to a Web Service. However, the Image object does not have a default constructor and thus always raises an exception relating to serializing the object at runtime on the Web Service. I've been looking high and low for a way to serialize this Image object on the Pocket PC (although, this has to be a big issue for just about a... |
|
| Returning an XmlSchema from a web method (3 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hi I'm new to web services and tryng to develop one dealing with XmlSchemas I have one web method returning an Object of XmlSchema class when I refer in any test web application(webApp)to this method eg XmlSchema schema Myreference.MyMethod() I receive the following error: Cannot implicitly convert from webApp.Myreference.XmlSchema into System.Xml.Schema.XmlSchema I,ve tried the lot with it if any... |
|
| WebServices queue processes? (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hi. I am developing a webservice to manage the database access. During testing I realice that when a client calls a webMethod and another client calls a webmethod too, the second client is queued until the first ends. I believed that the ws process both clients simultaneasly. If i have a lot of client calling this ws, it will be very slow. Is there anything to configure to change this behavior? I ... |
|
| SSL not working with Web Service (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I have a web service that uses a trusted certificate (128 bit). It works well with a Windows Client or accessing it directly with the browser (from my desktop and Pocket IE). But when using a CF app it gives a WebException error with a status of ProtocolError. The Message property is just "WebException". I am perplexed. I have the high encryption pack on the iPaq (Pocket PC 2002), is there anythin... |
|
| Printing from a Web Service (3 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I have to generate printer output to a Windows network printer from a WebMethod in a WebService. I have tried a few things with the PrintDocument object. It works fine in a free standing C# app, but when I put it into a Web Service it no longer works: public void PrintSomething() { PrintDocument pd new PrintDocument(); pd.PrinterSettings.PrinterName @"\\Webprd\HPLaserJ"; pd.PrintPage new PrintPage... |
|
| Caching Data using System.Web.HttpRuntime (4 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Based on some other postings, I've stumbled across a (seemingly) cool feature that seems too good to be true. This is a bit contrived to illustrate my point, but let's say I've got a simple project, an .exe project to be specific. In my form, I have a function that populates and returns a rather large dataset. From that dataset, I filter the view based on user defined parameters. Each time I call ... |
|
| Nested transactions in WebServices (4 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hi Is it possible to start a nested transaction in a WebService with the WebMethod(TransactionOption: TransactionOption.Required) attribute set? For example: A web service call takes some data that, when validated, is not correctly formatted. The normal situation would be to throw an exception to abort the transaction and tell the caller that something is wrong. But I have to log the faulty data a... |
|
| serious problem with service and com object (4 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| hello guys, im running to a little bit of trouble writing this client application to access the web service. it seems that with every function call, a new instance of the com object is created. this is bad because this would mean that the deal and bond would have to be set on each function call inside the webservice (not sure how much overhead there is to this). the weird thing is that in the asp.... |
|
| Return custom class from XML Service? (9 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hey guys, I've written a second class in my xml service because i would like my clients to be able to access it. However, it seems that clients can only access functions and sub routines, is this true? When I try to write a function to return my class, ASP.NET spits out an error. From the client side, i'd like to do this: Dim x as service1 Dim ret as x.myClass new x.myClass(arguments) msgbox ret.p... |
|
| Maintaining sessions - A newbie question (3 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| How do I maintain a Web Service session for a Windows Form Client? Please help. Prakash |
|
| Using the Console in a WebService (6 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hi, I would like to write messages in the Console when my WebMethode is called by a client. But Console.WriteLine ( "my log"); is not working. Can some one help me? Thanks |
|
| Credit Cards (3 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| This is not strictly speaking a webservices question but I can't see another topic it matches closer, so: If I use a USA based WebService to complete a Credit/Debit Card transaction for something sold in the UK, bought by someone in the UK and where the funds will go into a UK account, will there be a load of charges associated with exchange rates etc...? I ask because finding a UK based Credit Ca... |
|
| How do I... (3 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hi, How do I load a file from the directory where a web service is installed, I want to load data from an xml file into the application object at start up of the web service but do not want to hardcode the path to file, If you use 'Directory.GetCurrentDirectory' API this returns the 'system32' directory as I expected. Cheers Ollie |
|