简体   繁体   中英

Problems with vs2010 creating extra service contracts (appening a '1') in reference.cs

I am getting an error while compiling to my solution:

Cannot implicitly convert type 'MGApplicationModel.OrderProcessingService.OrderDetailSXe[]' to 'MGApplicationModel.OrderProcessingService.OrderDetailSXe1[]'

Both MGApplicationModel.OrderProcessingService.OrderDetailSXe[] and 'MGApplicationModel.OrderProcessingService.OrderDetailSXe1[] appear in the reference.cs files but only 'MGApplicationModel.OrderProcessingService.OrderDetailSXe[] should.

Anyone have a clue why whenever I update the service reference it would create 'MGApplicationModel.OrderProcessingService.OrderDetailSXe1[] ? And the is no 'MGApplicationModel.OrderProcessingService.OrderDetailSXe1[] anywhere in the solution besides reference.cs .

引用是您的proxy class ,并且代理是通过从WSDL生成的,因此您可以通过定义来调整WSDL

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM