Questions tagged [web-reference]

Web Reference is a technique used in software development to provide access to a resource that is available using Internet protocols

In the code, Web References are generated that locally represent the exposed functionality (methods) of a Web resource. Upon invocation of the local methods, the proxy interacts with the Web resource and returns the results back to the client.

Web References may be created in the same or different programming language or environment than the exposed Web service or resource.

Links:

173 questions
0
votes
0 answers

WCF via XAMARIN - System.Net.WebException: The request failed with HTTP status 403: Forbidden

How to solve the forbidden access issue? I'm accessing my service through web reference so there are no declarations on my codes. Is there any set-up I have to include to make the certificate valid during connection? My Web Service was setup using…
jace
  • 1,634
  • 3
  • 14
  • 41
0
votes
0 answers

Web service return value confusing

In our project we have multiple web service references. The methods of the web services return an object with the name RESPONSE. The format of the RESPONSE depends on the web service reference. Sometimes the application confuses the return value.…
NEØ
  • 1
  • 1
0
votes
0 answers

How I can edit a Web reference in NET 2010?

I manually added a web reference and I need to edit it but I see no option to do that. When I add a service reference is possible to edit some options, but I can see how to do that when is a web reference. Is it possible or I must to delete the…
E_Blue
  • 1,021
  • 1
  • 20
  • 45
0
votes
1 answer

WCF in "service reference" client gives less information in exception message than "web reference" client

I should call a web service in my C# application. When I add a service reference in Visual Studio to consume the service, in an exception situation I get this message: An HTTP Content-Type header is required for SOAP messaging and none was…
Morteza
  • 164
  • 1
  • 10
0
votes
1 answer

SOAP exception in WPF Application while accessing Web Service

I am learning C#, and in one of the assignment i have to display the data from an Access file into a DataGrid upon button click using a WPF Application, and a web reference. There is a SOAP Exception which i am not able to resolve, any help is…
Prashanth kumar
  • 949
  • 3
  • 10
  • 32
0
votes
1 answer

Calling different servers with the same ReportingService2010 object

I have two SSRS servers running identical configurations. Well, three, actually. Let's call them: Reporting Server A Reporting Server A-test Reporting Server B Now, I can easily swap between A and A-test depending on whether I'm in test or…
Slothario
  • 2,830
  • 3
  • 31
  • 47
0
votes
1 answer

How to consume a referenced webservice in visual studio 2012

I have added a reference of a soap webservice in my visual studio 2012. Working for the first time with is a little bit hard because it gave an error and I don't know how to resolve it. Any hints? Below is my code: Dim obj() As…
Mlle 116
  • 1,149
  • 4
  • 20
  • 53
0
votes
1 answer

Can I add ony specific WCF endpoints to a .NET 2.0 project as web references?

I'm developing a .NET 2.0 client application that needs to connect to a WCF service. I add a web reference to a basicHttpBinding WCF service that we've developed and VS creates the proxy class and the config paraphenalia which is fine. The problem…
Michael
  • 913
  • 3
  • 10
  • 18
0
votes
1 answer

WCF service gives error "There was no endpoint listening..."

I have a WPF/WCF application in which I have used external web service by referring .asmx URL in my solution's Service References folder. At server side, I have created entries in web.config as below:
Anil Soman
  • 2,443
  • 7
  • 40
  • 64
0
votes
1 answer

How do I consume a webservice running on localhost in a project located on a vm?

I am running a webservice on my development box and I need to test that webservice in a virtual machine that is running on the host(aka the development box). The webservice on the dev box is running at: http://localhost:8100/ws_name.asmx. From…
swolff1978
  • 1,845
  • 7
  • 28
  • 44
0
votes
0 answers

WCF used as service reference: how do it?

I've my RESTful service hosted here . I can use it perfectly with get&post http request. How can I use as "service reference" in a Visual Studio project? I have added it in my test project and I see the methods correctly, but, when I try to call on…
Piero Alberto
  • 3,823
  • 6
  • 56
  • 108
0
votes
1 answer

In winforms, how do I dynamically change the url of my web reference?

I have 2 websites with an identical web service. For web service SampleService, I would like to know how to choose which web server to choose from. Web service: "SampleService" Web reference: "SampleWebReference" Web service url: Site 1:…
cabgef
  • 1,398
  • 3
  • 19
  • 35
0
votes
1 answer

Changing "web reference" to "service reference" changes method signature

I'm helping out a colleague on this one so if I'm missing some details that's why. We have an asp.net 3.5 web application calling a WCF service. Originally the app used a "Web Reference" to register the service however after having some trouble and…
jasongullickson
  • 1,021
  • 1
  • 14
  • 28
0
votes
1 answer

Error creating web reference

I was trying to see how I could get a timezone based on US zip code and found a post that suggested using a web service. I can see the methods when I view this in a browser. In VS, I started adding the web reference and used the link and clicked…
NoBullMan
  • 2,032
  • 5
  • 40
  • 93
0
votes
0 answers

Adding service reference web forms for desktop app

I have two different project in same server. Lets say project A is asp.net 4.5 web forms, and project B is windows form application.(I can't merge them for some reason please dont suggest that.) I need add reference to project A to use specific…
EHU
  • 167
  • 1
  • 3
  • 14