Cum Grano Salis

Internal Alias Question: After importing Excel Web Services, I cant find the objects as they are documented

Got this today in the internal distribution list:

Q: After importing your Web services and trying to follow this article, I can't find a lot of the things described. For example, the proxy class is called ExcelServiceSoap instead of ExcelService. What gives?

A: You are probably importing the wrong WSDL. You should be importing http://server/_vti_bin/ExcelService.asmx?wsdl.

Published Wednesday, March 14, 2007 11:27 AM by Shahar
Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

LCValentine said:

To expand on this situation further, (in case it is not apparent) the "ExcelService" object derives from the "file name" portion of the WSDL (minus the extesion).  i.e. "ExcelService" is the object you should instantiate from the web service "http://server/_vti_bin/ExcelService.asmx?wsdl"

One last example.  If this is my web service address:

http://www.mycompany.net/web_service_provider.asmx

The automatically generated "proxy" should be:

web_service_provider

And the object would be built like so:

web_service_provider ws = new web_service_provider();

March 19, 2007 3:56 PM

Leave a Comment

(required) 
(optional)
(required) 

  
Enter Code Here: Required
Submit

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker