Advertisement

07.02.2008 at 07:42AM PDT, ID: 23533724
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.4

MetaData error when trying to add Service Reference using VS2008

Asked by roverm in Visual Studio, Web Services Description Language

Tags: ,

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!
RoverMStart Free Trial
 
 
[+][-]07.02.2008 at 10:47PM PDT, ID: 21922938

View this solution now by starting your 14-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Visual Studio, Web Services Description Language
Tags: VS2008, C#
Sign Up Now!
Solution Provided By: roverm
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20081112-EE-VQP-43 / EE_QW_2_20070628