web-services

ASP.Net Membership provider in WCF (WebHttpBinding)

Hi, I'm developping a WPF application that needs authentification. I want to use the client application services to use the ASP.Net Membership Provider (see this link if you don't know what I'm talking about). Actually, I made my own provider based on the MembershipProvider. It works perfectly with a ASP.Net projet. But now, I don't w...

Consuming Web Service from javascript in .net page

How to do it? I am completely new to this and wish to start learning it. I am going to have a tree structure, most probably a html/Javascript tree which will need to be saved into the database through Web Services. What is the most efficient way to do this with ASP .net web services + asp.net 3.5? UPDATED: thanks for all the answers, I...

Multiple applications sharing same configuration files

In my production environment I have several Web applications installed in the same machine. These applications access various web services and two SQL Server databases this means that my web.config files are very big and full of details. Besides this I also have windows services that consume the same web services and access different da...

Beginner to PHP web services

What is the best way to implement web services in PHP? I have heard about libraries like NuSOAP and WSO2 web service platform, But don't know what is the best ( or a good and easy to learn) for using web service in PHP? ...

Video encoding services

I need to be able to allow users to upload a wide variety of video files in various formats then clean them up and make them kosher for delivery to a dedicated content handler. I've tried ffmpeg onsite but it has some serious flaws in regards to h.264. Then I tried flixcloud.com which has a very good interface, api, and was looking lik...

how to send / get files via web-services in php

is this possible ? what is the correct way to send files ? thanks ...

i18n in web service

Hi guys, How you guys usually do i18n in web service? especially XmlRpc. You guys just throw code number (e.g Error 1011 - Password not valid) or what? [edit] The project that we worked on consists of 3 tiers: the presentation tier, the business logic tier and data tier, I will call them here the front, mid and back. The front is wri...

ASP.NET Web Services localization

I want to localize Web Service in ASP.NET application. I can write the following code to detect preferred client culture: CultureInfo culture = null; if (Request.UserLanguages!=null && Request.UserLanguages.Length>0) { string lang = Request.UserLanguages[0]; if (!String.IsNullOrEmpty(lang)) { try { culture = new CultureIn...

SharePoint : web service permission error

I have a sharepoint site, and I am calling a standard sharepoint web service. I create the web service request like this : wsDws.Url = this.SiteAddress + @"/_vti_bin/Dws.asmx"; When I use localhost as hostname it works, but when I use machine name I get an error 401 Unauthorized. I am setting the credentials like this: Networ...

Unity Container Disposing and XML Web Service

Hi, I am registering some wrapers over un-managed objects in container. How can I dispose of them at the end of the container's lifetime? Please bear in mind I have an XML Web service. ...

Java Bean web param not accepting nulls

The Java Bean web call is like this @WebMethod public void updateComment( @WebParam(name="Id") int Id, @WebParam(name="comment") String comment) { funct().updateComment(Id, comment); } After binding to the web service in visual studio, the call works fine unless you try to pass a null for the string commen...

C# View Complete SOAP Message Including Headers

Is there a way in C# .NET to view the complete SOAP message I am sending to a web service without digging through a bunch of properties in a Quick Watch window? I have added a web reference to a console app, generated the proxy classes, and I'm stepping through some code but how do I view what is actually being sent? ...

How to override target URI for a web service reference in VS 2008

This seems like it should be really simple, but I'm unable to figure this out. I am adding a web service reference to my console application. The web service points against our production environment and I would like to test it against development. In VS2005 it was really easy to override the target URI of the service. Is it possible t...

The name/identity of the invoker of a web service

I have a SOAP web service which I call from two clients using axis2. Can the web service know from which of these two clients the call originated from? If so, how do I know that during runtime? Is there any API provided to lookup the name of the invoker of a particular web service by that web service. Thanks. ...

Web service Bin folder

I created webservice which contain Add function as 'webmethod' when we want to deploy webservice we need to give web.config,app_data,app_code,.asmx file and Bin file in IIS right .But i am not able to see Bin folder in solution .Can any one tell me the reason why Bin folder is not coming ...

webservice deployment error in IIS

I created a sample webservice which contain default 'HelloWorld' function as 'webmethod' when tried to deploy webservice i gave web.config,app_data,app_code,.asmx file and Bin file in IIS .but i am getting this error Server Error in '/WebSite1' Application. Configuration Error Description: An error occurred during the processing of a...

SOAP and WSDL in webservice

I am a beginner to webservice concepts. Now I know how to deploy webservice in IIS. I checked the webservice URL There I can see SOAP protocol contents and WSDL (after url type ?WSDL). My questions are: Can I run the webservice by replacing localhost with my IP address any where outside systems Do I need to study SOAP and WSDL sepera...

ASP.net web services

I am using a web service which sets the Thread.CurrentPrincipal object while logging in and soon later when another webmethod of the same web service accesses Thread.CurrentPrincipal, its different/resets Can someone tell me if this is expected or can different webmethod calls from the same client can access the same Thread.CurrentPrinc...

can there be 2 webmethods with same name inside a web service in c#

I was asked a question in interview can there be 2 webmethods with same name inside a web service in c#. With function overloading it is possible but interviewer wanted an answer without using function overloading. My answer was No. IS it correct.Please comment. ...

UserName Authentication web services

I need to implement UserName authentication for my web service. Currently I am considering these two approaches SOAPHeader: http://www.codeproject.com/KB/cpp/authforwebservices.aspx UserNameToken: WSE 3.0: http://msdn.microsoft.com/en-us/library/aa480575.aspx Can anyone tell me pros-cons of these approaches? One of the major doubt ...