microsoft.public.dotnet.framework.aspnet.webservices Archive - February 2002
Post a message to this list
Messages
Page: 1234
Exception Vs Errors (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Hello, I just want to know what the difference is between Exception and Err object. Also, i see that Exception does not provide any number attribute unlike Err.Nnmber in VB. So, how do we suppose to raise an exception for a business rule violation which are usually implemented by specifing err.number in VB6 and dislaying a user friendly message fromt the database. I looked at Microsoft Application...
SOAP Exception when attempting to pass an Int Array by reference to a Web Service (2 replies, VIP)
microsoft.public.dotnet.framework.aspnet.webservices
I get a SOAP (object reference cannot be null) when I attempt to pass an Int Array by reference to a Web Service. I'm trying to return 2 objects from a web service. One returns as the method's result and one is the "by reference" Int array. TIA Dave P.S. Is there another serializable object or collection which I could use instead of an array?
array in wsdl (4 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I'm using Visual Studio beta 2 and invoke Webservices with C . Simple and Complex types work fine, but arrays are not recognized. When I define this schema structure in my WSDL, the "wsdl generator" just ignores the array definitions. Can .NET handle arrays and if yes, how do I have to define them? types [...] xsd:complexType base "soapenc:Array" name "someArrayType" xsd:element name "someValue" t...
Error in trying to debug a VS.Net Web Application (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Does anyone know what cause this problem/error when trying to debug the Web Application? Error while trying to run project: Unable to start debugging on the web server. The server does not support debugging of ASP.NET or ATL Server applications. Run setup to install the Visual Studio .NET server components. If setup has been run verify that a valid URL has been specified. You may also want to refe...
Client Certificates for proxy objects (5 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I am reposting this topic because I haven't recieved any responses to my follow up posts to my original post. I am using .NET RC1. Please help! This question is exactly the same as that posted to the Usenet newsgroup entitled "Web Services: SSL and Certificates with .NET?" Mr. Powell diligently answered all questions except the final one, which is what is topping me. The scenario follows: I have a...
dynamic URL Behavior Property problem (6 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I have a c# Windows application that is a client to a WebService. This application is made up of 9 projects in one solution, three of which include the Web Reference. The main project, does not directly include the Web Reference. I have defined the URL Behavior as dynamic in the 3 projects that include the Web Reference. The name .exe.config file generated has only a single add key... for the star...
Problem with session (3 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I have no problem to access a web service from a web form client and allow the service to keep the session state, like below. myWebService svc new myWebServiceWallet(); svc.CookieContainer new CookieContainer(); Info info new Info(); svc.SetInfo(info); info svc.GetInfo(); This works fine. But after that I want to open another page with Response.Redirect(newUrl); and i.e. in the Page Load methode I...
Optional attribute (6 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I am trying to make parameters in my Web Method optional so I can call it with GET without specifying them. So I put [Optional] before every parameter like [WebMethod(EnableSession true)] public bool MyMethod([Optional]string param1, [Optional]string param2, [Optional]string param3) It compiles fine but when I call the method with GET neither method nor web service constructor get called.
WebService Compiler error (using new release) (4 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I have installed the final release of the Framework on our server. I have installed the new release of VS on my machine. I am trying to create a web service on the server. When I attempt to browse the web service I get the following error: CS1595: 'System.Runtime.CompilerServices.CompilerGlobalScopeAttribute' is defined in multiple places; using definition from 'C:\winnt\microsoft.net\framework\v1...
Help! Need to create dynamic Web Reference from XML Web Service consumer application (6 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Q. It is easy to reference a Web Service via discovery at design time (add it to the tree just like an early bound reference to an object). But, from a client program, how can I dynamically create a Web Service Reference to a dynamic URL? Then, I can hold the URL for the Web Service in a database or XML file and create the Web Service reference on the fly when the program loads. It seems that this...
DropDownList Default Select? (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
my dropdownlist is set as follows statesDDL.DataValueField "StateID"; statesDDL.DataTextField "State"; statesDDL.DataSource ds.Tables["States"]; statesDDL.DataBind(); statesDDL.Items.Insert(0,"select"); //have also tried this code ... statesDDL.Items.Insert(0, new ListItem("select")); statesDDL.SelectedIndex 0; statesDDL.SelectedItem.Text ****** no matter what select is made, this code returns tex...
passing an xml string (5 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I have a method, that returns an xml string corresponding to the xml schema mydata.xsd. I want a web service with a WSDL file, which contains mydata.xsd in the "types" section as result type. Furthermore the xml string should not be deserialized and serialized before inserting it in the SOAP message. How can I solve this problem? Thanks a lot, Jochen
How to authenticate? (3 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I have a web service and c# clients talk to the five or six methods on the web service. Everything is ok on the development machine. I would like to know how to get my client to connect to the web service securely. My scenario is this, the user enters a username and password into the c# application when the application starts. This username and password is used to authenticate with the web service...
Simple Web Service is not working. (3 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Hi, I have a test web service working having followed the excellent online tutorial found at, http://www.15seconds.com/issue/010430.htm I used their example. Having done this I decided to build my own example web service from scratch (the highly boring, in terms of functionality, 'IsPalindromeWebService'), it is based on the tutorial's example. When mine is called, with the following line, I get t...
Async Web Service callback never invoked (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Hi, I've been searching through samples for simple web services and I'm at the point of tearing my hair out. I have a basic Hello World web method which takes no parameters and outputs the string "Hello World". I created a windows client with a button on a form and I included the web reference. In the click method I do this AsyncCallback cb new AsyncCallback(Form1.MyCallback); Service1 cService ne...
Serialization of Classes Returned from Web Services - default namespaces (5 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Is there any way to remove the default namespace declarations from the xml generated from a custom class returned from a web service? The following xml is generated: ?xml version "1.0" encoding "utf 8" ? RootNode xmlns:xsi "http://www.w3.org/2001/XMLSchema instance" xmlns:xsd "http://www.w3.org/2001/XMLSchema" ExampleField false /ExampleField FirmCode xmlns "eveningall" hello /FirmCode /RootNode B...
Posting data through a WebRequest (3 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Hi all, I'd appreciate if someone can help me with the following I need to programmatically send data as if it was send via form (I am doing web scraping). My method is set to "POST" and the content type is "application/x www form urlencoded". Then I do byte[] bytes Encoding.ASCII.GetBytes ("name Bob,age 25,status single") request.ContentLength bytes.Length and write that data through the RequestS...
changing SOAP encoding (4 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Hi, Im trying to change the SOAP encoding on a web service im creating. As a default I read that VS.Net encodes parameters within SOAP using XSD Schemas (Literal encoding), however I want the Web Service to use SOAP (Encoded). I have had a look in the help documentation but have been unable to work out what its saying. Is this easily done? If so, how?? Also I would like to use the RPC SOAP formatt...
Dynamic selection of location for web service (7 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Hi, I am trying to write a .NET application that uses Web Services. I wish for the user to be able to Select Local Machine or a Remote System from a list. Once they have selected, the Web services will be executed on this machine. Is there a way that i can dynamically change what server the web service executes on? Thanks for any help. Dot Net Guruhew Sutton VIPS International
SoapExtensions on the Client (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I have plowed through all I could find on using SoapExtensions on the Server. I would like to implement a compression extension, but it is useless without knowing how to implement the client piece. Has anyone seen or have any sample code that demostrates this? This MSDN article helped alot but helps little with how to actually implement it. ms help://MS.VSCC/MS.MSDNVS/cpguide/html/cpconalteringsoa...
ASPNET account permissions. (3 replies)
microsoft.public.dotnet.framework.aspnet.webservices
How do we give the ASPNET account rights to create a new Event Log? How do we give the ASPNET account the rights to access the SMTP service to send email alerts? We have tried setting registry and file level access rights to this account but the code still fails to create the log or send an administrative alert via smtp. If we run the code with SYSTEM account it all works fine (obviously). Please ...
Does wnyone know how to add SOAP headers to the Envelope? (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I have a WSDL. In VB .NET, I add a Web Reference and some code is generated. According to the Help file, I need to add a class and a member variable to the web service. Once that is done, I populate the new class and assign it to the member variable of the service. Everything compiles fine but NO HEADERS are sent. I've seen numerous threads with no responses. I'm assuming that this is either unsup...
web services and complus? (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I am new to web services and wondering can web method call component register in com ? Where can I get information about using web services and complus or any references book on using complus and web services in VB.Net. Thanks.
Tool to generate Server side code given a .WSDL? (10 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Is there a tool that will generate Stub server side code (Not client side like wsdl.exe)? I have developed a complex wsdl and now I want to try it out by creating a web service. Thoughts?
WebServices from Flash, do-able, but need better method (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
In Flash 5 I was able to create an interface from Flash to WebServices. Flash cannot set the SOAPAction header. So I used the GET format, (yuck). I really wanted to use the POST method. I can set content type to what I want. (default is application/x www form urlencoded) but this can be changed. Flash can POST arbitrary XML and receive arbitrary XML. for example: HTTP/1.1 200 OK Content Type: text...
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