⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hello.xsd

📁 Xfire文件 用于开发web service 的一个开源工具 很好用的
💻 XSD
字号:
<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://services.something.org/hello"
	xmlns:tns="http://services.something.org/hello"
	xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" jaxb:version="2.0"
	xmlns="http://www.w3.org/2001/XMLSchema" version="1.0">

	<annotation>
		<documentation>
			Hello Service Contract XML Schema
		</documentation>
		<appinfo>
		<!-- Could overwrite the default Java package here like this:
		     But do not use the same package name here as in wsgen task,
			 until this bug is fixed: http://jira.codehaus.org/browse/XFIRE-597

			<jaxb:schemaBindings>
				<jaxb:package name="org.something.services.hello.dto" />
			</jaxb:schemaBindings>
		 -->
		</appinfo>
	</annotation>

	<element name="HelloRequest">
		<complexType>
			<sequence>
				<element name="toWho" type="string" />
			</sequence>
		</complexType>
	</element>

	<element name="HelloResponse">
		<complexType>
			<sequence>
				<element name="greeting" type="string" />
			</sequence>
		</complexType>
	</element>

	<element name="HelloFault">
		<complexType>
			<sequence>
				<element name="shortErrorMessage" type="string" />
				<element name="techImplementationDetails" type="string" minOccurs="0">
					<annotation><documentation>For example a Stacktrace</documentation></annotation>
				</element>
			</sequence>
		</complexType>
	</element>

</schema>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -