我使用wsdl格式的XML,现在我想将其编码更改为格式XSD格式。我是否需要在Web配置中进行一些更改,或者我需要做什么请给我建议。下面 是例如何将wsdl转换为XSD格式?
<wsdl:definitions name="LoginCheck"
targetNamespace="http://tempuri.org/">
<wsdl:types>
<xsd:schema targetNamespace="http://tempuri.org/Imports">
<xsd:import schemaLocation="http://192.168.0.6:8000/LoginCheck.svc?xsd=xsd0"
namespace="http://tempuri.org/"/>
<xsd:import schemaLocation="http://192.168.0.6:8000/LoginCheck.svc?xsd=xsd1"
namespace="http://schemas.microsoft.com/2003/10/Serialization/"/>
,我想将其转换像下面
<definitions targetNamespace="urn:saveCharacterAcc">
<types>
<xsd:schema targetNamespace="urn:saveCharacterAcc">
<xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<xsd:import namespace="http://schemas.xmlsoap.org/wsdl/"/>
<xsd:complexType name="Character">
<xsd:all>
<xsd:element name="characterNumber"
type="xsd:int"/>
<xsd:element name="byteArray"
type="xsd:string"/>
<xsd:element name="rotationAngle"
type="xsd:string"/>
<xsd:element name="charX" type="xsd:string"/>
有些身体可以告诉我更多关于它吗? – NoviceToDotNet
我可以期待更多答案吗? – NoviceToDotNet