Hello,
I have a C# Service project where I am connectiong to SQL and retrieving data.
When I debug locally eg: in the Visual Studion Developement Server it works nice.
But when I upload to the server(simply localhost/MyProject/) The SqlCommand() is throws an exception. Are there way to get more information on SqlCommand()?
What permissi...
Here's the problemo:
My Silverlight application is calling a HTTP web service, using WebClient, called getCampaigns which returns a JSON array of data for Campaign objects. The user can then interact with the requested objects, modifying them, removing them, etc. When the user removes a campaign, Silverlight calls another web service, w...
I've been doing a lot of work exploring different methods to consume (.NET) web services in Java clients. It seems that this area is a black hole in Java. The easiest way that I have found is to use Apache Axis2 wsdl2java to generate the source files. But still, this requires some work to integrate Apache into my existing web application...
I have an entity data model and a domain service (it may be a RIA service - I don't know) like this:
[EnableClientAccess]
public class MyService : LinqToEntitiesDomainService<NORTHWNDEntities>
{
public IQueryable<Categories> GetCategories()
{
return this.ObjectContext.Categories;
}
}
From what I understand this...
Hello,
I'm using Apache Axis2 and need to send a custom XML structure over SOAP to clients. So basically client will make a request and the client will expect the response to be as an XML representation.
What would be the best way to do this?
Should I create a Java object to represent the XML structure and then have Apache Axis2 do...
Hi all,
I would like to create stubs from a wsdl file for Android. Are there any tools that would create the stubs for Android? Like how "wtk" (Wireless toolkit from Sun) can be used for CLDC compatible, BlackBerry.
I do not prefer to use Ksoap2 as it is heavy. Any suggestions?
...
I'm consuming a third party .NET SOAP WebService (.asmx). I want to log request and response. I have seen some solutions using SoapExtensions. But I like to integrate logging in my system, some like this:
public class MyWebService : ThirdPartyWebService
{
public string Request { ... }
public string Response {... }
}
Could i do...
This is quite straight forward.
I'm calling a web-service (.asmx, with session enabled) from a c# application.
I want each call to be with the same session key as the previous one (as opposed to creating a new session key each time).
Here's my (nothing-out-of-the-ordinary) code:
public string invokeMethod(string methodUrl)
{
Ht...
anyone knows any web service of that kind which is easy to integrate with asp.net?
...
I've been writing a web application for the past year or so and I've got a feeling I've structured it in a poor way but I'm not really sure what it should look like.
The application models logistics so currently has two main parts - geography and network.
Domain + Business layer
I have separated the network and geography in 2 separa...
Hi, I want to send an XML file to a Web Service.
The Web Service is a java application.
I know the endpoint of the Web Service.
Typically I know I have to create the request and send it as an http/https request.
What I want to know is what would I have to make to send the request - as in what development tool could I use e.g. Visual We...
I've written a simple web servrice application in Delphi using THTTPSoapDispatcher and THTTPSoapPascalInvoker. Everything works ok, except that I don't understand how to handle exceptions. So whenever an exception occurs inside the service method, the following SOAP response is generated:
<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:S...
I'm trying to call a web service (.asmx) from a c# application, in json format.
When I specify request method as GET, and don't specify contentType.
(req is HttpWebRequest)
req.Method = "GET";
Everything works well, but I get XML response.
When I specify content Type:
req.ContentType = "application/json; charset=utf-8";
...
I have a very simple ASP.NET web application created under Visual Studio 2008 (SP1), targeting .NET 3.5.
Startup page is a dumbed down ASPX page with 4 text boxes, a button, and two JScript functions:
An OnLoad handler for the body. This function just sets the values of the text boxes to certain dates and times for testing.
An OnClic...
My next project involves the creation of a data API within an enterprise framework. The data will be consumed by several applications running on different software platforms. While my colleagues generally favour SOAP, I would like to use a RESTful architecture.
Most of the applications will only need a few objects at every call. Othe...
I need to create a web service using Apache Axis2. I have a complex type XML response message that needs to be sent back to the client but I'm not sure how the client will be able to read the response.
Sample XML response for client:
<?xml version="1.0" standalone="no"?>
<?xml-stylesheet type='text/xsl' href='./validation.xsl'?>
<docu...
As the question states - I want to send a binary file to a webservice. Does it make sense to think of this in a REST kind of way? Does it make sense to "POST" binary data, and how would you set up the receiving web service?
I am working in grails, and I am trying to set up a service that will allow one web service to pass it a file, and...
Hi All,
I have a class library called DataAccess, this clas library is accesing few web methods. I need to test the methods of the class library "DataAccess". If I remove the web servcie call from the "DataAccesss" class library then Unit tests are working fine. But When I keep the Web service call in the method and run the unit test it...
Hi there!
I'm working on web app (Rails 3 based). And I really don't like the time it takes to generate the page - depending on the displayed data it takes up to 2.5 and even 4 seconds.
So I just was wondering what is the average reasonable time for generating page in your apps. Saying you check the generation time, e.g. it's 750ms and...
Consider 3 modules/classes in an ASP.NET Webforms application.
I need a web service for each of them, where each web service contains only one function.
Should I group them into one web service class, or should I keep the one web service for each class?
...