Tagged Questions
0
votes
0answers
6 views
How to add prefix in top element in soap message
The below is my asmx web service
[WebService(Namespace = "http://test.com/test")]
[SoapDocumentService(RoutingStyle = SoapServiceRoutingStyle.RequestElement)]
public class Pilot : ...
0
votes
2answers
18 views
How do you handle an Async Response from a Web Service
I was given the task of creating a web based client for a web service.
I began building it out in c# | .net 4.0 | MVC3 (i can use 4.5 if necessary)
Sounded like a piece of cake until I found out ...
1
vote
0answers
23 views
Connecting to external mysql database through C#/Visual Studio 2012
Whenever I try to perform a SQL query with an insert on my localhost, it works, using simple C# code with the Mysql.Data reference in visual studio.
But when I try to connect to my own database I have ...
0
votes
2answers
38 views
Preventing getting to other URL of web service
I am doing a web service in .NET containing a server file (.asmx) and a client interface (.aspx). The visitors should be able to visit only the client aspx site ( urlXXX:portYY/Client.aspx)
However, ...
1
vote
1answer
70 views
Multi-Threading in web service
Is it possible to created a function in a web service to have multiple threads, one which returns a value to the user, and one that continues to process a transaction? I've never used any ...
0
votes
0answers
29 views
Ignoring POST data in ASP.NET web service
I have a ASP.NET service created with webInvoke that accepts POST data
[WebInvoke(UriTemplate = "/Upload/{udid}/{firm}/{username}", ResponseFormat = WebMessageFormat.Json, Method = "POST")]
public ...
2
votes
2answers
36 views
web service returning xml although return format is json
Here is the web service
public class HelloWorld : System.Web.Services.WebService
{
[WebMethod]
[ScriptMethod(ResponseFormat = ResponseFormat.Json)]
public string Hello()
{
...
0
votes
5answers
42 views
Not geting expected data from jquery ajax call
Here is the c# web method
[WebMethod]
public string Hello()
{
return "Hello World";
}
Here is the jquery ajax code
$.ajax({
url: ...
0
votes
1answer
40 views
How to get Api for Online bus ticket booking System?
I am developing one Web application using Asp.Net, C#, SQL Server. My project functionality was user can able to book the bus ticket like red bus. In User Search time how to get all available bus ...
0
votes
0answers
11 views
Root element is missing error when deploying web service to server
I have written a web service in c# visual studio 2010 that i have been testing on my dev machine using XHR poster to send the xml directly to the service. It is all working ok so i have put the server ...
1
vote
1answer
32 views
C# cannot access webservice that requires a client certificate from within the server
I have a webservice on a IIS website that requires a client certificate, my certificate is self signed and I can access the website from my dev computer without any warning after installing all the ...
1
vote
0answers
31 views
WCF method returns DataSet and table's rows are out of order
I have a WCF service that returns a DataSet which contains 3 DataTables. The first 2 DataTables contain some metadata about the data that will be processed, and the 3rd DataTable contains the main ...
1
vote
0answers
33 views
c# Web Service validation and error handling. How do I implement this?
This is my first attempt at custom error handling so please let me know if I should do things different or change the way I've tried to go with this. I'd like to apply this throughout the web ...
0
votes
0answers
40 views
Rest web service Java Vs C# [on hold]
So I am going to develop restful web services in one of the projects I am working on.
I am now confused between the different approaches I may use to develop my application.
Will using to develop ...
0
votes
1answer
20 views
GetRequestStream Stopping in Array
I have a list of json strings that I am trying to loop through and post to a WebService. It loops through the first two just fine, then just stops on the 3rd iteration (this happens on line 14). No ...