web-services

System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.ArgumentNullException

I've been getting the error: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.ArgumentNullException When I try to call my webservice using the following code: { //Create an echoSync request - set the services. ServiceNameType sourceService = new ServiceNameType {Service = "echoSync...

WCF Service Max number of Methods

Maximum of how many number of Methods, in a WCF Service be implemented. ...

How to abort the call to webservice at both client and server end?

I can abort the web service call from client by calling ABORT method of web service proxy. However at server where web service is hosted, the call only ends when it completes the processing. As server doesn’t expect any other inputs related to already called web method while processing it, I am not able to close it from client. Is the...

What Class for Serializable Multidimensional Arrays?

EDIT: See Below I have a web service which uses a class of functions in order to return data used in various business processes (via InfoPath). One of the functions takes a given SQLCommand object and executes it into a SQLDataReader. Now depending on the SQL command text used this may return one or many rows of one or many columns....

Silverlight, EDM/LINQ, and WCF Web Service - How to pass collections to Silverlight

What is the proper way to pass an answer (a collection) back to Silverlight? For example, if I have a service application that sits on top of the Northwind sample database and the service has a method called GetEmployees(). What is the proper "thing" to pass back to Silverlight? An IQueryable ? Then considering the Async/Result casting...

C# SOAP Web Services client - example that shows how to log all raw SOAP intput and output?

I'm looking for a C# example showing how to access a remote SOAP Web Service, and logging (to a file, or even just to a string I can do whatever with) all complete raw SOAP requests and complete raw SOAP responses. I found some other posts on StackOverflow with similar topics, but they seem to reference a web.config file, which my desk...

Is It Possible to Update a WCF Service Reference in a Web Deployment Project

I think the question title neatly sums up what I am after. I have a web app and a service and I would like the build script to check if the service has been updated since the last build and if so, run the "update service reference" script that is available when you right-click on a service. Any ideas? ...

When I use a dynamic class for my WebService arguments, the public properties are not included

I have a dynamic Class that is a Value Object that is used to pass arguments to a WebService. It has two public properties: package { [Bindable] public dynamic class WebServiceCriteria { public var property1:String; public var property2:String; } } I set these two properties in one part of my applicati...

Simple Java Web Service client over HTTPS

Hi all, I am connecting to a simple XML over HTTPS web service and getting a security exception. My question is whether you think the cause of this is the cert on the web server, so I should talk to the server admin or if my client code should be handling this. I would love to hear if anyone has encountered and solved this issue. Is the...

How can I share Linq to Entities datacontracts between WCF and Silverlight

0 vote down star 1 I want to be able to share my datacontracts (classes generated in the linq to entities designer are decorated with the [DataContract] attribute. I'm trying to use the architecture as detailed here: http://www.netfxharmonics.com/2008/11/Understanding-WCF-Services-in-Silverlight-2 and trying to reference my interfaces...

How do I investigate my java-based web service from .NET?

I have publicised a Java method as a Web Service and I use the Web Service Explorer in Eclipse to invoke it and it works as expected. See http://soa2world.blogspot.com/2008/05/soap-client-eclipse-web-service.html for screen shots (not taken by me). To ensure that this will also work against clients written in .NET I'd like to repeat th...

High number of persistent connections

Hi guys, I'm setting up a project and one of the main questions is how to implement a simple message queueing system (something along the line of a messenger chat system). I would like to avoid polling, but there will most likely be a lot of concurrent connections (tens of thousands). These will be HTTP+SSL connections, started from an a...

Is there Java CAPS equivalent from .NET

I am looking for an integration framework for building and managing SOA composite applications consist of exposing web services, calling 3rd party web services, performing business logic and invoking database. It is similar to Sun Java Composite Application Platform Suite (Java CAPS). ...

What is the simplest way to set up a query form online to then plug into Access?

I want to experiment with putting a form on a website. Then take the answers from the filled form and viewing those answers in Access to be linked directly into a db. Any ideas? How do I create the form, ASP, html? I know connection using ODBC from ASP to Access can work - I need more info around the issue generally.. alternatives etc....

Building or Finding a "relevant terms" suggestion feature.

Given a few words of input, I want to have a utility that will return a diverse set of relevant terms, phrases, or concepts. A caveat is that it would need to have a large graph of terms to begin with, or else the feature would not be very useful. For example, submitting "baseball" would return ["shortstop", "Babe Ruth", "foul ball",...

using asp.net mvc for REST based endpoint

I'm looking at using ASP.Net MVC as a platform for a REST based Service. I know WCF has built in support for REST services; however, I'm looking at returning multiple types of data depending on the request. I would like the client to request the content type. So if they send text/html for example I would render my model into Html, if t...

Locator and stub class while migrating client side application from Axis to Axis 2

Hi everyone, I’m trying to migrate a client side application from Axis to Axis 2. The application also supports connection through RMI so previously, we abstracted away the connection by using the stub and the locator file. For example, we did something like the following: AddFunctionLocator locator = new AddFunctionLocator (); AddF...

How to handle db constraint violations in the user interface?

We implement the majority of our business rules in the database, using stored procs. I can never decide how best to pass data constraint violation errors from the database back to the user interface. The constraints I'm talking about are tied more to business rules than data integrity. For example, a db error such as "Cannot insert dup...

Advantage of the asp.net from other technology

Do you know what the advantage of asp.net from other technology? ...

Does everything go through the bus?

We have introduced BizTalk into our organization as a Service Bus, it is linking a new Web GUI to numerous existing back end systems. We have wrapped our existing systems as Services (WCF) and connected them to the BUS. We are also replacing some of the legacy system GUI's with our new web GUI (ensuring we replicate existing functionali...