Blog Stats
  • Posts - 19
  • Articles - 0
  • Comments - 61
  • Trackbacks - 255

 

Accessing a Web Service Written in VS2005 Beta1 From Visual Studio 2003

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


Feedback

# re: Accessing a Web Service Written in VS2005 Beta1 From Visual Studio 2003

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. 1/28/2005 2:57 PM | Kapil

# re: Accessing a Web Service Written in VS2005 Beta1 From Visual Studio 2003

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 1/28/2005 2:59 PM | Gerry

# re: Accessing a Web Service Written in VS2005 Beta1 From Visual Studio 2003

Gravatar beautiful, someone just asked me about this and it solved the problem right quick.

I agree, you da man 3/14/2005 1:07 PM | Jesse

# re: Accessing a Web Service Written in VS2005 Beta1 From Visual Studio 2003

Gravatar Awesome, I have no idea how you figured this out, but thanks for posting it! Much appreciated.
Brian 4/24/2005 7:39 PM | Brian

# re: Accessing a Web Service Written in VS2005 Beta1 From Visual Studio 2003

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 4/24/2005 8:31 PM | Gerry

# re: Accessing a Web Service Written in VS2005 Beta1 From Visual Studio 2003

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 3/24/2006 4:51 AM | Narendra B K

Post a comment





 

Please add 3 and 4 and type the answer here:

 

 

Copyright © Gerry O'Brien