简体   繁体   English

xml文件作为wsdl c#项目

[英]xml file as wsdl c# project

Just to let you know this must be a basic question, but I am new to this field. 只是让您知道这必须是一个基本问题,但是我对这个领域是陌生的。

I am given xml file and asked to import it in C# project as wsdl file. 我得到了xml文件,并要求将其作为wsdl文件导入C#项目中。
I know how to import wsdl file in C# project like: Right click on 'Refrences' and then click 'Add Service Refrence' from there we need to select wsdl file. 我知道如何在C#项目中导入wsdl文件,例如:右键单击“ Refrences”,然后从此处单击“ Add Service Refrence”,我们需要选择wsdl文件。

I am confuse how to convert xml file to wsdl and import it in project. 我很困惑如何将xml文件转换为wsdl并将其导入项目中。

I really appreciate your help or tips to proceed. 非常感谢您的帮助或提示。

In order to create WSDL from XML first we have to create XSD from XML , Then with created XSD we can create a WSDL . 为了从XML创建WSDL ,首先必须XSD from XML创建XSD from XML ,然后使用创建的XSD我们可以创建WSDL

Create XSD from XML: Create XSD from XML in Code 从XML 创建XSD 在代码中 从XML 创建XSD

Create WSDL from XSD: How to create wsdl from xsd 从XSD创建WSDL: 如何从xsd创建wsdl

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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