Hi all!
I've a strange error:
I have built an application which consumes a SAP service. This SAP service is built via a JAVA layer which exposes a WSDL.
The application was built in VS2005 using .NET 3.0. This all works just fine. The SAP service was added as a Service Reference.
Now I have migrated the solution to VS2008 and .NET 3.5 and I want to upgrade the service reference to a new url.
The first strange thing seems to be that the "update service reference" option is gone from the menu? Where is it gone?
But ok, I tried to add the new service reference by right clicking on the project, choose "Add service reference..." and entered the url.
Then I get this error:
There was an error downloading '
http://sapurl/SAPService/Config?wsdl'.
Metadata contains a reference that cannot be resolved: '
http://sapurl/SAPService/Config?wsdl'.
The remote server returned an unexpected response: (502) Proxy Error ( No data record is available. For more information about this event, see ISA Server Help. ).
The remote server returned an error: (502) Bad Gateway.
If the service is defined in the current solution, try building the solution and adding the service reference again.
Hmmm, this is strange? When I enter the url '
http://sapurl/SAPService/Config' in the addressbar of IE then the wsdl shows up just fine.
So I tested it again using the 'old' url and got the same error!
Then I tried it using VS2005 and this works just fine! Wow, that's odd!
So basicly I cannot add a new service reference using Vs2008 and I can't put my finger on the problem.
I have also tried setting the framework back to 3.0: same error in VS2008.
I have also tried to add the service reference in a brand new console application, both in 3.0 and 3.5: same error in VS2008.
I need to use 3.5 now so I need to fix this issue.
Can anybody help?
Thanks!
D'Mzz!
RoverM
Start Free Trial