.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Getting "System.UriFormatException: Invalid URI: The URI is empty."

Posted By:      Posted Date: October 23, 2010    Points: 0   Category :.NET Framework

I have some code which is a wrapper "DLL" I used the DLL in a VB6 app in order to call a web service, and invoke a web method. I'm using the same DLL wrapper for an ASP.NET 2008 web portal site. The wrapper class was created in VS 2008. A little about the wrapper code: Basically I create a BasicHttpBinding object, set the basic propties of the object, this way I can eliminate te need for a web config in the wrapper class. I then create my proxy object for the web service in which I’m going to call within the wrapper class passing it the BasicHttpBinding an a new EndpointAddress. The wrapper class exposes a single method, see code below:

Paraemters defined:

pwd: password in order to login to web service

View Complete Post

More Related Resource Links

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend