web-services

Is is possible to provide REST and SOAP and AMF (BlazeDS) services from the same WAR?

Is there any issues with providing several different formats of web services from the same application server? ...

Web Service: Single String Parameter Or Complex Type Parameters

Is it more or less acceptable (i.e. standard) to create a publicly-exposed web service with these method signatures: ThisMethodDoesSomething(ComplexType param) ThisMethodDoesSomethingElse(AnotherComplexType param) Or this: ThisMethodDoesSomethingAndSomethingElse(string xml) Where the operation being performed depends upon the XML ...

Access 2007 web service.

I know that you can make a add-in to communicate with web services but is there one built that you can download and go? ...

How can I add a web service project using Visual Studio 2010?

I don't want WCF, I only want web service. Thank you. ...

List documents in Sharepoint Documents Management via SOAP

Hi there we're working on simple integration of PHP basad application with Sharepoint Document Management system. The idea is to be able to: I. create a subfolder in Sharepoint DWS from PHP - we have this point working. II. list documents of a particular subfolder of DWS (and have a direct links to these doc on sharepoint) We have de...

Calling a web service that requires basic http authentication from wcf client

Hi, I have a wsdl from a web service, I generated the wcf proxy. No problem. But I can not get my head around how to pass the user name and password. The webservice requires basic authentication - only username and password. Any help ? ...

Difference between two methods of creating a Web Service in VS2010?

Somebody asked a question about how to create a web service (as opposed to a WCF service) using VS2010, and I answered it HERE. My extended answer to the question wonders about the difference between a web service created using the .NET 3.5 Web Service template, and one created in a .NET 4 Web Application template. The former has assem...

Anybody knows any well-tested service that has opensourced its API?

I have a dataset and I want to create an API (RESTful web service) around it. However, I don't want to start from scratch as I believe this has been done zillions of times already. Does anybody know any well-tested service that has opensourced its API? I see that people normally release a reference implementation for their clients (like...

How to build a SOAP Web service Client in SEAM

Hi everyone! I've been looking all over for this question... How do I build a soap web service client in SEAM?? it seems like a straightforward question-answer but I cant seem to make it work no matter how I try... If anyone has an example of what should be done I'd really apreciate it because I need to consume a web service from a legac...

Invalid or Expired Security Context Token

I am trying to write a client to consume a .NET service secured through https and WS-security. (I don't have control over the server.) We got everything communicating properly when we drop SSL and WS-security; then we got everything communicating properly when we added SSL. Now we're trying to add WS-security, and can't get it to work....

C# - How to make this thread wait?

I have this: public class ServiceLibrary { public object result = null; private bool finished = false; public void testar() { ServiceReference.Service1SoapClient serviceReference = new ServiceReference.Service1SoapClient(); serviceReference.updateUserCompleted += new EventHandler<ServiceReference.updateUse...

Is JSONP only meant be used for completely public APIs?

Hi, I've developed an API with WCF Data Services which exposes my website user's data. The data hosted there belongs to each user and is not public, so the API is secured with API keys which are unique to each client and http header or GET parameter based authentication. Now I am wondering if I should enable JSONP on my API. It seems ...

How do I run Apache (httpd) and Tomcat together?

I recently got projects that runs on Struts and I am expecting more JSP coming ahead. After googling the question, I was led to blogs of people who tried to do the same. Those blogs weren't exactly a step by step procedure of how they did it but more like a reference in case they need to do something the same in the future. In some cas...

How to implement asynchronous request response in REST based web service

I have a REST based web service system. I need to find a way to support publish/subscribe model here. As you know REST the communication between client and server is HTTP protocol. I use apache (PHP) web server in the backend to server all REST requests. The question is how to use PHP or whatever (in the web server side) to support this ...

Error browsing web service and how to configure web site in IIS 7.5

Hi, I have a problem. We recently migrated our web site solution from asp.net 3.5 to asp.net 4.0. The web site have a web service that I have added a new method to. On my local machine (Windows 7, VS 2010,.NET 4.0, IIS 7.5), I have no problem browsing our web service when I use the Visual Studio Development Server, but when I check the...

How to validate Multiple Ids in the Webservice Method

hai Friends I am using this coding for validating the emailID online through webservice method.i will get a input a from a textboa and the click the button.but it is validating the emailId only one at a time.how to vaildate multiple EmaiIDs and validate and return the values.or how to split the ids and validate let me know. The webser...

PHP SoapClient Timeout

Is there anyway for a SoapClient Request to time out and throw an exception. As of now, I get PHP Server response timeout, in my case 60 seconds. Basically what I want is, if there isn't any reply from the Web Service within certain time, an exception would be thrown and I could catch it. The 60 seconds warning is not what I want. Is it...

What's this web service protocol? Unfamiliar XML Format

I'm following a document to send a request to a web service, but I'm confused about it's protocol. It's based on HTTP, but it's not in SOAP format nor XML-RPC. Is it in an standard protocol format or they just implement their custom protocol? Here is a sample request: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns2:WebSt...

passing Dictionary in WCF service

How to pass a dictionary in a method in WCf ... I'm doing this public void SendData(Dictionary<string, string > data) { foreach (KeyValuePair<string, string> item in data) { Console.WriteLine("{0} : {1}", item.Key, item.Value); } } When I access it as 192.X.X.X//Akhil/service.svc/SendData?data={} here What/How shou...

Delphi: Receiving arrays in web service functions

I need to be able to receive a array (preferably a two dim array) in one of my functions in my webservice. I've tried looking on the internet, but could not find a example piece of code. Using arrays is fine and normal, but do not have an idea how to make my webservice access them as part of the function parameters. It only needs to be ...