microsoft.public.dotnet.framework.webservices
Up to: Discussion Lists

  • RSS Syndication
  • Post a new message to this list...
    Latest Discussions Archive
    Session("MyName") not working (7 replies, VIP)
    microsoft.public.dotnet.framework.webservices
    Hi, I am trying to store an object in the Session() I have a VB.Net control which is loaded in an asp page and then calls a function in my webservice (also written in VB.Net) The web service function has everything it seems to need the code is at the bottom of the mail The MSDN makes some mention of needing to do something on the client side with regards to cookies but I can't find a decent exampl...
    Web Services Async Method Timeout Help needed... (3 replies)
    microsoft.public.dotnet.framework.webservices
    I have a web service that has a method that takes a fair amount of time to complete. One of my clients is stating that they are getting a timeout back. I am having difficulties getting my Windows XP workstation which is running the web service and a simple VB.NET test client to timeout on the method. I have looked and adjusted the following values with NO effect. web.config httpRuntime executionTi...
    DataSet WSDL (4 replies, VIP)
    microsoft.public.dotnet.framework.webservices
    How does one go about getting the information from an .xsd file into a WSDL document? I have a web service that creates a simple object that IBM Websphere can see and use. Great. However, when I expose a DataSet, Websphere cant use the WSDL document, as it doesnt describe the data elments in the dataset. Im done a lot of readying and looking at posts, and typed datasets sounds like they might be t...
    SOAP Extension Problem (4 replies, VIP)
    microsoft.public.dotnet.framework.webservices
    I was trying, for the first time, to create a (fairly simple) SOAP extension for some of my web services. They were to be called from the WindowsForms host application. Following error message occured: Client found response content type of '', but expected 'text/xml'. Calling this web service from the browser (as recommended) produced little more explanation: Exception Details: System.InvalidOpera...
    Iterating through webservices and methods (3 replies, VIP)
    microsoft.public.dotnet.framework.webservices
    (1) Is there an object that will let me iterate through the available web services and methods on a server? (2) Suppose I have a database that lists serveral web methods. How would I take a text string from a data base and translate it to instantiating a webservice? For example, say my table is ID WebService WebMethod 0 MyWebService SomeMethod Then, in my c# code, how can I say // loop through dat...
    Can a remote object be a WebService as well? (3 replies)
    microsoft.public.dotnet.framework.webservices
    Hi, Can a Remote object be a WebService as well? i want to able to connect to a remote object either using .NET remoting and HTTP\SOAP so I wonder if I can create a singleton(statefull) object hosted in IIS which can be xml web service ,NET remoted object,singleton and support COM transaction management all in the same time The object should served single user Thanks. My orginial post which didnt ...
    XmlDataDocument over WebService in C# (5 replies, VIP)
    microsoft.public.dotnet.framework.webservices
    Hi, On the server I code the following web service: [WebMethod()] [return: XmlElement(typeof(Items[]))] public XmlDataDocument GetTypedXmlDataDocument() { sqlDataAdapter1.Fill(typedDataSet1); XmlDataDocument dataDoc new XmlDataDocument(typedDataSet1); return dataDoc; } Items is a class as follow: private class Items { public int ItemNumber; public string Description; public Decimal Price; } On the...
    How to tell wsdl.exe/VS.NET to put on classes (10 replies, VIP)
    microsoft.public.dotnet.framework.webservices
    Hi, How can one tell wsdl.exe/VS.NET web service proxy generatioon to to put [Serializable] on imported classes? For example, i fin your web service you use a class: [Serializable] class Data { } and in your method you return this data, the automatically generated client side proxy will not have the [Serializable] attribute set. Is there anything that controls this behavior?
    Web service deployment security (2 replies)
    microsoft.public.dotnet.framework.webservices
    hi, aspnet is the default you don't have to do anything for that. regarding ssl http://msdn.microsoft.com/library/default.asp?url /library/en us/secmod/html/secmod30.asp Dominick Baier DevelopMentor http://www.leastprivilege.com nntp://news.microsoft.com/microsoft.public.dotnet.framework.webservices/ OXm9RzamEHA.648@tk2msftngp13.phx.gbl OK, thank you very much. Some questions : is this ASPNET acco...
    Web service deployment security (2 replies)
    microsoft.public.dotnet.framework.webservices
    Hi, the account under which the asp.net worker process is running has to have NTFS rights to the files/directories you are writing under iis5/5.1 this is usually a account called ASPNET under IIS6 you can configure that using app pools (the default is Network Service) IIS authentication configures how the client has to authenticate with IIS to be able to call your webservice there are really not t...
    Returned Dataset Question (3 replies, VIP)
    microsoft.public.dotnet.framework.webservices
    I have created a web service that access a database and retrieves record then returns them as a dataset. I am having a problem coding a client application to use the dataset. Here is the relevent code: Web Service Code: Public Function Query(ByVal computername As String) As DataSet Dim conStr As String "Provider Microsoft.Jet.OLEDB.4.0;Data Source " Server.MapPath("inv.mdb") Dim sqlStr As String s...
    Web Services and Access databases (2 replies, VIP)
    microsoft.public.dotnet.framework.webservices
    Hello, I am trying to create a web service that performs some queries on an Access database. I use the oleDBConnection to connect to the database. I have the connection string created automatically by the DataLink Properties dialog by selecting Microsoft Jet 4.0 OLE DB as Provider and pointing to my database file from the Connection Tab. When I press the Test Connection button it says Test Connect...
    Am I missing something or has MS missed the plot? (2 replies)
    microsoft.public.dotnet.framework.webservices
    Hi, you are right Windows needs the password in plaintext to impersonate a user (having to call LogonUser, which requires a password). Thinking about it it is the only way Windows can do it. So if you want to use the Windows infrastructure that's already there you have to combine option 1 or 3 with option 2. If SSL seems too slow to you buy a SSL processor card (IIS6 supports them) to speed up the...
    Overriding SoapHttpClientProtocol.GetWebResponse (2 replies)
    microsoft.public.dotnet.framework.webservices
    Hi, I'm trying to use http compression for my web service. I've enabled it on the server and I've overridden SoapHttpClientProtocol.GetWebResponse to add the proper http header to the outgoing request. Now I have to override SoapHttpClientProtocol.GetWebResponse so that I can decompress the data on the response stream. Since this method returns a HttpWebResponse, I need to derive my decompressor c...
    Underlying connection was closed (7 replies, VIP)
    microsoft.public.dotnet.framework.webservices
    http://support.microsoft.com/default.aspx?scid kb;en us;819450 Questions: 1) Is this patch (fix) applicable to the .NET 1.1 Framework as well? That is, if we have Framework 1.1 (On Win2K3/IIS6.0), do we still need this patch? 2) Does it specifically solve only this error: The underlying connection was closed. An unexpected error occured on send. and not these (which is what we are seeing): The und...
    Calling a web service with nillable Value Types (8 replies, VIP)
    microsoft.public.dotnet.framework.webservices
    Hi! I'm calling a web service using C# and a wrapper class generated by wsdl tool. The web service specification contains some nillable parameters which types are Value Types in .NET (long, int, Decimal, ....) and I must to send them as null, and not their default value. It is possible? Is there any trick to succeed it? Thanks in advance, Marc.
    Search Like Functionality in DataGrid (2 replies, VIP)
    microsoft.public.dotnet.framework.webservices
    Could you please help me how to implement a Search Like Functionality in DataGrid of ASP.NET? The Search functionality should be something similar to the this spectacular one implemented in the Classical ASP http://www.microsoft.com/mind/1298/ado/ado.asp. The user should be able to reach the particular record (without Filtering) while searching. Remember the DataGird may be Paged or may not be. I'...
    DiscoCodeGenerator unable to initialize code generator (2 replies)
    microsoft.public.dotnet.framework.webservices
    Hi, I have created the "Hello World" web service with one web method on it "HelloWorld" (yes the [WebMethod] tag is there). I have deployed the web service to a Windows 2003 server, then I create a new project in my local pc and try to add a web reference to the "Hello World" web service and I get the warning message: Custom tool warning: DiscoCodeGenerator unable to initialize code generator. No ...
    Web Service Security Access (3 replies, VIP)
    microsoft.public.dotnet.framework.webservices
    I am relatively new to .NET and web programming, but i have a 3 tier application that is calling a Businees tier controller that then references a Data Access Layer web service. When i attempt to call the service from the client app, i receive a security access error to the directory on the Data Access Layer web service. I can only get around this by granting access to all users in the domain to t...
    problem invoking web service (4 replies, VIP)
    microsoft.public.dotnet.framework.webservices
    I am trying to call my webservice. I get the follwoing error. I am able to invoke the webservice directly. But whenever I invoke thru my proxy, it just gives me an error. It is a webservice in C#. Would appriciate some help. [ServiceAgentException: SERVICE AGENT EXCEPTION: System.Web.Services.Protocols.SoapException: Server was unable to process request. System.IO.FileNotFoundException: File or as...
    Basic Authentication ... solution seems a mystery? (2 replies)
    microsoft.public.dotnet.framework.webservices
    sorry that i jump on at the end of the thread but isn't this the same as setting the credentials on the proxy ? like proxy.Credentials new NetCredentials("user", "pass") ? Dominick Baier DevelopMentor http://www.leastprivilege.com nntp://news.microsoft.com/microsoft.public.dotnet.framework.webservices/ ED16F739 3572 4F93 A431 188F6CCE23A8@microsoft.com Hi Jared ... bingo ... if one persists long e...
    LDAP Directory Entry Intermittent Error (2 replies, VIP)
    microsoft.public.dotnet.framework.webservices
    I have some code vb.net winforms, that works fine most of the time but stops working occasionally such as right now. The code is this Dim objDE As New DirectoryEntry("LDAP://" & DomainName) Dim objDS As DirectorySearcher New DirectorySearcher(objDE) Dim results As SearchResultCollection Try objDS.Filter "(objectClass user)" 'Find all users results objDS.FindAll() When the FindAll fails I get the e...
    XSD Datatypes (2 replies)
    microsoft.public.dotnet.framework.webservices
    hi, the .net tools are not really suited for that kind of approach, which is called ContractFirst. but it is possible. first you have to generate some .net types from the schema your webservice has to conform to. use the xsd.exe tool included in the sdk with the /classes switch. use the generated classes as input and return types. you can further customize the data that goes on the wire with the X...
    How to change SOAP message before it's validation (2 replies)
    microsoft.public.dotnet.framework.webservices
    Hi, All, I have a very simple webmethod: [WebMethod] public string HelloWorld(int i) { return i.ToString(); } when someone call this service to pass a empty string and I got the nasty error like: System.ArgumentException: Cannot convert Test to System.Int32. Parameter name: type System.FormatException: Input string was not in a correct format. at System.Number.ParseInt32(String s, NumberStyles sty...
    Credentials across multiple web service boundaries (3 replies, VIP)
    microsoft.public.dotnet.framework.webservices
    Hi guys, I wanted to ask some experts here on a problem someone presented to me. Given a client that's calling a web service (using default credentials) the web service gets invoked fine with the users credentials. However they need to call a second web service from the first one. When it hits the second web service, the web service (even though configured correctly) always reports as IUSR (or som...
    Max Parameter Length (3 replies, VIP)
    microsoft.public.dotnet.framework.webservices
    Hi all, I am trying to upload roughly 20 30k of binary data up to my webservice. At first, I just took my byte array and encoded it as a base64 string and passed it into my webservice. However, sometimes the data gets truncated (I'm not sure what the exact length where truncation occurs is, but from the looks of it, it happens at about the same length). I then tried just using byte[] to pass the d...
    consuming a webservice form another webservice (3 replies, VIP)
    microsoft.public.dotnet.framework.webservices
    Hi all, The problem is as follows: I need to authorize a user: through a WS; if a setting is on, the webservice will look in the local "database", if the setting is off it will connect to the server ip that is set in the configuration and call the same WS to check the user in the remote "database". So far I don't know if I can call a webservice method from a webservice method... Is there a such wa...
    Error when trying to create wev service using VS .NET (2 replies, VIP)
    microsoft.public.dotnet.framework.webservices
    Hi ! When I try to create a new Web Service using Visual Studio I get an error. When I select a ASP .NET Web Service and click OK I get an error message stating that the specified web server is not running ASP .NET version 1.1 and that I am not able to run ASP .NET Web Applications or Services. I installed the .Net framework 1.1 redistributable but I still get this error. Anyone that have any idea...
    Create Webservice in VB.net (2 replies, VIP)
    microsoft.public.dotnet.framework.webservices
    Hi all. Can anyone tell me how to write a webservice?? It's only function is to return a random number.. And how I call it from a site??
    An architectural question (3 replies)
    microsoft.public.dotnet.framework.webservices
    I have a web service which accepts some data and stores that data in the database. My question is should this web service talk directly to the data access layer (DAL), which populates the database or should there be an extra layer between web service and the DAL? If there should be an extra layer then what is that layer? Also, if you have any link to sites that cover these type of issues I would a...
    Process Running under Wrong Credentials (2 replies)
    microsoft.public.dotnet.framework.webservices
    I have a web service that launches Winword. (I know that MS does not recommend this, but I think I've worked around most of the potential problems.) Anyhow, my problem is this: when word tries to print, I get an error that there are no printers installed. I've set up DCOMCNFG to run Word under a ficticious account (OfficeAutoAcct) which DOES have printers installed. But when I watch the task manag...
    deploy web service (2 replies, VIP)
    microsoft.public.dotnet.framework.webservices
    I'm creating a web service locally and i need to deploy it to 3 web servers. What is the best way to deploy this web service? Is it possible to put the web service URL in the web.config file of the project like a DB connection string?
    The type or namespace name 'SoAndSo'... (2 replies, VIP)
    microsoft.public.dotnet.framework.webservices
    Greetings, I have a solution (C#) with one EXE and several DLLs. I added a Web Reference to the EXE (let's call it MyClient.exe) and it works fine. I made the "URL Behavior" dynamic so I can configure it at runtime. Then I added another Web Reference to this DLL (let's call it MyDLL.dll). Then I added code to use the newly added web reference. Now the MyDLL project doesn't compile because Visual S...
    problem sending string in xml to webservice (2 replies)
    microsoft.public.dotnet.framework.webservices
    I'd like to send invoice information from client program to web service and then transfer it to xml file there. The best way to do this could be writing all the information in xml format but to send it as a string. But then how can I create an xml file out of this string easily? xmlreader reads only files. Any ideas how to handle this kind of problems? Migi
    Returning objects from Web Service (2 replies, VIP)
    microsoft.public.dotnet.framework.webservices
    Hello All, I have been working on Reporting using ADOMD.Net. I decided to use web services to return the Cell Set and the Cube Definition objects from my web service. Unfortunately, it is turning out that both CellSet and the CubeDef classes are non serializable (Sealed classes) and hence cannot be returned. What do I do to overcome this situation? I tried to create a wrapper class that has these ...
    Could not establish secure channel for SSL/TLS (2 replies, VIP)
    microsoft.public.dotnet.framework.webservices
    Hi everyone. While accessing a SSL secured webservice(https), I am getting the following error: The underlying connection was closed: Could not establish secure channel for SSL/TLS Now, the scenario is that I do not get tthis error always. The response from the secure webservice is perfect for around 80 85% requests. But sometimes I intermittently get the above error (around 15% or so). There is n...
    Deploying a web service (2 replies, VIP)
    microsoft.public.dotnet.framework.webservices
    I want to develop a web service on our development server and then deploy it to the production server when it is finished. (The production server does not have Visual Studio installed) Is this possible ? Can i deploy from Visual Studio ? Besides copying the files, is there anything else I need to do ? Thanks, Craig
    WSDL Import (2 replies, VIP)
    microsoft.public.dotnet.framework.webservices
    I have been creating a webservice using the funtionality in vs.net to do so (in other words, I havent programmically created any xml). I have a need to modify the WSDL: specifically, I want to add an IMPORT statement with the NAMESPACE and the schemaLocation tags. Can someone point me to a resource explaining how to do so? I dont see this mentioned in the online docs. There are the various classes...
    COMException in ServerXMLHTTP40 (2 replies, VIP)
    microsoft.public.dotnet.framework.webservices
    Hi, I've been trying to post some XML using the above the component but keep getting the following Exception: System.Runtime.InteropServices.COMException (0xC00CE56D) The code is: postSystem New MSXML2.ServerXMLHTTP40 xmlString FetchXMLClientDetails(clientDetails) xmlDocument.loadXML(xmlString) postSystem.open("POST", "https://someSite/blahblah.cfm", False) postSystem.setRequestHeader("Content Typ...
    The type or namespace does not exist (2 replies, VIP)
    microsoft.public.dotnet.framework.webservices
    Greetings, I have a solution (C#) with one EXE and several DLLs. I added a Web Reference to the EXE (let's call it MyClient.exe) and it works fine. I made the "URL Behavior" dynamic so I can configure it at runtime. Then I added another Web Reference to this DLL (let's call it MyDLL.dll). Then I added code to use the newly added web reference. Now the MyDLL project doesn't compile because Visual S...
    SOAP: When to choose doc / lit or rpc (3 replies, VIP)
    microsoft.public.dotnet.framework.webservices
    Hi All, Can anybody tell me why you would choose one soap format over another? or are the choices based on what you are interoperating with or message size constraints. many thanks DT
    Proper approach? (2 replies, VIP)
    microsoft.public.dotnet.framework.webservices
    Please, advise me. What is the better common approach to work with web services: 1. to have class library on client and server and use serialization (remoting alike) or 2. use autogenerated proxy without power of the original objects or any better way exists?
    WebService on Linux platform (3 replies, VIP)
    microsoft.public.dotnet.framework.webservices
    Hi, is it possible to run a .net web service on a linux platform? If so, how? Thanks a lot Peter
    PRB 323577 Delay on First Method Invocation on Web Services...fixe (2 replies, VIP)
    microsoft.public.dotnet.framework.webservices
    Hi, The first method invocation on my web service is slow. I found the knowledge base article http://support.microsoft.com/default.aspx?scid kb;en us;323577. Using Ngen.exe didn't speed things up. Anyone know if there is a fix or workaround for this? Perhaps something that can be tuned in .NET or IIS?
    WSDL problem for a SOAP web service (3 replies, VIP)
    microsoft.public.dotnet.framework.webservices
    Hi NG, I've got this annoying problem: On the server's side there's an Apache w/ PHP running. I wrote a kind of "bare bones" SOAP implementation, though meeting the SOAP specs. Afaics this part isn't causing the problem. To be able to use wsdl.exe, I've tried to describe my web service wie a WSDL file. I will post this file as soon as an expert is willing to care for my troubles and asks me to do ...
    Webserver Behaviour (2 replies, VIP)
    microsoft.public.dotnet.framework.webservices
    hello all i'm just wondering if somebody has experienced the usage of the "Webserver Behaviour" which enables client side script to invoke remote methods exposed by Web Services. http://msdn.microsoft.com/library/default.asp?url /workshop/author/webservice/webservice node entry.asp any tips, hints, etc? tia sandro
    Web Service and VB6 COM Object using ADO 2.6 (3 replies)
    microsoft.public.dotnet.framework.webservices
    I have a VB 6 COM object that uses ADO 2.6 to connect to a database. I have a Web Service that references this COM object and calls a method in this objects that uses ADO 2.6 to connect. The Web Service gives the error "connected[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied." I am using Windows Integrated Security. The connection string looks like this: "Provide...
    Newbie to webservices (2 replies)
    microsoft.public.dotnet.framework.webservices
    I've made a simple webservice but when I try to acces it I get a 401 error. What changes I have to make ? I've grant full acces to everyone.
    How to install a websevice? (2 replies, VIP)
    microsoft.public.dotnet.framework.webservices
    Hi, I ve developed a webservice, but now, how can install it in other computer? thanks
    Web Service Client Connectivity (2 replies, VIP)
    microsoft.public.dotnet.framework.webservices
    I have a situation, I was wondering if someone could help me. We have a .net web service, it runs several transactions in sql server 2000. We have several clients which connect to this web service in order to run their transactions. If the client losses connectivity during the transaction, our web service transaction completes, but these believe they have a failure. Is there anyway to check the cl...
    Visit the archive for messages from this site.
  • February 2002 (4 items)
  • July 2003 (41 items)
  • January 2004 (310 items)
  • February 2004 (127 items)
  • March 2004 (78 items)
  • April 2004 (141 items)
  • May 2004 (88 items)
  • June 2004 (89 items)
  • July 2004 (45 items)
  • August 2004 (173 items)
  • September 2004 (50 items)
    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