I am looking for any insight/direction on designing a simple web service. I would love to hear some thoughts on how to quickly get started, and what pitfalls to avoid. To simplify, here are the basics I'm looking to accomplish:
Service should provide a simple database query and multi-value response.
Service should provide a simple mult...
I have a Silverlight application that retreives a list of serializable classes. In these classes there are other serializable classes some of which are also in a list. The thing is everything works fine until I fill one of the list of serializable classes that causes the silverlight application to throw the exception "The remote server r...
This question is tied in with this other question that I asked
I have this webservice that returns a class that within itself has a list of classes. When I try to call the method the following exception is being thrown:
System.InvalidOperationException: The
type
YambushiDataClass.SCharacterProjectile
was not expected.
This i...
I'm currently working on an app that works with Twitter, but while developing/testing (especially those parts that don't rely heavily on real Twitter data), I'd like to avoid constantly hitting the API or publishing junk tweets.
Is there a general strategy people use for taking it easy on the API (caching aside)? I was thinking of rolli...
As I'm currently learning to use WCF Services, I am constantly encountering tutorials on the internet which mention using a ServiceHost when using a WCF Service.
What exactly is this ServiceHost ?
In my current project I am using a WCF Service and having a reference to it from my app and whenever I want to consume it from my app I ...
Hello and thanks for your opinion.
I am creating a webservice.
This webservice will accept a customer and the customers accounts along with a couple other related objects and attributes and such.
When the webservice recieves a request, I attempt to process it.
If there is no error I simply just return. If there is an error, I throw ...
Hello-
I've been creating a an application with C# using W2k8+IIS7/SQLExpress 2008/Web Service/Windows Client. I'll be very upfront in that I'm learning how to setup the SQL and IIS and the security for it all. I don't need tight SSL security or any of that, since this is an intranet page inside my company. I do know I setup SQL and IIS ...
My client provides various data related to a consumers shopping habits in grocery stores based on their membership.
One of their vendors wants to tap into the data and build an intranet site for the company. All my client is willing to provide is some form of web service so that the vendor could consume the data as they need and build ...
So I'm trying to learn Silverlight so I've built a simple demo app that pulls my home feed from FriendFeed and displays the items in a list.
I've got a listbox defined:
<ListBox x:Name="lstItems" Margin="5,61,5,5" Grid.Row="1">
<ListBox.ItemTemplate>
<DataTemplate>
<StackPanel Margin...
I am working on an application which uses tomcat as a web server and java swing app. as only client to communicate to the web server via webservices.
I am stuck in a situation where i need the server to somehow notify the client of some kind of updated event, that occurred on the server side. Something like reverse ajax or similar.
A...
I have made a window service, it is basically reading a temporary file on my machine, reading it to a database and then deleting it. I have written the code for these actions in the onStart method, hence I need to restart the service again when I need it to work, but what I actually need is that the service should automatically sense the...
I currently have a WCF Service with a CallBack Contract (duplex), and when I use the application that makes use of it on my computer everything works fine, but when I try it from a different computer, it doesn't connect.
These problems started occurring once I switched to using this wsDualHttpBinding (for callbacks) because when I used ...
I've got this class being provided by a web service that is then being consumed by a Silverlight app (I don't know if that's relevant or not)
[Serializable]
public class Entry
{
private string _title;
public string Id { get; set; }
public string Title { get { return _title; } set { _title = value; } }
public string Link { get; set;...
I am creating a webservice using Windows Communication Foundation (WCF) and I currently don't know what the best way to do validation with it is.
I have two methods: CreateCustomer(Customer) and CreateCustomers(List<Customer>).
If a client passes in a list of customers, and some of the customers are invalid, should I reject the enti...
We have a wse 3.0 enabled webservice and some client computers are receiving this wse1608 error message
WASE1608: No XOP parts were located in the stream for the specified content-id:
Any ideas what would cause this? It works find on some all but one client in the same office.
...
Hi,
I am trying to retrieve values from a database by using JQuery Ajax to call a web service routine. The web service routine is set up properly and returns the value I require, however I'm confused about how the jquery ajax works... I don't know how to retrieve the value
$.ajax({
type: 'POST',
url: 'myservices.asmx/ge...
I need to do some REST service testing from Firefox where I set the Content-Type HTTP header to a specific value (to retrieve XML or JSON).
Is there a Firefox add-on that can do this?
...
I'm trying to build a web service that is sensitive to the subweb context (i.e., it exposes a WebMethod that needs to be able to touch lists in particular subwebs).
I have deployed the web app with the following files:
ISAPI/MyService.asmx
ISAPI/MyServiceWsdl.aspx
ISAPI/MyServiceDisco.aspx
The codebehind:
[WebService]
public class M...
i have an ASP.NET web service that returning a custom entity object (Staff):
[WebMethod]
public Staff GetStaffByLoginID(string loginID){}
how would i consume this in Java?
thanks!
...
I have an WCF REST service which returns objects serialized with XmlSerializer.
How can I add XSL stylesheet information (like the one below) to the output returned by the WCF service?
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="transforms/Customer.xsl"?>
<Customer>
<Name>Foo</Name>
</Customer>
My...