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

Newtonsoft.Json error on adding a web Reference

I am adding a Web Reference in my website. Reference is added successfully. But when i add namespace in my webpage it give me following error. Error 22 Reference.svcmap: Could not load file or assembly 'Newtonsoft.Json, Version=6.0.0.0,…
Fazal Wahid
  • 175
  • 2
  • 17
0
votes
0 answers

Soap Request in Compact Framework is ignoring the attribute XmlSchemaForm.Qualified

I have imported a WSDL into visual studio 2008 and its being built against the compact framework 3.5 If i run this executable on a windows xp (Full framework) machine the SOAP request serializes differently than when i run it on a Windows CE machine…
CathalMF
  • 9,705
  • 6
  • 70
  • 106
0
votes
1 answer

wp8 service reference update

I have created a Web service which provides various methods for my Windows phone app. The communication between these two works fine. My problem is that once I update the Web service (only new methods add. No existing, delete, or modify) must I…
0
votes
1 answer

Cannot publish Website with web reference - SGEN error

I have website (MVC) with one Web reference. Build and run in VS working. But when I tried to publish to disk I get error: SGEN: error: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more…
Musketyr
  • 745
  • 1
  • 16
  • 37
0
votes
2 answers

Why do I get an error when trying to add a web reference in a Script Task (SSIS)?

I'm trying to add a web reference in a SSIS-package on a clients server in order to communicate with a web service. In my script task I'm able to add the web reference, reference it in the code, build successfully and save it. BUT when I exit the…
0
votes
2 answers

Missing properties when using Web Reference feature in Visual Studio

I am using a .NET Web Reference for consuming a web service that is using basic authentication. In the past I could set the credentials by accessing the same-named property. For example: MyWebReference.Service1 client = new…
nvm-uli
  • 626
  • 1
  • 7
  • 14
0
votes
3 answers

How do I change the URL of my web service?

If I change the url in the web.config file will the change be reflected in the .disco, .discomap, and .wsdl files that are in the WebReferences folder? [Edit] I'm using asp.net 2005
ozzijb
  • 674
  • 5
  • 10
  • 17
0
votes
0 answers

.NET Soap Client receives null value in response instead of real value

We have a .NET Client with a Web Reference to a SOAP Based Web Service. The method we are calling has a signature string request() but when we call it we only ever receive a null value. The target service is receiving the request and responding with…
JoeGeeky
  • 3,746
  • 6
  • 36
  • 53
0
votes
2 answers

Adding web reference is not generating the expected reference.cs file. Absent functions

I'm working with an old windows app in visual studio 2005. A webserviced referenced in the original app has 2 functions and when i peak inside the auto-generated reference.cs file I notice a couple of other functions to allow async calls have been…
user48408
  • 3,234
  • 11
  • 39
  • 59
0
votes
1 answer

Web Reference with dynamic URL in .dll (class project)

I have a website that uses a class project, and the website has a Web Reference, which has a dynamic URL based on the web.config file - so in develoment, it's http://localhost:2880/service.asmx and on live it's…
Sean
  • 14,359
  • 13
  • 74
  • 124
0
votes
0 answers

PHP WebService cannot be used in VS2012

I have developed a WebService in PHP using SoapDiscovery class made by Braulio José Solano Rojas but with some adjustments made by me in order to support complex types. The problem is that I can use the webservice in PHP client, but not in VS 2012.…
jstuardo
  • 3,901
  • 14
  • 61
  • 136
0
votes
4 answers

Find all calls to all web reference methods in the solution (for one web reference)

In Visual Studio 2012, is there a fast way to find all specific lines in my entire solution where any call is being made to any method that exists within one specific web reference? I am not looking for just one specific method, my web reference…
Krondorian
  • 616
  • 1
  • 9
  • 21
0
votes
0 answers

Adding a Webreference from c#

I am trying to access a webserver from a c# client. I have added the webreference in the C# client . When i call the API i get the following exception "SOAPException was unhanded" java.lang.NoSuchMethodException:…
user1687824
  • 807
  • 2
  • 10
  • 24
0
votes
1 answer

Add Service Reference to WCF Service within Same Project

Is it an acceptable programming practice to add a Service Reference to a Project where the Service being referenced is defined within the same VS Project? (Service and Service Reference are in the same…
0
votes
0 answers

web reference not working when deployed live

I used a webreference in my mvc project. It is working properly for my project locally but i am getting the following error when i deployed my project in live. System.Net.Sockets.SocketException: A connection attempt failed because the connected…
siva
  • 357
  • 4
  • 7
  • 17