I'm trying to send a hashtable to my webservice using JSON. However, you can't send a dictionary-type object (for some reason).
A solution that apparently works is "List(Of KeyValuePair(Of String, String))", as output anyway:
<WebMethod()> _
Public Function test() As List(Of KeyValuePair(Of String, String))
Dim ret As New List(Of K...
Duplicate:
http://stackoverflow.com/questions/351334/web-service-vs-wcf-service
What is the difference between WCF service and Webservice ?
...
This question relates to this question which I asked earlier this week.
The answer given was correct, except I forgot to mention we were not using WCF, but regular XML Web Services, where there's no [DataContract] - all methods are simply prefixed with [WebMethod].
Is there any similar way of handling exceptions using this service? The...
Guys
I have a web service in asp.net 2.0 that has 234 methods. It seems that when I add another method the site does not compile in VS2005 until I remove one first. I get a message saying that the new method I just added does not exist in a file that belongs in the Microsoft.Net/.../Temporary Files directory. I have restarted IIS, close...
I have a problem with a Coldfusion webservice I've created. The service accepts XML data, BASE64 encoded, and then writes it to disk for archive purposes. This file then undergoes a basic schema check and any errors are reported back to the user as follows:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
...
I have an irritating problem, I'm creating an asp.net web service; this service should expose the functionality of an existing library, the service allows users to Upload files to our server by invoking the UploadFile method on the service. Here's the signature of the UploadFile method
public bool UploadFile(string bucketName, string d...
In the project I am working I have deployed a SOAP server using Deployment Descriptors (WSDD) files. To do that a webserver (e.g tomcat, jetty) is started and then the following command is executed:
java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient deploy.wsdd
What I need is to skip the above command to avoid a call to the Ax...
I need to send a binary attachment to a JAVA webservice via SwA (Soap with Attachments). After discovering that .Net does not support SwA I am writing my own client. How do I encode the binary MIME attachment, so that the Java service will be able to decode it?
...
I have created an asynchronous web method in one of my web services, which I am trying
to call from Javascript.
The problem is that the proxy script generated for the client includes two methods
instead of one.
For each asynchronous web method I define a BeginXXX and EndXXX, where XXX is the method name. When calling the web service from...
I'm writing a service that allows users to register with it and receive notifications when an event happens. I'm trying to do this with netTcpBinding, but keep coming up with errors, even when running on my local machine.
When I try to send a notification, I am timing out, getting this error:
Stream Security is required at http://w...
Is there a way to have a web service (WCF/ASMX/etc) call do some processing after it returns it's results? Note I'm not looking for a asynchronous calls as the client needs the result back ASAP, before the the extra processing is done.
The primary constraint is that as far as I can tell, the only way for me to run code on my server is v...
I am implementing a WCF service (Contract A) that will eventually make calls to a standalone service (Contract B) hosted by the client. At design-time when the client queries my service's WSDL to build its proxy, I'd like to include the WSDL for Contract B so the client can build its service around that. Unfortunately, I can't figure out...
Is it a way to stop IE to create a new instance everytime it encounters a popup window? I'm debugging two Silverlight applications at the same time. The first one creates new popup window with the second one. Debugging works fine in FireFox because it does not create a separate process. But IE creates new instance and of course Visual St...
I have a web service that is working fine in one environment but not in another.
The web service gets document meta data from SharePoint, it running on a server where I cant debug but with logging I confirmed that the method enters and exits successfully.
What could be the reason for the errors?
The error message is,
The formatter th...
We need to access a legacy webservice that uses the RPC/literal webservice style and also to provide webservice endpoints for it. If you use webservices of document/literal style with Spring WebserviceTemplates / WebserviceEndpoints, you can use JAXB2 to generate / marshal / unmarshal the webservice requests. But how do you do this with...
Some background:
I have a windows service with 5 web references, Everything works great in several environments Dev,Test,QC. Dev and Test are running windows 2003, QC and PROD windows 2000. We pushed the service to production with the same set of assemblies and config files and are receiving this error. The exception is not consistent th...
Hi, all!
Can you anyone point me to specific books or maybe give me a quick overview of how architectures of data-driven iPhone applications look like? For example, let's say you're implementing an application that searches online shopping sites and gives you recommendations..etc. Is it a common pattern to establish a hosted back-end of...
What is the best way to return multiple values from a WCF service?
...
Just wondering what are the most useful resources you've seen for learning about WCF?
I've created a few prototypes and understand the basics, however I'm starting a fairly high-profile project and would like to fill in as many gaps in my knowledge as possible.
...
I have a web application that uses the Web Service created in ASP.NET. In this, web service I want to pass an collection object of Key Value type (i.e. something like Hashtable or Dictionay).
But we cannot use objects that implements from IDictionary.
I do not want to create a serialized class in my web service.
Can anyone suggest me th...