Click to See Complete Forum and Search --> : Unable to add webreference VS2008


dannystommen
September 2nd, 2008, 09:48 AM
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

dannystommen
September 4th, 2008, 06:06 AM
Problem is solved!

vcdebugger
July 30th, 2009, 05:13 AM
can you pls explain how was it solved.