Geeks With Blogs
Everything IT Programmer, SQL and Server Admin

I spent some time trying to figure this one out.  I had a web service that was written in Visual Studio 2005 Beta1.  I was accessing this web service from an app that was written in Visual Studio 2003. 

When adding a web reference or updating the reference, I was getting the error;

“Unable to download the following files. http://url_goes_here/service.asmx?wsdl.  Do you want to skip these files and continue?”

It turns out that the error is related to two values that are added the WebServiceBinding attribute of the class file in the service.  These two values are;

(ConformanceClaims = WsiClaims.BP10, EmitConformanceClaims = true)

When they are removed, the web reference works as expected. 

This was an especially strange occurrence as the app had been working all along.  Apparently, somebody made a change to the web service and updated it on the production server.  During this time, the changes made caused these values to be re-inserted in the attribute and the code file was checked into our source control app.  When I did a get latest, I D/L the modified code which broke my test app.

I guess I'll have to research these two values to determine their importance.

Gerry

Posted on Wednesday, January 5, 2005 11:00 AM | Back to top


Comments on this post: Accessing a Web Service Written in VS2005 Beta1 From Visual Studio 2003

# re: Accessing a Web Service Written in VS2005 Beta1 From Visual Studio 2003
Requesting Gravatar...
your the man!

this has been a problem for a 3 days now. thanks.

and the solution was staring me in the face the whole time.
Left by Kapil on Jan 28, 2005 2:57 PM

# re: Accessing a Web Service Written in VS2005 Beta1 From Visual Studio 2003
Requesting Gravatar...
Glad it helped you out. I know I scratched my head here for awhile as well. Especially when it did work, then didn't work again.

Gerry
Left by Gerry on Jan 28, 2005 2:59 PM

# re: Accessing a Web Service Written in VS2005 Beta1 From Visual Studio 2003
Requesting Gravatar...
beautiful, someone just asked me about this and it solved the problem right quick.

I agree, you da man
Left by Jesse on Mar 14, 2005 1:07 PM

# re: Accessing a Web Service Written in VS2005 Beta1 From Visual Studio 2003
Requesting Gravatar...
Awesome, I have no idea how you figured this out, but thanks for posting it! Much appreciated.
Brian
Left by Brian on Apr 24, 2005 7:39 PM

# re: Accessing a Web Service Written in VS2005 Beta1 From Visual Studio 2003
Requesting Gravatar...
It took a little while but a couple of use the office had no choice but to dig deeper.

It was actually by chance that we noticed the attribute and thought, "Why not try to remove that?". It worked.

I'm glad it is helping others out.

Gerry
Left by Gerry on Apr 24, 2005 8:31 PM

# re: Accessing a Web Service Written in VS2005 Beta1 From Visual Studio 2003
Requesting Gravatar...
I have a different issue,
we had the WebService in 2003 first which was used by a 2003 application, now we are changing the WebService in to VS-2005 it is causing probs
Help meeeeeeeeeeeee
Left by Narendra B K on Mar 24, 2006 4:51 AM

Your comment:
 (will show your gravatar)


Copyright © Gerry O'Brien | Powered by: GeeksWithBlogs.net