CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2008
    Location
    Netherlands
    Posts
    865

    Unable to add webreference VS2008

    Hello,

    I'm trying to connect to an webservice (not one of myself) using Visual Studio 2008. Normally, I add a webservice as a webreference to my project, typ in de URL and I can use the webservice. But when I type in the URL https://api-test.yieldmanager.com/test-0.28/ (which works in a PHP example I have), it redirects me to https://api.yieldmanager.com/prod-0.28/doc/phpdoc/. The same happens when you type https://api-test.yieldmanager.com/test-0.28/ into your webbrowser. So I think it has to do with the username and password (which I have recieved but don't know where or how to use). Does anybody know how to add the webservice to my project or any other way that I can connect to the webservice using C#?

    I also tried adding a service reference instead of a webreference. This also failed with the message: An error occurred while attempting to find services at 'https://api-test.yieldmanager.com/test-0.28/'

    Hope someone can help me,

    Kind regards,

    Danny

  2. #2
    Join Date
    Sep 2008
    Location
    Netherlands
    Posts
    865

    Re: Unable to add webreference VS2008

    Problem is solved!

  3. #3
    Join Date
    May 2009
    Location
    Bengaluru, India
    Posts
    460

    Re: Unable to add webreference VS2008

    can you pls explain how was it solved.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured