Partager via


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 https://server/_vti_bin/ExcelService.asmx?wsdl.

Comments

  • Anonymous
    March 19, 2007
    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();