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
1
vote
0 answers

How to update web reference in visual studio without access to the web service server

We have a old app that uses some webservices to communicate with another server. only the app server has access to the webservice server. recently the owner of the webservice have made some changes to the webservices. Now we have to update our web…
th1rdey3
  • 4,176
  • 7
  • 30
  • 66
1
vote
1 answer

VS2008 Update Web Reference creates naming conflicts in Reference.cs

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…
Matt
  • 425
  • 5
  • 11
1
vote
0 answers

Why does my web reference to a remote asmx service not allow me to access operations?

Trying to consume a remote asmx web service from server side code - from within a SignalR hub class to be specific. After I add the reference it appears in my solution explorer under my main project. If I right click and view the reference in…
Robert
  • 828
  • 2
  • 13
  • 28
1
vote
1 answer

C# Web Reference - Error with Dynamic URL

I'm writing an application which consumes SOAP services to send data. The user can change the url endpoint in application settings. Here's what I do : public HubHandler() { this.urlHub = Settings.Default.UrlWebService; //some code …
OlivierH
  • 3,875
  • 1
  • 19
  • 32
1
vote
1 answer

Web reference not found when distributing application

My question is, when an application uses a web reference is one supposed to hand out something extra along with the .exe file? I have made an application that uses a web reference for dotMailer API (it's for email campaign management). The…
LittleFighter
  • 163
  • 1
  • 3
  • 13
1
vote
1 answer

How to change Location(Url) of a Web Service and Update Web Reference programmatically?

I have web service: http://127.0.0.1/something/someWS.asmx I am adding this as a Web Reference to my app but wont always be Localhost... it might change to http://www.something.com/something/someWS.asmx. How do I change the URL programmatically of…
user1867353
  • 487
  • 1
  • 6
  • 12
1
vote
1 answer

How to Consume java web-service (jetty) in C#

I am a newbie to C# development. Scenario - We have an application running on .NET 2.0 framework and IIS 6.5. Now, we have installed another application on a remote server which utilizes Jetty web server. For us to integrate both the applications…
raptor15
  • 11
  • 2
1
vote
1 answer

Structure for loading different web references as a plug-in

We have developed an application in C# .NET that synchronises data (customers, orders) to a PHP e-commerce application using SOAP. The WSDL of the PHP application is added as a .NET 2.0 web reference to our application, so the .NET Framework…
1
vote
1 answer

Update dynamic Web Reference via command line (wsdl tool)

I have a problem with updating dynamic Web Reference using WSDL.exe tool. When I'm using "Update Web Reference" in VS, everything is working as expected. Below is generated code (part of Reference.cs file): public MyService() { …
Martin
  • 57
  • 1
  • 7
1
vote
0 answers

Increase SOAP message size in case of a web reference

I have a WCF soap service and a .net 1.1 project. The .net 1.1 project calls the Service (.svc) through a Web Reference. Ideally this should be a service reference but for compatibility issues it has to be like this. The problem is that my messages…
BBQ
  • 618
  • 1
  • 7
  • 20
1
vote
0 answers

Can not add SOAP Web Reference

I have a .wsdl file installed on my local server. However, when I try to add it through VS it can not find it at the installed path(root of localhost). I know the file is there because I can see it when I browse through the filesystem. Is there…
Daniel Martin
  • 570
  • 1
  • 9
  • 18
1
vote
2 answers

ASP.NET Web Reference Missing from DLL

I am working with a .NET 3.5 class library that was created in Visual Studio 2008, and later updated and recompiled in Visual Studio 2010. The strangest thing is happening: One of the Web References that is listed in the Solution Explorer does not…
Jesse
  • 608
  • 8
  • 19
1
vote
0 answers

The type or namespace '' does not exist in the class or namespace '' error with Web Reference

I have a project that is receiving the "The type or namespace '' does not exist in the class or namespace ''" error. I've seen a lot of solutions here that haven't been able to solve my problem. The site was downloaded via TFS and I'm using VS…
penam
  • 21
  • 4
1
vote
1 answer

Bypass proxy when calling a web service from a Windows service

I have a Windows service that is calling a web service, passing a string, and returning a success or error message. Everything has worked fine in all my testing and development... until I tried to roll it out internally on a network with a proxy…
divtag
  • 677
  • 2
  • 6
  • 21
1
vote
6 answers

Problems consuming webservice on ASP.NET on production(IIS) server

We've implemented some SOAP client code on our ASP.NET site that calls up a remote service. Implementation was basically done by using Visual Studio "Add Web Reference" wizard, adding proper 'using remote.service.namespace' to the code and calling…
xelurg
  • 4,294
  • 9
  • 35
  • 37