Guys,
I have a WSDL laying at http://blabalba/bla/myWsdl.wsdl, the WSDL contains one schema that import two schema from schemaLocation="Schema/1.xsd" and schemaLocation="Schema1/2.xsd"
(physically those two lays in blabalba/bla/Schema and blabalba/bla/Schema1).
Using some web utilities I have able to upload the WSDL metadata content int...
What's the best way to consume secure REST web service in C#? Web Service username and password are supplied in URL...
...
I am looking for a way to implement Google Analytics tracking in my web service.
My app sends and receives XML from the server, so implementing the Google JavaScript tracking stuff is unfortunately no option.
Any other alternatives? Someone must have done this before :-)
...
I have an asp.net web site and a database.
The web site has a web service for storing feedback from my software.
As far as I know, IIS will reuse the created object for sequential requests.
This gives a reason to connect to the DB in web service's constructor, properly implement Dispose() method, and use the connection for serving each...
I'm new to the .NET framework (and actually consider myself more of a sysadmin) but am creating a web service that needs to return data to another system. I was using the defaults from the ASP.NET Web Service Application project. The problem that I am having is I can't find a setting to use an alternate DTD. So by default the project...
I'm adding a method overload to an asmx web service written in C#, and in order to publish it I need to change the WebServiceBinding attribute of the service to the above. Doing so seems pretty harmless (the web service will only be consumed by applications written in house, at least in the foreseeable future), but am I missing some imp...
Our company keeps debating on whether we should be using custom API DLLs or creating a web service farm to have our programs to communicate data between themselves. To me web services make the most sense in regards to compatibility and flexibility of upgrading, but I have heard some good reasons to use DLLs as well.
Is there an emerging...
I am writing a Web service client in C# which takes the URL of the web Service, and a web method name.
I want to check if thew Web method actually receives an int and returns a DataTable, and if this is true, it should call it and return the DataTable.
I have found a couple of posts where this is accomplished compiling dinamically the ...
So I currently have an application that calls a web service to retrieve data, where I do a basic HTTP GET on a url like so www.example.com/service.asmx?param1=1¶m2=2
This returns some xml which I parse.
My question is, does this classify it as a RESTful Web Service? I am thinking no, but I'd like to know what makes it a REST web-ser...
I have two webservices, each service has its own database, one is master (A) and other is slave (B). If a call is made to service B, it also calls A to sync A's database.
If for some reason A is not available, B needs to bring A up to date with its data at a later time.
Any suggestion on what mechanism can be used for out of process d...
I have an abstract class. Let's call it Lifeform. It looks something like:
public abstract class Lifeform {
public virtual int Legs { get; set; }
public virtual int Arms { get; set; }
public virtual bool Alive { get; set; }
}
(The virtual attribute is due to the fact that I'm using nHibernate, which whines if they're not v...
I have the beginnings of my first Silverlight MVVM app and need to know where I should put business logic including async service calls. Does it go on the page hosting the view? Do I simply set a property of the ViewModel which updates the view?
...
I just wanna learn why I can't static web methods in web services ? Why is it restricted ?
Can some body give me concise explanation of this.
...
I am just trying to consuming a web service in remote computer using windows authentication however login credentials are different in local & remote computer.
Code Snippet:
Dim objproxy As New WebReference.Service1
'Create a new instance of CredentialCache.
Dim mycredentialCache As CredentialCache = New CredentialCache()
'Create a new...
We are searching for an include mechanism for groovy scripts to have space for cross-cutting-concerns.
In my example we have, web service endpoints as groovy scripts and want to log to our web service protocol. for that we use our implicit object (getting from our framework) to create the logging statement.
But this is boilerplate code...
Hi,
We have to transfer binary data using web service stack and in the process we have to sign web service requests/responses.
The main question is: what is the prefered way to do this?
Should we use MTOM and WS-Security?
From ISSUE CXF-1904 I have concluded that there are issues when one uses MTOM and WS-Security. CXF and axis2 use ...
It is possible to send an instance of a class to a webmethod on a webserver isn't it. (The class is actually created on the webserver).
I ask because I have a populated class instance which I'm trying to send back to the webserver, however when the instance arrives at the webmethod, it has been emptied (a fresh instance has been created...
I have a set of web service methods returning a ActionResult class holding the following properties:
object returnValue
bool success
string message
the returnValue is used to hold different types of return values depending on the web methods used.
The problem I have on the client is that if a web method is returning an internal class...
Hi,
I want to know about the different types of web service responses.Any one please help me.
Thanks in Advance
...
I am trying to log what is happening when the Client gets a time out on a Web Service call.
Take a look at the HelloWorld code below. This is what I wish to do, but it seems IsClientConnected does not work as it allways return true.
[WebMethod]
public string HelloWorld() {
//.. Do the Webservice stuff
if (!Context.Response.IsC...