asmx

webservice deployment issue

I deployed webservice written in .net language through IIS from my local machine,Is there any possible way to access remote HTTP server which contain different OS and different technologies ...

Weird issue; Button click, Jquery to consume ASMX

I'm having quite a frustrating problem that I'm sure is TRIVIAL. Whenever I move this jQuery post inside the click function it sometimes works, but most of the time does not. If I move it outside it works and posts and gives a response like it should everytime.. ::boggled:: Someone please enlighten me. $(document).ready(functi...

Time and date generation webservice

Can any one give me the code of web service (.asmx) for generating Time and date of a city, if I enter the name of a city in any part of the word.. Means in the web service consuming side.. say a Windows application I am reading the name of the city and I am sending it in to web service ...

ASMX + external dll

I am working on Silverlight client to Microsoft Team Foundation Server. I am using an ASMX web service to make the actual calls using the TFS api. Everything works fine when I run it with the visual studio development server, but I cannot figure out how to deploy the app to IIS. I can get the ASMX web service to work unless it is a ca...

Update webreference gives troubles with different versions of dll

In my application, I use some dll, let's say library.dll, version 1.0 In my webservice, I also use library.dll, but version 2.0 When I do an update of the webreference, the classes inside of the dll are also generated in the webreference. And this gives troubles because in my application, the classes that are defined in the dll now are...

Remove field in wsdl in Asp.net webservice

I'm generating dto classes with a template engine and would like to exclude some properties in an asmx webservice, what, if possible, is the best way to do this? Ex: [WebMethod] public ProductPackages GetPackages() { ProductPackages packages = new ProductPackages(); packages.Packages.add(new PackageDTO()); return packages; } ...

how to talk to an asmx service using C++

I have an existing asmx Web Service I need to acces from a native C++ implementation ( no it cant be c# ). What are my choices ( Visual Studio User here ) to do this as fast as possible ( anything that does the add aweb reference equivalent would be lovely ) Thanks ...

ServiceContractGenerator vs ServiceDescriptionImporter

I'm trying to build a light-weight SOAP client without using Add Service Reference. Ideally, this client should work for as many services as possible. Currently, it uses ServiceDescriptionImporter to generate the service assembly. Unfortunately, this doesn't appear to work for WCF services. Someone recommended that I use ServiceContractG...

login credential checking webservice

i created a website which contain 'name' label which has a textbox for entering name.And along with this one i have one more label 'password' which contain a textbox for entering password..Can any one give me a code for a webservice which need to check whether this value is existing in database or not ...

WCF - ASMX - CommunicationException

So I've got a WCF client consuming an ASMX web-service. Everything works fine, except exception handling. Where I should get a (non-contractual) FaultException, i get the CommunicationException. What may be wrong? Here goes the relevant data: SOAP response (seems to be according to specification): <?xml version="1.0" encoding="utf...

How to restrict asmx web services to be SSL Only

Hi, I've got an ASMX web service that works great through an SSL conection, but I would like to make these web services inaccessible without SSL. In web forms, I would just use the following code: if (!Request.IsSecureConnection) Response.Redirect ("SomeOtherPage.aspx"); I know that WCF promises to be better in every way, but it's a ...

How do I return multiple database rows in an asmx web service.

I can return a single value in my webservice, but I can't figure out how to return multiple rows. I have an ILIST collection of the data from my database. ...

Re-style default asmx color scheme

When you create a web service using .NET 2.0 (or 3.5), it generates a .asmx file for you. When this .asmx is rendered in a web browser it shows up with a dark blue border at the top and the name of the web service, like so: Is it possible to restyle this page? I need to change the dark blue color to match the client's colors. Seems poi...

how to manage multiple ado.net database connections from asmx Web Service

Since IIS assigns a worker thread for each request I've intention to create new object to serve each request. I have 2 questions: Is it efficient to create new object to serve each request? (is there even alternatice?) Is it thread safe, efficient and best practice to create new connection, and open&close it for each request like below...

what is the right way to spawn thread for database IO in asmx web service?

Hello. I have a short lock guarded section in a method (that serves the request entirely) that makes all initializations (etc. log-related). So only 1 thread can be there at time. In this section I also load system data from database if not loaded. This is naturally executed only on 1st request and it does not matter it takes time and n...

How to consume different proxyclass versions (production or test) of ASMX webservice

I've got an ASMX webservice as a separate project in Visual Studio 2005. In pursuit of "assembly separation" per a CODE Magazine tutorial, my proxy class is in a separate class library project containing no code of mine - just a web reference named ASMXproxy with the associated reference.cs, app.config, .disco and .wsdl files. Thus, when...

Is it possible to share type between ASMX code generated proxy and a type defined in another assembly?

Possible Duplicate: http://stackoverflow.com/questions/561867/sharing-data-types-from-multiple-web-references It would be better to start my question with a simple diagram: Client -assembly 1 --SharedDataType.cs (SharedDataType class definition - extension) -assembly 2 --CodeGeneratedFile.cs (SharedDataType class definition - code gene...

Client calls .asmx, Server exposes WCF endpoint

We have a client that has been configured to connect to an asmx service. We don't want to ask our customers to update their configuration, but we would like to upgrade our service to use WCF. Does anyone know if WCF supports this? If so, what would the configuration file look like? Our asmx service looks like this: <bindings> <bindi...

How can i write a Nusoap client script for asmx web service?

I need a php client base on nusoap lib. to get a asmx service response with haeder auth enabled: This is the Request (using soapUI): <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:res="namespaceurl"> <soap:Header> <res:AuthHeader> <!--Optional:--> <res:UserName>myuser</res:UserName>...

Can't create directory via asmx web service.

I am trying to create a directory and then write to it via an asmx web service. It works fine on my dev pc, but when I publish the service to the server, I keep getting access denied errors. I have gone in to IIS and made sure the service has write privileges. I also gave write access to all users, but am still getting the same error....