ASMX Web Services and XML Serialization,122 - .NET Development,
Recent update: 2008-3-21

How to know if client loses connection, etc

747 byte By TylerFrugia at 2008-3-7
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 ...

IIS with Authentication causing issues....

1077 byte By TylerFrugia at 2008-3-6
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 ...

Order of webmethods

295 byte By SwamyKanakala at 2008-3-5
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

.NET 2.0 Error

1109 byte By lumstar at 2008-3-3
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 ...

Web Service and Application Security

1536 byte By JosephGeretz at 2008-3-1
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. ...

Can't run web services locally.

454 byte By KenDopieralaJr. at 2008-2-28
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 can't find the DataContract attribute

182 byte By el_richard at 2008-2-27
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.

refresing page (F5) should redirect the user to a different page

129 byte By khawaryunus at 2008-2-26
Hi, I want my ASP.net C# application to punish the users who refresh page using (F5) by redirecting them to a different page

calling Java services from .Net

121 byte By MehulShah at 2008-2-25
I would like to know if anyone has any experience calling Java services from .net and any available code samples?

Web Service Security

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 ...

How to consume Webservices

702 byte By PaulDomag at 2008-2-23
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 ...

Middle Tier and Whidbey

318 byte By AymanFarouk at 2008-2-22
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. ...

loading usercontrol programatically

4546 byte By zeeshanhirani at 2008-2-22
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 ...

Web Services .net framework 2 over SSL

1263 byte By Dave_Bates at 2008-2-21
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 ...

Writing a C# SOAP client over SSL

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 ...

Writing a SOAP client over SSL

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 ...

Creating a Web Service

1515 byte By dalmond at 2008-2-20
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 ...

Is asp.net installed?

192 byte By Softvenue at 2008-2-19
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

Query Notification Using Through Web Service

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

Abt Web service security?

672 byte By Prajakta at 2008-2-17
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 ...

"Unauthorized" when calling a Web Service from ASP.NET in the same solution.

1767 byte By ChrisMullins at 2008-2-16
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 ...

Web Service as a designer in 1.1 and 2.0

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 ...

Web Services .net framework 2

729 byte By Dave_Bates at 2008-2-15
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 ...

How to log Soap Message created by .Net Client's Proxy Class

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>

webservice architecture help

1058 byte By turbofreddan at 2008-2-15
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 ...

Preparing a Web Service and VB.Net client for easy deployment.

1043 byte By Hughsieman at 2008-2-15
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 ...

unable to connect message ... running web services

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 ...

Need Header File for WSE2 for VC++

174 byte By ChrisPeto at 2008-2-14
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

Serialize read-only properties

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 ...

VS2005 - I cannot add a new web form, master page, web service, etc - object reference...

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 ...

Returning a custom class object

898 byte By Glenfar at 2008-2-12
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 ...

Updating Data Via Web Service

967 byte By picoSam at 2008-2-11
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 ...

Web services in .NET 2.0

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>

Interesting architectural problem

1092 byte By Todd.Net at 2008-2-10
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 ...

class library

298 byte By joesun99 at 2008-2-8
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

Error calling BEA WebLogic WS from VB.NET

870 byte By TheMadTexan at 2008-2-8
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 ...

Secure Conversation doesn't work with second web service

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 ...

Adding cookies to Webservices

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 ...

Refactoring Web Services Interfaces

584 byte By MarkA.Richman at 2008-2-7
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 ...

Can I depoly WSE 2.0 in ClickOne?

42 byte By Kennon2005 at 2008-2-7
Hi, Can I depoly WSE 2.0 in ClickOne?

FileNotFoundException while calling web service from web service

2092 byte By Heikki-PekkaNoronen at 2008-2-6
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 ...

Webservices calling another Webservices

2011 byte By MeMyselfNDotnet at 2008-2-6
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 ...

How to remove "charset=UTF-8" from Content-Type

547 byte By Simon_E at 2008-2-5
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 ...

Compatibility: Duplicate delegates generated

3539 byte By Todd.Net at 2008-2-5
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 ...

Adding Webservices VS2005 beta2 problem

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 ...

Client Certificate

510 byte By Sathiyarajan at 2008-2-4
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 ...

invalid operation exception

946 byte By ivycress at 2008-2-4
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 ...

Can't drag from Server Explorer to Web Service Designer

86 byte By ArtHill at 2008-2-4
So the Distributed Application Walkthrough documentation needs to be rewritten.

Client Authentication using X509

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...

UsernameToken WSE and .NET 2.0

81 byte By JuanRoman at 2008-2-3
Does .NET 2.0 define a UsernameToken class anywhere? Or is there any WSE for 2.0?

.NET Development

Site Classified