Hello there,
I have a Web service which, when updated on one computer with VS2008 works perfectly fine, but on another computer does not. The critical difference is the contents of the auto-generated Reference.cs.
In the correctly functioning environment, the methods have fully qualified class names, refering to classes in a class libr...
I have in the past coded up Windows Form or Console apps in Visual Studio (2005 and earlier), and the IDE has facilitated linking up with a web service. Now I am building an application that needs to consume a web service, but when I right-click on the project (or References), I do not see a "Add Web Reference" context menu item (for Wi...
how do you pass a multiple serializable byte[]?
I assume i can't pass it as a strongly-typed array like this List<byte[]> to a webservice. So how do you do this?
I need to pass multiple objects of byte[] to a single webmethod, what is the best way?
...
I see APIs such as PayPal, etc. offering to call their services using NVP or SOAP/WSDL. When using a .NET environment (3.5) using traditional web services (no WCF) which is better and why? I know WSDL lets you drop in the API URL and it generates the wrappers for you. So then why do companies even offer NVP?
...
I am trying to post data from vb.net application to web service asmx that is located on server!
For posting data from vb.net application I am using this code:
Public Function Post(ByVal url As String, ByVal data As String) As String
Dim vystup As String = Nothing
Try
'Our postvars
Dim buffer As Byte() = Encodin...
I created a separate web service project using VS 2005.
My first question is can I add more than 1 service (asmx) files
and use them in single webservice project?
How can I publish them and use/call/consume them from different websites?
(I know how to use them when they are in same project but different
project is bit confusing)...
Hi!
I'm using asmx web service to lock a folder on remote computer!
When I run web service on local machine everything working fine, but when I run it on remote computer nothing happen, folder on remote computer stay unlock!
I supose that I need to set security permission for this web service on remote computer, but i don't know wher...
I can't seem to call a web service method from Ajax with both POST and GET.
Initially only the POST would work and GET would causes this error:
{"Message":"An attempt was made to
call the method \u0027getData\u0027
using a GET request, which is not
allowed.","StackTrace":" at
System.Web.Script.Services.RestHandler.GetRawPa...
I have sortof the opposite of this question:
http://stackoverflow.com/questions/1900701/wsdl-generate-proxy-for-the-webmethods-but-not-the-other-dependent-classes
How can one auto-generate other classes (utility classes) that are useful on the client side but are neither DataContracts nor ServiceContracts? In other words, wanting to ext...
I there a way to know if a request is a soap request on AuthenticateRequest event for HttpApplication? Checking ServerVariables["HTTP_SOAPACTION"] seems to not be working all the time.
public void Init(HttpApplication context) {
context.AuthenticateRequest += new EventHandler(AuthenticateRequest);
}
protected void AuthenticateRequ...
I am interested in impersonating well-known Web Services and Wcf Services for integration test purposes. To this end, I would like to capture service metadata, auto-generate service stubs, and host service stubs in a self-hosted environment.
Following this article here, I am able to obtain remote Wcf Service metadata and generate contra...
Hi All
I'm using WCF to connect to a remote web service (asmx) for testing at this point. The remote web service is unsecured for now (no https, no user name, password). I can add the WCF service reference, and all the classes are generated ok. When I make the call to the webservice, it just hangs.
So I can connect with the SOAP UI t...
This is the function that I use in web service for getting current windows user.
<WebMethod()> _
Function User() As String
Dim p() As String = Split(My.User.Name, "\")
Dim p1 As String = p(1)
Return p1
End Function
When I run service on localhost it realy return current windows user name!
The problem is ...
Does anyone know if Fiddler can display the raw SOAP messages for ASMX web services? I'm testing a simple web service using both Fiddler2 and Storm and the results vary (Fiddler shows plain xml while Storm shows the SOAP messages). See sample request/responses below:
Fiddler2 Request:
POST /webservice1.asmx/Test HTTP/1.1
Accept: */*
...
In web service I have function that return bytes array. Now, I call it from VbScript and I need to catch result of this function. How I can catch result of this function in value that is gone be like a value that function return (bytes array)?
...
Is there any way to find the size of a data which i am sending to webservice from the client in Csharp dotnet
...
I need to deploy an old style .asmx asp.net web service (not WCF) on a windows 7 machine for test reasons. However it seems that just deploying it on a virtual directory or new web site on IIS won't cut like it used to back in xp.
What should I do? I need to test the service locally prior to deploying it, and so far it's giving me a har...
Am I missing something? I am trying to create a web service and consumer in asp.net, using JSON with JQuery, but I'm not having any luck. I can get JQuery to call the service, and get the service to reply, but the response always goes through the "error" callback in JQuery. When I view the response in FireBug, it appears to be XML, not J...
When I'm accessing web service from jquery, I'm getting the 403 forbidden error.. I published and created in the virtual directory too. Wat's the cause of this error and how to rectify it? I've added the webservice in the same solution.. This is my following code..
$(document).ready(function() {
$("#sayHelloButton").click(f...
I've run into a situation where I was unable to add a Web Reference in Visual Studio 2008 to a Web Application Project. The error I couldn't resolve was "The web services enumeration components are not available. You need to reinstall Visual Studio to add web references to your application."
How can I resolve this?
...