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

  • RSS Syndication
  • Post a new message to this list...
    Latest Discussions Archive
    renaming webservice-class ? (7 replies)
    microsoft.public.dotnet.framework.aspnet.webservices
    Hi, I use my Webservice in IE : http://localhost/CalcWS/CalcService.asmx That works well. Then, in visual Studio.NET : I rename the name of the WebService class from the default name 'Service1' to 'CCalc' , rebuild the project, but, using it again in IE : http://localhost/CalcWS/CalcService.asmx results in a parser error. " Could not create type 'CalcWS.CCalc'. how come ? how can I still rename th...
    HELP! CreateProcessWithLogonW issue (13 replies, VIP)
    microsoft.public.dotnet.framework.aspnet.webservices
    Hi, I hope someone can help me with this it's driving us all nuts. We have an ASP.Net web application that must run an external executable to accomplish a document merge function. We got this to work on Windows XP using the following code (low level API calls). Before we call the RunIt method, we successfully impersonate with the same Domain/UserID/Password as is passed into the method. As I said,...
    A WebService as a web server? (4 replies, VIP)
    microsoft.public.dotnet.framework.aspnet.webservices
    I have a rich client app that displays HTML from an ASP.NET server. The client needs to send fairly complex information to the server in order for the server to render the page. Encoding the information into the URL (as request values) would make for very long and cumbersome request strings. It seems to me the most elegant and maintainable solution is for the client to send strongly typed data to ...
    SoapIgnore attribute ignored. (3 replies, VIP)
    microsoft.public.dotnet.framework.aspnet.webservices
    I'm passing classes through a web service. There are some properties on the class that I don't need to be serialized and would like to remove them for performance (size) reasons so I've marked them with the System.Xml.Serialization.SoapIgnore attribute. I recompiled and checked what was being sent over the wire. The ignored property is still showing up in the xml serialization! I've attached some ...
    Problems getting Python client (SOAPpy) to consume .NET web services (3 replies)
    microsoft.public.dotnet.framework.aspnet.webservices
    I have begun experimenting with web services, and I created some simple web services in C# and was able to install them with IIS and create an equally simple C# client to consume them. My next experiment was to use Python to consume these same web services, and even though I am able to get Python to consume web services from a variety of sources (Apache SOAP, Glue, AXIS), I cannot get web services...
    Calling a webmethod by a post (5 replies, VIP)
    microsoft.public.dotnet.framework.aspnet.webservices
    Please, i have an webservice created with .NET, and a client want to consume it with a JAVA client. They are using POST, but this way my webservice crash. They are calling this URL: http:\\www.beispielseite.com.br\webservice.asmx\login?param1 xxxx&param2 yyyyyy using this way i get this error message: InvalidOperationException: Request format is unrecognized.] If i use the SOAP everything goes fin...
    WebException while calling Web Service over HTTPS... (17 replies, VIP)
    microsoft.public.dotnet.framework.aspnet.webservices
    I'm having an issue calling a Web Service (This is an 3rd party Web Service and I have no control/access to it) via HTTPS. We have talked to the developers and they said their Web Services are working from their end. When I call their Web Service, though, I keep getting this error: Web Exception occurred! Status:SecureChannelFailure Entire Error Information:System.Net.WebException: The underlying ...
    System.Net.WebException Request Entity Too Large (not running IIS) (5 replies, VIP)
    microsoft.public.dotnet.framework.aspnet.webservices
    When my .NET program makes a Web Service call I get this response... System.Net.WebException: The request failed with HTTP status 413: Request Entity Too Large 1. The server the Web Service is running on is *not* MS IIS 2. The problem does *not* occur if my .NET program and non IIS server are running on the same machine. 3. Using a TCP monitoring tool I have confirmed that the exception occurs *be...
    Ampersands in the result, xmldatadocument (5 replies, VIP)
    microsoft.public.dotnet.framework.aspnet.webservices
    I am returning an XMLDataDocument in my service since my client cannot consume the dataset. The resulting XML does not replace ampersand characters in the string values with & for example field David & David /field The clients parser chokes on that. Is there something I can do with the XMLDataDocument to replace such characters? David Bartosik MS MVP www.publishermvps.com
    Form field error messages (4 replies)
    microsoft.public.dotnet.framework.aspnet.webservices
    I know that dotnet allows for form field validation. However I'm looking to customize the error message display and am wondering if it's possible to do what I need. Example: Suppose in a form there is a "Name" field (required). The user leaves it blank and submits the form. I need to reload the page with the "Name" in red so the user can see which field(s) have errors in them. Second, at the top o...
    need help returning webservice data in arraylist... (3 replies, VIP)
    microsoft.public.dotnet.framework.aspnet.webservices
    hi there, i have a webservice which my function calls a database( eg. customer table), what i have is my own Customer class, and i want to return an array of my "Customer" objects. here is my code i use (c.GetList returns an arraylist of customer objects from the database: WebMethod() Function GetClientList() As ArrayList Dim c As New getAway.Client Return c.GetList() End Function when i run it, i...
    CacheDuration Property Does Not Work (18 replies, VIP)
    microsoft.public.dotnet.framework.aspnet.webservices
    I have a simple Web Method: [WebMethod (CacheDuration 60)] public string Date() { return DateTime.Now.ToString(); } A new value for DateTime is always returned instead of the value being cached for 60 seconds. This Web service is running on Windows Server 2003 Standard. Is there anything that has to be set to get to this to work?
    Consuming Controls from a Webservice (2 replies, VIP)
    microsoft.public.dotnet.framework.aspnet.webservices
    (Type your message here) From: caesar hernandez Is it possible to return an Array of Controls that have defined events from a webservice to a consumer? consumer: controls Webservice.CreateGUI() webservice: using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Web; using System.Web.Services; using System.Windows.Forms; namespa...
    The underlying connection as closed: Could not establish secure channel for SSL/TLS (4 replies, VIP)
    microsoft.public.dotnet.framework.aspnet.webservices
    Ok, I try to communicate with a web service who receive xml message under a https using SSL. I have a directory with 240 XML files on my desktop. I loop into it to send each file one by one. Abritrary, after 10, 15, 56, 79.... files, (sometimes I can pass all of them??? ) I receive this error : The underlying connection as closed: Could not establish secure channel for SSL/TLS I tried to connectio...
    HttpWebRequest taking lot longer compared to ServerXMLHTTP (2 replies, VIP)
    microsoft.public.dotnet.framework.aspnet.webservices
    Hi, I've to migrate an existing code in asp to asp.Net. The asp code uses ServerXMLHTTP to call some services. Same thing will be done using HttpWebRequest in the asp.Net code. The problem is keeping everything same HttpWebRequest takes around 100 200ms more than ServerXMLHTTP to call the service. The bottleneck was HttpWebRequest.GetResponse, which was taking most of time. Once I set the ContentL...
    System.Net.WebException making web service calls about 10% of the time. (5 replies, VIP)
    microsoft.public.dotnet.framework.aspnet.webservices
    We are seeing a very frustrating intermittent problem. We are making Synchronious web service method calls from a .NET windows Service using the following syntax WebRequest.getResponse call it occasionally fails with the following error: 1) Exception Information ********************************************* Exception Type: System.Net.WebException Status: ConnectFailure Response: NULL Message: The ...
    HttpWebRequest encoding to talk to Web Service (2 replies, VIP)
    microsoft.public.dotnet.framework.aspnet.webservices
    if i am using HttpWebRequest to communicate with a Web Service , how should i decide what type of url encoding to perform (for example, utf 8 , etc.) should this information be included in the WSDL ?
    Send Basic HTTP authentication credential in the first HTTP request (2 replies, VIP)
    microsoft.public.dotnet.framework.aspnet.webservices
    Hello, How can I make the web service proxy class send basic authentication information in the HTTP header of the first request? My authentication code is here: NetworkCredential crd new NetworkCredential("user1", "welcome1"); m echostringsvc.Credentials crd; m echostringsvc.PreAuthenticate true; Althoufh PreAuthenticate is set to true, no authentication information sent in the header of the first...
    ConfigurationSettings Error (2 replies)
    microsoft.public.dotnet.framework.aspnet.webservices
    In my WebService I have a method called Download() that creates a dataset. To get my connection string which is located in my web.config file I call the following imports System.Web.HttpServerUtility Dim strConnectionString As String strConnectionString ConfigurationSettings.AppSettings("MyConnectionString") it tells me that "ConfigurationSettings" is not declared. This is the same code that I use...
    ASP not running? (4 replies, VIP)
    microsoft.public.dotnet.framework.aspnet.webservices
    I am trying to start a new project creating WebService on a server. When I try to "create new project" I get a message "VS.NET detected that the specified Web server is not running ASP.NET version 1.1" Server definitely has ASP.NET 1.1 installed I ran the installation program (aspnet regiis.exe). Either I need to ran something else to "activate" ASP or my station, for some reason, does not see ASP...
    still having problem return arraylist of objects in webservice.... (2 replies, VIP)
    microsoft.public.dotnet.framework.aspnet.webservices
    hi there, i have a webservice which my function calls a database( eg. customer table), what i have is my own Customer class, and i want to return an array of my "Customer" objects. here is my code i use (c.GetList returns an arraylist of customer objects from the database: WebMethod() Function GetClientList() As XmlElement(GetType(getAway.Client)) ArrayList Dim c As New getAway.Client Dim a As Arr...
    trying to use custom wsdl - .Net 1.1 (2 replies, VIP)
    microsoft.public.dotnet.framework.aspnet.webservices
    Everything I read says to use the following in the web.config system web section webServices protocols remove name "Documentation" / /protocols /webServices in order to implement a custom WSDL file. Yet using this in the web.config file breaks the asmx page with Exception Details: System.InvalidOperationException: Request format is unrecognized. If I pull the "remove" out of the web.config file th...
    Can webservice client use basic auth (2 replies)
    microsoft.public.dotnet.framework.aspnet.webservices
    using c# in a windows application. I need to connec to to a HTTPS URL that is set up as "non anonymous" and requires a user/pass. How do i tell the web proxy the user/pass to use.
    any clickable control (2 replies, VIP)
    microsoft.public.dotnet.framework.aspnet.webservices
    Hi all, Is there a webcontrol or an htmlcontrol available that does a postback on a onclick but is more generic that a button? For example I would like to be able to postback when I click on a div, or on a table cell. I found out that I cannot use the HTMLGenericControl as it does not have a 'click' event. TIA, Corno
    .NET 1.1 SP1 Datagrid throws exceptions where it didn't before! (2 replies)
    microsoft.public.dotnet.framework.aspnet.webservices
    After installing SP1, we have huge problems with a self grown class which inherits from Windows.Forms.Datagrid. It throws exceptions every now and then, such as this: System.NullReferenceException: Object reference not set to an instance of an object. at System.Data.DataTable.RecordStateChanged(Int32 record1, DataViewRowState oldState1, DataViewRowState newState1, Int32 record2, DataViewRowState o...
    Windows Client using Generated WS Proxy (3 replies, VIP)
    microsoft.public.dotnet.framework.aspnet.webservices
    Hi, How many people are using a windows client to talk to their web service? I'm interested on peoples view on using the classes that are generated automatically when a web reference is added. More specifically the class that represent the data that goes to and from the web service. In a very simple solution I can see the ease of using the generated classes but in a more complex solution does the ...
    Install Web Service Into Production (2 replies)
    microsoft.public.dotnet.framework.aspnet.webservices
    How do I install my web service into my production web server so that it is not available publicly but will still be available for my local web pages that use it? My references are for localhost but I don't believe this will work once installed. I have never moved a web service or asp.net web page that uses a web service from my workstation before and I can't find anything about installing onto an...
    discovery (2 replies)
    microsoft.public.dotnet.framework.aspnet.webservices
    Hi, I'd like to discover all WebServices that exist on a particualr server : reading the doc's a little did I encounter the following client tool : disco.exe http://www.myserver.com/math/math.disco but, before being able to use this tool do you need to know a) the virtual dir 'math' b) the name of the disco file that's a whole lot !!! how do you obtain that information ? can't I just use some tool...
    Q: Cheap Windows webhosting with ASP & DB (7 replies, VIP)
    microsoft.public.dotnet.framework.aspnet.webservices
    HI, I want to find some cheap webhosting with Microsoft ASP and database access. I want to use Access and/or SQL DB with ADO.Net. I want to practice some ASP programming and develop various things. Does anyone have any ideas who is cheap and reliable? Thanks Jow I can also be reached at: filter1 at digitalchickenDOTnetNOSPAM
    VB.NET Client for a ASP.NET WebService (2 replies)
    microsoft.public.dotnet.framework.aspnet.webservices
    Hi There! Can a VB.NET Client access a Web service? If so by what mean? Only by SOAP messages? Do I have to parse the SOAP messages myself to get the results? Any tutorials or pointers on creating a VB.NET client for ASP.NET Web Service in a proper way is greatly appreciated. Thanks, David
    Please Advice. What´s the right path? plain file vs xml file (4 replies)
    microsoft.public.dotnet.framework.aspnet.webservices
    Hello Everybody! I d like that you give me some advice on what the right approach to import some data from one system to another is. I know that a webservice fits perfectly to intercommunicate two different systems but it is said that unfortunately it is slower than to load a plain txt file via a stored procedure. What should I do? To keep loading the data from a plain text file or to change the a...
    Using Impersonation (3 replies, VIP)
    microsoft.public.dotnet.framework.aspnet.webservices
    Is it ok to use impersonation in the web.config file for a web service? Let me tell you why I ask. My web service to ultimately connection to a sql server database. The recommended way to connect to SqlServer is to use a trusted connection (nt authentication etc), but inorder for me to do this I want to change the user my webservice (aspnet wp) is running under don't I? Hence the use of the Impers...
    duplicated soap response (7 replies, VIP)
    microsoft.public.dotnet.framework.aspnet.webservices
    My client wanted the "any" wildcard in the WSDL replaced with the data schema, just like in the SOAP. To acomplish that I created a class (called Play) of the data fields. Then in the web method I used XmlElement as such: [return: XmlElement(typeof(Play[]))] public XmlNode RandomNowPlayingXml(string format) .. .. .. return new XmlDataDocument(type); That gives the client the schema in the WSDL the...
    Webservices on Windows 2003 Web Edition? (3 replies, VIP)
    microsoft.public.dotnet.framework.aspnet.webservices
    Hi We plan to use a Windows 2003 Web Edition based computer to host a ASP.NET Web Service. The database in on another computer within the LAN, so this is no problem. However, I read that the Enterprise UDDI service is not available on the 2003 Web Edition. Does that mean I cannot host Web Services on a Web Edition Server? Thanks for any help Urs
    Install >NET on Personal IP Site (2 replies, VIP)
    microsoft.public.dotnet.framework.aspnet.webservices
    I have developed a WEB Applicaiton using Visual Studio VB.NET and it runs well on my developement computer. I would like to run it from my personal WEB Page provider by my Internet Provider. I have used the MS WEB Publishing Tool to move the files and directorys to the site, but when I start the Applicaiton via Browser, I just get the view with just the text. There are no TEXTBOX or Button control...
    Replacing IIS with ASP.NET web matrix server to create Web pjt VS (2 replies, VIP)
    microsoft.public.dotnet.framework.aspnet.webservices
    Hi there, I am wondering if anybody knows about a work around (if any?) creating an ASP.NET web project from VS .net under XP Home Edition? I know there is no IIS under XP home, but is there any way to replace IIS with another web service ( like the one in web matrix) to be able to develop apps in VS .NET under XP Home? It doesn't matter of course if the page can not be accessed remotely, but loca...
    Error in xml document at (1,280) (2 replies)
    microsoft.public.dotnet.framework.aspnet.webservices
    I try to call a logon webservice method with 3 parameters that are strings. the return value should be a xml string including all information on a user object. When I execute the web service from visual studio test environment the webservice method run fine and I get the expected xml string. But when I try to call this method from a asp.NET page the method failed and I get the following error mess...
    Prob. adding a web reference (3 replies, VIP)
    microsoft.public.dotnet.framework.aspnet.webservices
    I have started going through the Visual Studio "walkthroughs" book and after a number of attempts to get it to work, I keep getting stuck at the same point. I am running Windows XP Professional (Service Pack 1) Visual Studio 2003 EA (C#) IIS 5.1 SQL Server Desktop Engine Brief description: 1) I have created a web service which has two methods. One queries the pubs database, and the second does upd...
    Web Services on Win 2003 to SQL Server on Win 2000 (11 replies, VIP)
    microsoft.public.dotnet.framework.aspnet.webservices
    I'm having serious performance issues in connecting from a Win 2003 Server machine to a SQL Server database on a different Win 2000 Server machine. There is nothing other than our application running on these machine. They are connected via 100mb ethernet. I can ping with sub 1ms response times. In running an .NET Framework exe from the 2003 machine that connects to the database and issues a simpl...
    Why generate minOccurs='0' while the parameter is not optional? (2 replies)
    microsoft.public.dotnet.framework.aspnet.webservices
    Hi, I am writing my first web service, here is the signiture of my webmethod in C#: [WebMethod] public string Request( string productType, double version, out string confirmationID ) And here is part of the generated WSDL file: s:element name "Request" s:complexType s:sequence s:element minOccurs "0" maxOccurs "1" name "productType" type "s:string" / s:element minOccurs "1" maxOccurs "1" name "ver...
    Result xsi:type (2 replies, VIP)
    microsoft.public.dotnet.framework.aspnet.webservices
    I'm using .NET Webservices and have a WebMethod that returns a integer. In the returning XML the returnvalue comes like this: MyMethodResult 123 /MyMethodResult Is it possible to have .NET creating the result look like this instead? MyMethodResult xsi:type "integer" 123 /MyMethodResult
    Webservice Timeout in Visual Studio 2003 (6 replies, VIP)
    microsoft.public.dotnet.framework.aspnet.webservices
    I have posted this question before but did not get a reply from Microsoft so I thought I would try it again. I canâ t get any webservices to work in Visual Studio 2003. If I use IE or run the EXE then everything works fine. There seems to be a lot of posts in the newsgroups about this problem but no solution. Can anyone help shed some light on this problem? It canâ t be code related since the EXE ...
    Using Sockets.NetworkStream.Read very slow on Win2K3 (2 replies, VIP)
    microsoft.public.dotnet.framework.aspnet.webservices
    Hi, I am doing the following: While i 0 i NWStream.Read(bytesToRead, n, 1)'bytesToRead is a ByteArray n 1 End While For an incoming stream of 17K, this takes anywhere from 5 to 30 seconds (different every time I try even though the same stream is received). It only seems to happen on Win2K3. The strange thing is that the same code is used for other transactions where the size is about 5K and the p...
    SOAP Response (2 replies, VIP)
    microsoft.public.dotnet.framework.aspnet.webservices
    I cannot get the Trace to work for my Web Service application or client. I need to be able to see the entire SOAP message (for documentation and other purposes). What is the best way to view the entire message (ingoing and outgoing)?
    Webserver Behaviour (2 replies, VIP)
    microsoft.public.dotnet.framework.aspnet.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
    Webservice very slow on first call (2 replies, VIP)
    microsoft.public.dotnet.framework.aspnet.webservices
    I have created a webservice, it is used by a webpage. The first time I connect to the page, the connection is very slow, it takes like 6 seconds to validate the user, I am working on my machine debuging. But it is only the first time, every other webservice used during the session is very fast, is this a normal behavior, or I have somehting wrong? Thanks.
    am right in web services? (2 replies, VIP)
    microsoft.public.dotnet.framework.aspnet.webservices
    Hi , ramesh. i have a doubt in web services. just tell me the way am using the web services is right? since am involved in a big project , i have written a module in c# which has classes & inheritance. on it it establishes the connection, command , and a dataset. for ex, in any web page , if i want to open a connection / retrieve a record set , i simply call that module's respective method . may a...
    IIS 6.0 ASP.NET Process Identity and ODBC (3 replies)
    microsoft.public.dotnet.framework.aspnet.webservices
    Hi, My WS ASP.NET application runs on IIS 6.0 and should connect to FoxPro DB on file server over OLE DB ODBC connection. Special user is created on file server for this application. I cannot find the right solution how to change Process Identity. App impersonates some user identity identity impersonate "true" userName "MyUser" password "MyPass" / In this case application can read files with Syste...
    401 Error (2 replies, VIP)
    microsoft.public.dotnet.framework.aspnet.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. I am using Windows auth.
    Sending / returning objects (4 replies, VIP)
    microsoft.public.dotnet.framework.aspnet.webservices
    Hi! I'm trying to figure out if it's possible to create an object in a webservice, return it (the object / representation of an object) to a client, make modifications on the client and push the changes back to the webservice? I'm guessing that you have to use remoting obejcts for something like this but I don't believe that will prove to be platform independent so that won't work in our environme...
    Visit the archive for messages from this site.
  • October 2001 (72 items)
  • November 2001 (43 items)
  • December 2001 (43 items)
  • January 2002 (64 items)
  • February 2002 (82 items)
  • March 2002 (114 items)
  • April 2002 (95 items)
  • May 2002 (78 items)
  • June 2002 (76 items)
  • July 2002 (103 items)
  • August 2002 (93 items)
  • October 2002 (87 items)
  • January 2003 (37 items)
  • February 2003 (52 items)
  • March 2003 (29 items)
  • July 2003 (53 items)
  • January 2004 (325 items)
  • February 2004 (112 items)
  • March 2004 (72 items)
  • April 2004 (205 items)
  • May 2004 (95 items)
  • June 2004 (95 items)
  • July 2004 (69 items)
  • August 2004 (199 items)
  • September 2004 (51 items)
    Ad


    Need Dot Net Interview Questions?
    Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
    .Net Projects
    Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
    Free .net Help
    Commission ExamGuru, Inc. and his team for your next bespoke software project
    FogBUGZ
    The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
    Awesome Tools
    If you don't know about these, you're missing out... IT Certification Questions
    IT Interview Questions
    Free Oracle 10g Training
    MCSE Boortcamp
    Cisco Study Guides
    Cheap Study Guides
    Exact Questions
    Dot Net Interview Questions
    Oracle OCP
    Cheap Travel
    Designer Perfumes - Wholesale Prices
    Free Programming Tutorials
     
    ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
     Copyright © ExamGuru, Inc. 2001-2006
    Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification