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

Change web reference IP in C# asp.net web forms project

I'm working on a project that was not created by me. This project contains a web reference to some windows service that is run on a remote machine. In Visual Studio 2010 it looks like this: I used VS's search to get the IP in the solution and see…
Vitalii
  • 10,091
  • 18
  • 83
  • 151
3
votes
1 answer

How to add tag? WSDL not appearing with these info

I need to add to my message something like this:
George Taskos
  • 8,324
  • 18
  • 82
  • 147
2
votes
1 answer

Consuming a webservice php with C#

here is the wsdl soap field when I call the WS in PHP and I show the soap with __getLastResponse() I get that for the transactionCle : here is the…
Christophe Debove
  • 6,088
  • 20
  • 73
  • 124
2
votes
2 answers

ASP.NET - Calling a Web Service with SOAP

I've been doing .NET and C# programming for quite some time, but this is my first attempt at doing anything web-based with it. I need to call a SOAP web service, which I know the URL for, and call methods of that service. I've set it up as a "Web…
JToland
  • 3,630
  • 12
  • 49
  • 70
2
votes
1 answer

Enum not passed successfully from .NET2.0 Client to WCF Service

I have a WCF Service (.NET4.0). Client is in .NET2.0. Enum values passed by the client into the service are always set with enum default value (which is the first enum member). Is this an issue in .NET2.0 ? Are there any workarounds ?
ideafountain
  • 276
  • 2
  • 3
  • 7
2
votes
1 answer

Consume WCF service using add web reference and add a soap header

I have a WCF 4 web service that checks for a soap header. This works fine with a WCF client but I have a customer that needs to use the old web reference from their app. How do you consume a WCF service using Add Web Reference and the add a SOAP…
Paul Speranza
  • 2,302
  • 8
  • 26
  • 43
2
votes
1 answer

How to call the CreateUser method from a webreference

I've ran out of things to try, so I hope someone can help me with this. I'm creating a "Register" page. When a user clicks the "Register" button, their information (email, username, password) needs to be stored into an Access database. I've created…
jannn
  • 93
  • 1
  • 3
  • 10
2
votes
1 answer

how do I use my web reference in MVC?

greeting folks, I need to reference an external service in my MVC app. I'm using this service to validate an authentication token that one of our clients has requested we use. I'm porting an older project to MVC. I added a web reference. The config…
topwik
  • 3,487
  • 8
  • 41
  • 65
2
votes
0 answers

Rider web reference .cs file is empty

When I add a web link to https://www.onvif.org/ver10/pacs/accesscontrol.wsdl, Rider generates an empty .cs file. What am I do wrong?
infernalcucumber
  • 103
  • 1
  • 12
2
votes
1 answer

Web Reference namespace not seen by Visual Studio 2010 compiler after 2.0 to 3.5 project conversion

I'm getting a build error in Visual Studio that's not making any sense: The type or namespace name 'MyService' does not exist in the namespace 'My.Project' (are you missing an assembly reference?) The namespace MyService is defined in a Web…
Jacob
  • 77,566
  • 24
  • 149
  • 228
2
votes
0 answers

Add asmx web service in xamarin.Forms project (.Net standard 2.0)

I'm new in the Xamarin world and I want to add ASMX web service to my Xamarin .Net standard project, but the problem is there is no "add web reference" section. I'm using Visual Studio 2017, Xamarin.forms, .NET standard 2.0. Any ideas how can I add…
2
votes
0 answers

how to add wsdl web service with .xml extension in c#, mvc

this is my web wsdl web service url . so I want to add this as a web reference.They have used open source software called soapUI.exe. Should I have to use this or is there a way to do this. I tried with visual studio like follow, solution explorer…
bill
  • 854
  • 3
  • 17
  • 41
2
votes
1 answer

How to make HTTPS SOAP request bypassing SSL certificate in .Net C#?

I had a problem trying to reach HTTPS web reference service in c# .Net project. I got this message when i trying to send request to web service. The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure…
hasanaydogar
  • 885
  • 11
  • 24
2
votes
0 answers

Visual studio 2013 - WSDL code gen using different runtime

I have upgraded a VS 2008 solution to VS 2013. It has a reference.cs is built from a WSDL using Runtime Version:2.0.50727.4455 (in vs 2008) When it is built using VS 2013 it uses Runtime Version:4.0.30319.18408 which makes the auto-gen class inherit…
ojhawkins
  • 3,200
  • 15
  • 50
  • 67
2
votes
1 answer

Add web reference during build process

I have a C# solution in Visual Studio 2005. There is a web reference in one project that I have to change when I have to build the project for a determined environment, manually deleting the reference from Visual Studio, and adding a new one with…
pablof
  • 313
  • 2
  • 4
  • 18
1 2
3
11 12