microsoft.public.dotnet.framework.aspnet.webservices Archive - November 2001
Post a message to this list
Messages
Page: 12
Can Excel call a Web Service that returns a DataSet? (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Hi, I was wondering if Execl can process a DataSet that was returned from a Web Service. If this is not possible, is my only other option to have the Web Service return an array of strings instead? Thanks in advance.
Can't Add Web Reference (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Hi, I've encountered problems adding Web References. If I need to add a web reference from localhost or another test machine, I have no issues. However, if I try to add a web reference to a production machine I get the service description in the left pane and no available reference in the right pane. Any suggestions would be greatly appreaciated. I've tried just about everything. I suspect that my...
Webservice with state? (3 replies)
microsoft.public.dotnet.framework.aspnet.webservices
How can webservice components have states? Deriving them from the WebService class and use WebService.Session? or configure the .NET Remoting to do so? How do I configure? Does .NET remoting use IIS? Is it bad to derive from WebService class because that will limit the object to webservice, while it's better to have it remotable in different scenarios? Thanks.
Returning a XML document (4 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Hi, I wonder how I should return an XML document ? As a string or can I return the whole XML document object via Web services ? I m using .Net framework Beta 2 for building TIA // Henrik
Unable to find Web Method on local machine (Error 404) (5 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I am running W2k AS with VS.Net Beta 2 SP2, and I am trying to get a Webservice to invoke via the WSDL Invoke button. I get the SDL screen perfectly and all methods are visible but whenever I attempt to click on the INVOKE button, I get a file not found (404) error So for the sample WebService (Hello world), I attempt to get to : http://localhost/HelloWorld/Service1.asmx/HelloWorld? This is the UR...
TimeOut Error when Access remote web services (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Hi there, I always get timeout error when I try to access web services from internet. I can add the reference to an internet web services, but when i try run it it always return me time out error saying the connection is closed. anyone has clue about this? Thanks. Ben Jiang
Timeouts when calling a web service from ASP.NET (RC1) (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I cannot seem to connect to any of my web services from ASP.NET. I can connect to these same services from a Windows application (EXE). (.NET based Windows applications.) When I try from an ASP.NET aspx page, I get a timeout (verbose output at end of message). Along the same lines, I get the exact same problem with some of the .NET Framework QuickStart samples. The Web Services work just fine stan...
How to get IP address of web service caller (5 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Within a web service, I need to get the IP address (quad dotted) of the caller. Currently I have been using "Context.Request.UserHostAddress" which works fine until I try to call the web service from a WinForm. When I do, I get the error "HttpContext is not available. This class can only be used in the context of an ASP.NET request." So I have 2 problems. 1) I assumed that the web service was alwa...
Web service debugging problem (3 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I have created a managed c web service. I can get the service to start and run fine if I invoke the .asmx file directly (outside of the IDE) or if I use "Start without debugging" but if I try to debug it, it starts to load but just seems to stop at the statement immediately after outputting the line: Auto attach to process '[2468] aspnet wp.exe' on machine 'AL1' succeeded. Eventually I have to sto...
Databinding DataSets and updates over Web Service (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I've been working with passing datasets over a Web Service and I can make everything work just fine using raw code to update the data set. However, when I use Windows Forms and databinding for some reason doing updates of the data on the server side does not work correctly. The data in the data set appears to be correct both on the client side and server side when received but the data won't updat...
Potential BUG when debugging WebServices (MICROSOFT please check this) (4 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I am testing webservices, so i started with the trivial example of invoking a remote function adding two integers. After testing this, i tried to see what happen when things go wrong, so I changed on purpose the the URL of web server hosting the service to an invalid url. I used try catch to handle the exception that would be generated by the server not connected and this works, but when I exit th...
Was this fixed in RC1? (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Hello: MSVS.NET beta 2 had a problem where WSDL that contained more than a single schema in the types section failed when you tried to create a server skeleton using wsdl.exe, as in: wsdl.exe /server PlayerInfoTwoSchemas.wsdl Can anyone with RC1 try this and tell us if it works now? If it works, it should generate C# classes and not report an error. You can get the wsdl at: http://www.kamiak.com/P...
Dynamic WebService invocation (10 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Hi, I need to invoke a WebService dinamically (say with c#). I need to read the wsdl file (opefully locally) I need to ask the value for each parameter (part) making the soap call getting the soap body xml back I think very similar to the default view of a web service provided by asp.net. For example http://dotnet.securedomains.com/eyesoft/ws/b2/calc/SimpleCalc.asmx?op Multiply Thank you in advanc...
Returning variable XML (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I need to return XML from a c managed web service. The XML gets "translated" (mangled) during the process. I've read that I could create an object rather than return a string, but the format of the XML that is returned may vary quite a bit. There could be as many as 190 different Tags, or as few as 3. Isn't there some way to simply return an unmangled string from a web service? It seems there's th...
Connection not being reused when Anonymous Access is turned off. (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I am trying to use IIS's Integrated Windows authentication with the web services I'm building. Unfourtunately when I turn off Anonymous access, each time I call my web service, it creates a new connection to the IIS server instead of using the existing one. When I turn back on Anonymous access, it works "correctly" by getting the initial connection and then reusing it for each subsequent call. I'v...
Returning complex data from a webservice method. (3 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Ok, I'm playing with the vs.net preview and the webservices. But I've been wondering...How does one return complex data from a webservice method? I mean, what return datatype should one use if you want to return a dataset's xmldata/xmlschema to a dataset on the client? What datatype should one use if if you want to return a picture, mp3file or other binary multimedia format? Thx, in advance Tim
problems with the session in a webservice! (4 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Hi, I've a simple webservice with a login webmethod and another function called GetValue during the login process I store some informations in the session When I try to access these information from my GetValue function, my session is empty. I've enable the session (enablesession: true) this problem appear only when I call my methods from a ASPX page on another site, from my browser I've no proble...
Consuming a WebService from Visual Basic 6.0 (3 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Hi, Is it possible to consume a WebService from a Visual Basic 6.0 Application ? How would I do this ? Thnx TP.
Catching custom exceptions from a web service (5 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I would like to catch custom exception from web services consumed by an ASP.NET web form. I tried marking the exception as serializable and implementing a deserialization constructor. What am I missing? Code: [Serializable] public class WebServiceException:System.Exception { public WebServiceException(string message) :base(message) { } public WebServiceException() { } public WebServiceException(st...
Delegation and Impersonation problem (3 replies)
microsoft.public.dotnet.framework.aspnet.webservices
Hi, We are trying to develop a website that shows data retrieved from a webservice. The user logon info on to the website needs to be passed to the webservice. Impersonation seems to be the logical choice... However when we try and set things up we get a 401 (access denied) error from the webservice. It seems the user context/credentials are not passed from the ASP.NET site to the webservice (also...
Session_OnStart, Session_OnEnd events in Web service (4 replies)
microsoft.public.dotnet.framework.aspnet.webservices
How I can get Session OnStart, Session OnEnd events in Web service?
Security in Web Services (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I am having a security problem with the Web Services I am writing. If I have Anonymous access turned off in IIS, I get a 401, Access Denied error. If I enable Anonymous access, the service works properly. Is there a way to pass the windows authentication from the ASP.Net application to the Web Service? Any help would be much appreciated. Thanks, Jamie Hill
Multiple Classes Within a Webservice (3 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I have defined 2 Public classes in a web service, however I can only access one of them from any application with a reference to the service. My Web Service looks something liek this: Imports System.Web.Services System.Web.Services.WebService(Namespace: "http://tempuri.org/") Public Class PayablesService Inherits System.Web.Services.WebService Public Class1 'Class 1 Stuff End Class Public Class2 '...
Need help understanding how to use web service (2 replies)
microsoft.public.dotnet.framework.aspnet.webservices
http://www.gotdotnet.com/playground/services/eightball/Eigh tBallWS.asmx Using the link above, how do I use the "EightBallWS" web service? Specifically, can someone show me the code to demonstrate how I would use the service from an asp.net page? That is, How do I call the service's method and how do I handle the XML response using SOAP? I understand how it works, but I don't understand what to do...
Global Web Services Architecture (Please Help!) (4 replies)
microsoft.public.dotnet.framework.aspnet.webservices
I was wondering if anybody had any information on how one might go about implementing these pending specifications into their .NET services today? I am particularly interested in using WS Security and WS Routing. Is it even possible to implement these today? And am I correct that even if your soap message supported these protocols (output the proper soap based on the specification in the header) t...
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