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
1 answer

ASP WebReference namespace could not be found

I've added a WebReference to my project - when I try to reference it, it says the namespace could not be found. I know the syntax is right, but I think there is something I need to do to include it in the project. Even though it's been added, it…
Hani Honey
  • 2,101
  • 11
  • 48
  • 76
0
votes
1 answer

How can I switch between "test" and "production" Salesforce Enterprise WSDL web reference classes?

I have created web references in my Visual Studio console project using WSDL files for Salesforce production and Salesforce sandbox. I am trying to write the program like so: ServiceClass client; if(Debug) { client =…
ChasetopherB
  • 466
  • 9
  • 23
0
votes
1 answer

Web Reference in Visual Studio does not exsist...so cannot update

Basically, I have a web Service which I developed. I then went down to the installation site to install the web Service and a handheld app which uses it. Problem is, I came back off site, and now need to change some things with the handheld app and…
MichaelMcCabe
  • 523
  • 4
  • 15
  • 33
0
votes
2 answers

I Got Error :"the type or namespace name 'namespace2' does not exist int the namespaces 'namespace1' " when i add a WebService

I have a website with address (non-real) : www.example.com. in this site, i have a service (real) :http://www.example.com/services/smsService.asmx. I have two asp.net projects in visual-studio-2017 : project1 and project2. in project1 when i add a…
0
votes
0 answers

C# Extend Web Reference Class with Lost Attributes

Is it possible, to replace lost attributes, by extending a class from a Web Reference. For example, previously a class containing a property called 'Amount` was part of the same project as defined below: public class Test { [Required] …
iggyweb
  • 2,373
  • 12
  • 47
  • 77
0
votes
0 answers

Cannot properly add Web Reference to .net core VS project

I have a .wsdl file (Fedex Address Validation) which I am using to generate a web reference class. In winforms project I can add it as a web reference simply by: Add service reference -> Advanced -> Add web reference -> and paste a link to file or…
Nash
  • 65
  • 5
0
votes
0 answers

Could not load file or assembly in Release mode

I have a asp.net project in vs 2012. before adding a web reference every thing is OK. but when I add web reference again every things is OK in Debug mode. but in Release mode I have this error. Could not load file or assembly 'x.dll' or one of its…
atabrizi
  • 908
  • 1
  • 13
  • 29
0
votes
0 answers

.Net Core 2.0 timeout for WCF web service in c#

I am doing a .NET Core 2.0 App. I am calling a webService. I added a Reference to a local Service and call it from my Application. ServiceReference1.QueryCalendarClient servicio = null; …
Diego
  • 2,238
  • 4
  • 31
  • 68
0
votes
2 answers

where is the add web reference in bot function Azure?

I want to add a web reference in my azure function bot project, using Visual Studio or in the Azure portal; but am unable to determine how to in either case.
Meed095
  • 63
  • 7
0
votes
1 answer

WebService won't populate information into Textfield on Winform

I have a challenge, I recently wrote a Webservice which is capable of Getting data from MSSQL Server and show in xml. Looks like this Customer.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; ///…
Valentine
  • 3
  • 2
0
votes
1 answer

Web Reference or Service Reference in Business layer, where is the published url?

I have a solution that uses caching to trigger some action in the business project within my solution. I would like to call a web service from this project and was going to add either a web or service reference. I can't call a web service in the…
Neil
  • 197
  • 1
  • 2
  • 12
0
votes
2 answers

Need some help with code for getting a response from a Web service. Can you help me connect the dots?

Ok, its been a while since I've worked with a Web References. I need a refresher. I think I have about 80% of the code I need to get a response going but I'm missing something. Maybe you can help me :) Given: A web method called GetSomething in the…
aarona
  • 35,986
  • 41
  • 138
  • 186
0
votes
1 answer

Wcf reference can not be updated

When i try to update my wcf reference i am getting error like below: In vs2017 if i try to add reference again then i am getting error like below: Can some body help??
brijrajsinh
  • 453
  • 3
  • 11
0
votes
1 answer

c# two web references, one for live on for test

I have an issue. My boss has setup a test SOAP web service that he wants use to consume in our API. Originally we only had one, so it was straight forward enough. Now we have two and they are on different endpoints, so I created 2 Web References…
r3plica
  • 13,017
  • 23
  • 128
  • 290
0
votes
0 answers

How to consume a soap service url through a c# winform app

I have soap service url. I added that url as Add web reference and access its properties and methods but the problem is I want to access the properties and method exposed by service by adding that service in app.config. I dont want to add service…
Developer
  • 173
  • 2
  • 13