有人可以帮我为以下 OGC 模式生成接口 (c#) 文件吗?
架构文件:下载架构文件链接
我需要在上面的模式 zip 文件中为 Ordering wsdl 创建 Web 服务。我已经做了好几天了,没有运气生成界面。我试过了:
svcutil.exe thewsdl.wsdl /language:c# /out:ITheInterface.cs
svcutil Order.wsdl /out:IOrder.cs
svcutil Order.wsdl Order.xsd ..\ws-addressing\ws-addr.xsd /out:IOrder.cs
svcutil Order.wsdl Order.xsd ws-addr.xsd /out:IOrder.cs
我收到以下错误:
Microsoft (R) Service Model Metadata Tool
[Microsoft (R) Windows (R) Communication Foundation, Version 4.0.30319.1]
Copyright (c) Microsoft Corporation. All rights reserved.
Error: Cannot read ws-addr.xsd.
Cannot load file D:\Documents\DEV\SARPilot\Docs\eoschema\schema\OrderSchema\ws-addr.xsd as an Assembly. Check the FusionLogs f
or more Information.
Could not load file or assembly 'file:///D:\Documents\DEV\SARPilot\Docs\eoschema\schema\OrderSchema\ws-addr.xsd' or one of its
dependencies. The module was expected to contain an assembly manifest.