web-services

Calling web service asynchronously still hangs application

I have an aspx page with three input buttons. The first button, using javascript/ajax, fires off a call to an IHttpAsyncHandler. The Handler calls a web service on another server (which generates a report and returns the path to the report file). In the ajax callback, XmlHttp.responseText returns the proper path and a window.open(pat...

What is the best scalable architecture to build services for Windows Phone 7 apps to connect to?

I want to build my first Windows Phone 7 application and I'm going to need a service backend. Should I be using something like NServiceBus? WCF? Any suggestions would be helpful. I'm guessing the Cloud (Azure) would be the best place to host this service? ...

Writing a windows web service and not sure what language to use?

So I am required to write a fairly basic Windows service and have never done so before. Of C#, C++ (the Visual Studio suite), what is the best language to develop in? I am a student, and am most familiar with OO languages such as Java. Additionally, if anyone can recommend any books, articles, or google searches that would be relevant t...

A means to access my db in python - what is my problem afterall?

I have a remote database (at the moment sqlite, but eventually mysql) that I want to be able to call from a webpage dynamically. Basically to query for data that will populate goog viz charts etc on the page (and possibly images). I have a small, slow server that i can basically run anything on. I've also located the python lib that let...

Azure Web service on same domain as web page

I have a JSON web service that I want to run on the same domain as my Web page. Both are to be used in Azure. They need to be on the same domain because since Im doing a JSON call, JSONP is not an option atm. I was thinking that my web would have the address http://example.cloudapp.net/, and my Web Service should have the address http:/...

Do subdomains have a part in cross-browser restrictions when calling webservices from Javascript?

Hi guys, The scenario is this: My html page is on http://www.mydomain.com/somepage.html Using jQuery, I call a webservice on: http://subdomain.mydomain.com/webservice.asmx/somemethod At the moment this is not working. I suspect that the subdomain is breaking a x-browser restriction. Any ideas? It is working locally when the html p...

Is JBehave a good choice for Web Service Automated Testing?

Hi All, We have a requirement at my workplace to automate the webservice testing. We have been using QTP scripts to do so. We as a team, Kind of leaning towards Jbehave as a choice. Is JBehave a good choice for web service functional testing automation? We do use Soap UI to test manually. But we are planning to automate the functional...

EclEmma JAVA Code coverage - Unable to coverage service layer of RESTful Webservice

I am using EMMA eclipse plugin to generate code coverage reports. My application is a RESTFul webservice. Junits are written such that a client is created for the webservice and invoked with various inputs. However EMMA shows 0% coverage for the source folder. The test folder alone is covered. The application server(jetty server) is st...

Unable to connect to Web Service deployed on Internet using Apache CXF client

Hi, I am trying to connect to a webservice deployed on internet. This webservice when deployed on interanet is accessible, however, when it is deployed on internet is not accessible. It is due to proxy settings required on the client program. Could you please let me know, how I can provide proxy settings in a webservice client program?...

Creating Versatile Web Services sustaining high load - .NET

Hello I've a multi user web tool which makes use of a intermediate web service to communicate with an external datasource. The application makes frequent calls to the web service and it may involve intense data transfer, sometimes. I want to make a scalable architecture where thousands of users can make use of the web service at the sa...

Programmatically call webmethods in C#

I'm trying to write a function that can call a webmethod from a webserive given the method's name and URL of the webservice. I've found some code on a blog that does this just fine except for one detail. It requires that the request XML be provided as well. The goal here is to get the request XML template from the webservice itself. I'm ...

How to host autonomous SOA agents on Windows?

We need to notify other systems when certain events happen, for example when we receive a file or when some database state changes. We currently do that using Windows Services that poll for whatever is necessary, then call web services to notify our integration partners. I think Thomas Erl calls this "SOA agents". It seems to me that ...

TRemotable Descendant Parent Members are not included in WSDL generated by delphi web services.

I've made Web Services with Delphi in the past but most were pretty simple that just took a few parameters and returned a single value to the client. A new service I am working on calls for me to be able to send and receive complex types. Consider the following types are defined in my code: TBaseRequest = Class(TRemotable) private ...

Web service accepting an immutable object

Is it possible for a .NET web service to accept an immutable object (or an object containing references to immutable objects) in a web method? For example, if this is my web service method: public class MyWebService : System.Web.Services.WebService { [WebMethod] public void SetStatus(StatusData data) { // do somethi...

Which XML-RPC library do you recommend for Android?

I need to make my client talk to a XML-RPC service. I found a couple of interesting ones on the web like android-xmlrpc. Have you used any such libraries in your code? Which library do you recommend? ...

Where to start with web service development?

I am currently working on a project that is very new to me, and I feel a bit over my head as far as knowledge base is concerned. My request is for references and information to help me expand my knowledge base, as well as recommendations for technologies and methods. I have experience primarily with Java, so all this Windows service stuf...

Consuming a ASP.NET MVC 2 JsonResult like a web service in a web forms C# application?

A friend wants to consume my ASP.NET MVC 2 application in a similar fashion as adding a web reference to it, accessing my functions, and using my model objects from a .Net web form from a separate website. Any links out there that could explain how to "dress" my MVC responses so that his server to server consumption would be similar in ...

Is it possible to setup a .NET4 webforms route to an asmx endpoint?

Is it possible in my RegisterRoutes method in global.asax, to map some routes to an asmx? Ideally I would like to do something like: routes.MapPageRoute("ServiceSearchCats", "services/search/cats", "~/Services/Search.asmx/Cats"); (and therefore my endpoint for the service becomes "http://mydomain.com/services/search/cats", instead of...

error while soap request call

Hello. I am trying to make a soap call. Its a very basic call wit Welcome User output. The return value is in xml format. and i am getting the following error. can anyone plz tell me what this error means. The following code shows the soap request and post request that i have made NSString *soapMessage = [NSString stringWithFormat: @"<...

Can I use WCF in this case?

We have a third party application that provied its web services to us by ASMX and it is created at the time of .NET 1.1 in the old days we were using VB 6.0 and connected to it by a PocketSOAP, etc... bt now we want to replace the VB 6.0 with C# 3.5 WinApps and still use that third party web services. so I wish to know what are my optio...