web-services

Visual Studio 2008: how to consume or call Web Service?

I used to be using visual studio 2005. Sad news is, I am using VS2008 and I need to call a web service. can someone paste same code snippets? Why did I get a negative -1? ...

Where to go to learn about web architecture? Youtube example?

I'm trying to build a web application that is similar to Youtube (it's not a knock off), but I guess I don't know how video is served on the internet very well. I know how to build regular database driven web applications, but nothing like the scalability of Youtube. All of the applications I have built before have all been run on one s...

error occured while consuming a webservice hosted in Azure

Hi, I have created a web service which is internally consuming SSDS service (https://database.windows.net/soap/v1/). I was able to sucessfully host my web service in cloud also placed client access policy and cross doamin policy in place. But when I am trying to consume this web service in Silverlight hosted on cloud it its throwing exc...

How to consume a webservice from an EJB

I am currently trying to wrap my mind around Java EE 5. What I'd like to do is create a sample application that offers a simple stateless EJB (e. g. a simple calulator with an add() method) expose this add method as a webservice consume this webservice from another EJB The first two steps are easy and I can deploy and test this bean ...

Returning a stream directly to the web browser

I am generating a file on the server and I do not want to write it to disk but instead return it to the client via a web service. What recommendations would you have to do this? ...

How to call a web service with no wsdl in .net

I have to connect to a third party web service that provides no wsdl nor asmx. The url of the service is just http://server/service.soap I have read this article about raw services calls, but I'm not sure if this is what I'm looking for. Also, I've asked for wsdl files, but being told that there are none (and there won't be). I'm usi...

X509Certificate2 validation on web service

Hi, I'm developing WCF web service that checks if a certificate in XML signature is valid. XML is signed with qualified and valid X509 certificate. While I am running service within Visual Studio development environment X509Certificate2.Verify() and X509Chain.Build() methods return TRUE. But when I publish my service under IIS these met...

Converting programmatic configuration of WCF service to config file

I have written a simple WCF web service which is configured programmaticaly. It exposes three endpoints which bind different bindings to the same contract: WebHttpBinding WebHttpRelayBinding (over Microsoft azure) myBinding (self-made binding in an additional DLL) The configuration code is pretty straight-forward at the moment: WebS...

Web service throwing an exception?

Ii have a web method that looks like this: [WebMethod] public int ImportData(System.Collections.Generic.List<Record> importRecords) { int count = 0; if (importRecords != null && importRecords.Count > 0) { DataLayer datalayer = new DataLayer(); foreach (Record rec in importRecords) { datala...

Performance problems with external data dependencies

I have an application that talks to several internal and external sources using SOAP, REST services or just using database stored procedures. Obviously, performance and stability is a major issue that I am dealing with. Even when the endpoints are performing at their best, for large sets of data, I easily see calls that take 10s of secon...

Consuming Zend_Rest_Server response with jquery

Is there is standard way to consume Zend_Rest_Server response with jquery? I have a simple web service that I need to invoke and process result with ajax, preferrably JQuery. I assume I can parse xml response somehow, but that doesn't look like a mature solution. ...

Is there a crowdfunding web service for programmers?

Just wonder if there is a kind of www.sellaband.com for developers. Imagine you are running a small web service as your hobby with a bunch of happy users. Now those are asking for a new feature which will take you 400$ to implement based on your hourly rate. You want to answer: Just go to this site, invest some money in my feature fund...

How to return a file via Web Service

I am working on a Web Service where the user would input parameters and have the option of have the data returned in various file formats (xml, html (on screen), csv, etc.). If the server generates the file content (and therefor there is no actual file), then returning a URL to the file is not an option. So how can this be done? I kno...

How can I describe a web service in plain english?

Hi, I'm looking to document a few simple web services to a (mostly) non-technical audience. The rub there is "mostly". Some are very technical, and I want the form of the documentation to be correct and not to alienate them. I can't claim to be hugely technical myself, but what I want to get across is the content of the data that is e...

.net WebService URL Issue

Hello, I have a WebService written in VB.net with couple of webmethods and I published the WebService to the IIS. The URL for wsdl is http://mywebservice/DataPort/portData.asmx?wsdl There are couple of Java applications that are consuming the above mentioned webservice. The Java team wants the URL to end with portData?wsdl instead of ...

How can I stop my ASP.NET webservice from returning xml data?

Hi folks, I've got a simple ASP.NET webservice. I'm wanting to return a string of json as the result. By default, my webservice is wrapping my json result in some xml. eg. <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://webservice.streetadvisor.com/"&gt;{.... json result in here ... }</string> Booo. Is there any way i...

ASP.NET 3.5 WebService Compression for Flex

We have Flex applications that connect to our ASP.NET 3.5 Web Applications and usually download lot of data. Now considering XML as transport, for every item, it transmits meta data twice for example.. instead of transferring int value as <Customer CustomerID=23/> it transmits <Customer><CustomerID>23</CustomerID></Customer> .. now here ...

C# Web Services Deployment Version Roll Back / Removal

OK, Apologies if this has already been asked and/or Answered but I'm struggling to find the right situation to the problem that I'm investigating as the correct terminology is hard to come by! I have been tasked into looking for a Roll-Back solution for our deployment if for any reason we have an unsuccessful release. Other than heavily...

User Surveys for Startups

I'm looking for some sort of survey service, like http://surveymonkey.com but focused on start-ups and user polls. Is there anything out there better suited to collecting user opinion for the sake of business/product planning? ...

how to run metro webservice on jetty in Maven project??

how to run metro webservice on jetty in Maven project?? ...