Recent update: 2008-3-21
Last question :)Is there a way to know from the web service end to tell if a user that has posted to the webservice has disconnected? Here's my scenario:User posts to web service, some sql server inserts are completed, results from inserts are returned as a dataset, dataset is returned to the ...
I have a webservice that is using Digest Authentication. There is a function in the webservice that takes a string - the string is compressed XML. In the function I am decompressing the XML and doing some database manipulation.Here's the issue:This scenario works GREAT when the XML is is ~5MB ...
Hi, I've whole bunch of web methods in my web service and they are all appearing in random order instead of the order specified in the cs file. Can somebody tell me if there is any attribute or setting that will let us specify the order, please? Thanks for your time! Regards, Swamy
I have created a webservice at the location //localhost/WebSite using VS 2005 Beta 2. The webservice contains nothing but the helloWorld web method. When I run a debug I get a server unavailable error in IE and the following in the event viewer: Warning: Failed to initialize the ...
My application software is deployed across two tiers; a WinForms workstation client and a Web Services layer. My application will require authentication, however I'm not keen on building my own authentication services into the application. Rather, I'd like to leverage Windows domain security. ...
Hi,I can create a web service, post it to my host and then use it. But I can't use a service on my local machine. I'm running Windows 2000 Professional. When I try it always says "can't create type classname". I figure this is because the web service isn't running on IIS like in v1.1. But I ...
I'm trying to make an application with Indigo, there is the ServiceContract and OperationContract, but I can't find the DataContract attribute nor the DataMember. Thanks.
Hi, I want my ASP.net C# application to punish the users who refresh page using (F5) by redirecting them to a different page
I would like to know if anyone has any experience calling Java services from .net and any available code samples?
537 byte By
chrisj at 2008-2-24
I was wondering, how would I secure a web service? I have heard about WSE, however I do not understand it completly. Can someone point me to a tutorial about WSE or some other sort of way to secure my webservice?I want the client to be able to use the username and password pair to login to the ...
Hi,Im quite new to webservices. These are my questions.1. Im just wondering on how to consume webservices. For example, I have a webmethod that returns a Dataset object how would I consume it in the client? I tried casting the result to DataSet object and it just wont convert...2. I've read in ...
Hello everyone, First of all, I wanna thank you for the great FORUMS. hmm, I just want to know if there is new features that could be used in making middle tier by using WHIDBEY, especially in making Web Applications. cause all the features I have seen till now were talking about the UI. ...
i just used the converter to convert my asp.net 1.1 application to 2.0 and i find that my usercontrols is not working The type or namespace name 'smartcontrol' could not be found (are you missing a using directive or an assembly reference?At quite a bit of places i am loading the ...
I have just ported an ASP.NET 1.1 application to framework version 2 and i have a problem.I used to use the following code in framework 1.1. //// workaround to make the webservice call work over ssl//System.Net.ServicePointManager.CertificatePolicy = new WebServicePolicyHelper();MyWebService ws ...
600 byte By
thambi at 2008-2-20
Hi,Currenlty i am writing a SOAP client over SSL in the following way1) Use an open source SSL library to establish a SSL connection to a SOAP web service server.2) Manually form SOAP request and pass it onto the server over the SSL connection created in 1.Now my question is whether i can do ...
822 byte By
thambi at 2008-2-20
Hi All,I want to write in C#, a SOAP client over an SSL connection to a server which supports SOAP requests and gives back SOAP responses.The way i am currently doing it is 1) I use a open source .NET SSL library to connect to the server.2) I manually create SOAP requests(in the form of strings ...
According to several examples on how to create a web service using WSE 2.0 when you enable WSE 2.0 for a project by selecting the two checkboxes on the General Tab references are automatically added to your project and in the Reference.cs (or Reference.vb) file of the project you will see two ...
Hi all, Is there any method in the framework where I can verify whether asp.net is installed? Otherwise, what is the best way to verify the installation in code? Thanks in advance Bill Sun
118 byte By
DVINH at 2008-2-18
Hi: Can SqlDependency (Query Notification) be used in a stateless model such as web services? Thanks, Duy
Hi, I am complete newbie to Webservices, so have very basic question and that is, if i want to use message level security instead of Transport layer level, then which is better to use , X.509 or kerberos? or any other solution. Also, I have created a sample application using kerberos, now in ...
I've got a small project, that has in it a simple web service (with the standard "HelloWorld" method in it), and a simple ASP.NET application that calls the web service. I'm using the built-in web server, and not IIS. I'm on Windows XP SP2, running VS.NET 2005 Beta2.When I added the web ...
700 byte By
Ams at 2008-2-15
HiIn 1.1 i was able to drag and drop a control on a ASMX file where as this feature is missing in 2.0In 1.1 this feature enabled me to drop a SQLDataAdapter on the web service designer, then i was able to expose the dataset as a webmethod which can be accessed by any client. Now I need to code ...
I have just ported an ASP.NET 1.1 application to framework version 2 and i have a problem.My solution has a Web project and a class library project. The class library project has a web reference to a web service. The Web project makes a call to the web service.I used to hold the url for the web ...
291 byte By
Qing at 2008-2-15
<span>Hello, I am working on .Net Web Service Client to consume a Java Axis Web Service from the third party. For debuging purpose, I would like to get soap message being created by .Net Proxy Class. Can anybody tell me how to get the information? Many Thanks in advance. -Qing </span>
I need help with the architecture developing mywebservice. I want a webservice where the clients can send data to each other. How will the architecture look like? Is that possilble? Like you have a webservice where clients connect. And a client can connect to the webservice and send text to ...
Hi I have developed a Web Service to provide and receive data via a VB.Net client application. One problem I have is easily preparing this for deployment. At the moment the Web Service and Client are both on my development machine, I have added a Reference to the Web Service in the Client ...
487 byte By
R.Papa at 2008-2-14
Hi there ....!sometimes we have the message unable to connect even if web services are correctly developed ( or we believe they are ) we use https protocol to invoke .net web services and on those times web responses are more slower ..... Can someone suggest me which controls to apply to these ...
Hi, I am trying to use namespace Microsoft.Web.Services2. But the VC++ compiler says unknown. How do I get this? It must need a header file right? Regards, Chris Peto
8914 byte By
MaaWaa at 2008-2-13
First up, apologies for the long post, i just like to be as descriptive as possible in my opening post. I have written a small webservice that (attempts to) return a class.Basic Class Layout: <Serializable()> _Public Class UserPrivate _NTlogin As StringPrivate _DisplayName As ...
353 byte By
sticky at 2008-2-13
Does anyone know a fix for this?I am unable to add a web form, master page, etc. in vs2005. When I try it I get "object reference not set to an instance of an object".....I have uninstalled framework, vs2005, sdk - still same problem. It happens even if i create a new web site - i cannot add ...
This is my first time creating a web service ... so I'm hoping this is an easy question Basically, I have a normal windows class (call it myNamespace.myService). This class has a method that returns a serializable class object (call it myNamespace.myClass).Now, I've written a seperate web ...
I have a database on SQL Server that contains a table called USERPROFILE. I also have a web service that has a method called UpdateUserProfile. The web method may update only parts of the user profile at a time, and not necessarily all of it.How should I go about doing this?1- UpdateUserProfile ...
191 byte By
bizbiz at 2008-2-10
<span>With framework .NET 1.1, I write a lot of web services. I always pass the culture in the header. Do you know in .NET 2.0 if the culture is automaticly adding to the soap header ?</span>
I have an application that contains two web service projects. One contains all of the "query" (read-only) functions and is publicly available to all. The other contains all of the administration (update) functions and is locked down with encryption and Windows authentication. To avoid the need ...
I am wonder when i use the same class library in web service and in aspx and then when i write something to class in aspx then call the same class from web service and try to cast this two classes they doesn't match?. For example with type DateSet it works normally. joesun99@hotmail.com
I'm getting an error trying to call a WS. I setup the web reference in VS.NET (2003 Enterprise) and the tool does not complain.All my code is doing at this point is attempting to instantiate the object:Dim myws as New eDataFeedThis comes back and fails with the ...
1655 byte By
Cormac at 2008-2-7
Hi everyone I have a solution based on Secure Conversation using a Security Context Token Service (which is just a web service) that gives out SCT's, a client program gets the issued SCT. But the problem I have is can this client then hold Secure Conversations with one or a number of other web ...
690 byte By
Padvit at 2008-2-7
Hi Everybody, Iam trying to pass cookies from User Interface(WebApp) to WEbservice. Iam using soapcontext to add the cookies//the cookie is addedm is the webservice proxy nameSoapContext sContext = m.RequestSoapContext;sContext.Add("cookies",aCookie);//Iam trying to find out whether the cookie ...
Does anyone have suggestions on refactoring web services interfaces? I am interested in best practices for not only versioning interfaces, but for gracefully deprecating methods as well. For example, SOAP does not permit overloaded methods; each message name must be unique. If I want to create ...
Hi, Can I depoly WSE 2.0 in ClickOne?
I have system which runs self standing asmx web service on desktop (I have simple web service web server implemented with http.sys, modified version of system described in http://msdn.microsoft.com/msdnmag/issues/04/12/ServiceStation/default.aspx). This system works just fine with simple web ...
Hi Guys, Does anyone know if it is possible to call a webservices, from another webservice.Im trying to do that. But im stuck with an error I have created a webservice, and the WebReferenceURL property points to the dynamic URL of the webservice, which i want to access ( http://pcname/....), and ...
We are experiencing problems with calling a Web Service that runs on Oracle HTTP Server powered by Apache. The Web Service returns 400 Bad Request.The explanation I got from the developer of the Web Service is that Apache doesn't accept messages that contains the information "charset=utf-8" in ...
I have a project that references two separate web services that share the same namespace. When I add these references, code is generated that will not compile because the two web services both have a method of the same name. To illustrate:In the service code:Service1.asmx.cs:namespace ...
2040 byte By
stacyb at 2008-2-4
well at least this gave me a bit more info... Error: There was an error processing ' http://sj-barsoap:8080/jboss-net/services/BaanDataRetrieval?wsdl'. - The document at the url http://sj-barsoap:8080/jboss-net/services/BaanDataRetrieval?wsdl was not recognized as a known document type. The ...
Hi Ravithanks for your reply.if you take the server side certificate on web based scenario. we need to get certificate from any of the third parties. and install on the server and configure the IIS for "client side certificate required". and We need to configure the IE for sending client ...
Hi,I'm very new to this and I would appreciate any help you might be able to give me. I am building a composite web service on my local machine. This web service is to be comprised of calls to two other web services, one on my local machine and one not. The web service I am trying to ...
So the Distributed Application Walkthrough documentation needs to be rewritten.
350 byte By
guest at 2008-2-4
Hi,,I have a c# client calling a web service using vs2005 and WSE 3.0 and X509 certificates. I am trying to validate that the client is signing the response. I tried to set the policy in the WSE tool. but it says my certificate does not support encryption.How can i set this right? Can you provide me...
Does .NET 2.0 define a UsernameToken class anywhere? Or is there any WSE for 2.0?