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

I am unable to make application release in monodroid

I have been using monodroid in debug mode, but now my app is finished testing and I would like to release it to a device and then to google play store, I get the following error `Error 1 Could not load file or assembly 'Mono.Android,…
Max Rasguido
  • 457
  • 6
  • 27
2
votes
1 answer

The type or namespace name 'ReportingServiceSoapClient' could not be found

I've about given up on this one. I know this is a reporting services web reference however I know it's not either of these below urls. reportserv/ReportServer/ReportExecution2005.asmx reportserv/reportserver/ReportService.asmx …
user222427
2
votes
3 answers

Edit Appsettings in Winforms C#

I need to change my Webreference url in C# windows app. My app.config file has applicationSettings as
Kenny
  • 819
  • 1
  • 9
  • 24
2
votes
3 answers

Interface for two almost identical web references in C#

I have 2 web refs which I can't change: They are almost identical but when referenced one only accepts ProperCase and the other Uppercamelcase. Example Not only props is the thing but entire classes with its props and methods @EDIT: Sorry, I've…
apacay
  • 1,702
  • 5
  • 19
  • 41
2
votes
1 answer

Add a web reference programmatically in .NET compact framework

I'm using a development environment which is based on .NET compact framework for Windows CE operating system. The development environment is pretty closed, but the scripting interface is like a classic code view of a Windows forms application in…
Francesco
  • 964
  • 2
  • 17
  • 41
1
vote
0 answers

Consuming web service in Windows Service- cannot read response

I have created a Windows Service project, and i try to call SOAP Endpoint using WebReference. My calls are successfully received by server, server is processing response, and returning response correctly, however im not able to read response when…
Bartosz Olchowik
  • 1,129
  • 8
  • 22
1
vote
0 answers

Dynamic Web Reference with a WCF service

I have a WCF service written in .NET 4. For some reason when you create a Web Reference using Visual Studio 2003 and change the "URL Behavior" from static to dynamic it doesn't seem to be completely working. The config file changes but the…
null_pointer
  • 1,779
  • 4
  • 19
  • 38
1
vote
1 answer

Error trying to add a web reference to dotnet core project. User canceled out of save dialog (Exception from HRESULT: 0x8004000C (OLE_E_PROMPTSAVECA

I have a dotnet core project that I need to a web reference to. I select the Microsoft WCF Web Service Reference provider and select the URL and click "Go" The correct service shows up under the "services" window. I change the namespace to…
pldiguanaman
  • 125
  • 1
  • 9
1
vote
1 answer

error CS0119: 'ServiceClient' is a type, which is not valid in the given context

I am getting error CS0119: 'ServiceClient' is a type, which is not valid in the given context in my project . In my project I have a web reference and in that I'm getting this error . The details are below. Please help guys as I don't understand…
Maximious
  • 155
  • 2
  • 12
1
vote
1 answer

Using Web References in C# Code in Visual Studio 2008

In the beginning, I was trying to find any solution for my issue but I didn't find anything. I am Dynamics NAV Developer so C# is not my "native" language ;) I have to connect my Win Form Application with Microsoft Dynamics NAV so I want to use Web…
1
vote
0 answers

Xamarin Forms .NET Standard Project can't add Web Reference

I'm creating Xamarin Forms App with following projects: .Net Standard 2.0 Android iOS UWP On the platform-specific projects it is possible to add Web Reference, but on the first one there is only "Reference". How do I add WebReference to the .NET…
bigb055
  • 198
  • 3
  • 14
1
vote
0 answers

Web reference soap wrong wsdl conversion for type xs:time

I have imported in visual studio a web reference for a SOAP web service. Inside the WSDL there is one field XYZ defined as xs:time. After importing web reference, I see .NET creates in the file Reference.vb the field XYZ as type Date. When I…
Stefano
  • 200
  • 4
  • 15
1
vote
4 answers

Add Web Service Reference Weird Problem in WP7

I have a WP7 project in VS2010 pro/ultimate and I have added a web reference from another project on the same solution. The web service project is just a normal website project, I just created .ASMX file. I tested the service using web browser and…
Arief
  • 6,055
  • 7
  • 37
  • 41
1
vote
0 answers

How can I set message encoding for a web reference

I've been given a service which I need to consume. This service is only happy when added to the project as a 'web reference' and NOT a 'service reference'. When I add the reference, the app.config is modified as shown here...
Simon
  • 8,981
  • 2
  • 26
  • 32
1
vote
1 answer

Call web service and passing a cookie in an ASP.Net Web Application

We have to call a web service hosted by our client. We were able to add a web reference to our ASP.Net web application and use the web service. The client just sent us a text file and said we need to pass this as a cookie to get access to the web…
Jim Kiely
  • 365
  • 2
  • 6
  • 24