Last active
August 29, 2015 14:17
-
-
Save robbypelssers/247eba6f374f330340d9 to your computer and use it in GitHub Desktop.
helloworldservice - helloworld.xsd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='UTF-8'?> | |
<xs:schema xmlns:tns="http://com.pelssers.helloworld/wrapper" | |
xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0" | |
targetNamespace="http://com.pelssers.helloworld/wrapper"> | |
<xs:element name="helloWorldRequest" type="tns:HelloWorldRequestType" /> | |
<xs:element name="helloWorldResponse" type="tns:HelloWorldResponseType" /> | |
<xs:element name="error" type="tns:errorType"/> | |
<xs:element name="unused" type="xs:string"/> | |
<xs:element name="Unused" type="xs:integer"/> | |
<xs:complexType name="HelloWorldRequestType"> | |
<xs:sequence> | |
<xs:element name="firstName" type="xs:string"/> | |
<xs:element name="first_name" type="xs:string"/> | |
<xs:element name="lastName" type="xs:string"/> | |
</xs:sequence> | |
</xs:complexType> | |
<xs:complexType name="HelloWorldResponseType"> | |
<xs:sequence> | |
<xs:element name="greeting" type="xs:string"/> | |
</xs:sequence> | |
</xs:complexType> | |
<xs:complexType name="reasonType"> | |
<xs:simpleContent> | |
<xs:extension base="xs:string" /> | |
</xs:simpleContent> | |
</xs:complexType> | |
<xs:complexType name="ReasonType"> | |
<xs:simpleContent> | |
<xs:extension base="xs:string" /> | |
</xs:simpleContent> | |
</xs:complexType> | |
<xs:complexType name="errorType"> | |
<xs:sequence> | |
<xs:element name="errorCode" type="xs:string"/> | |
<xs:element name="detail" type="xs:string"/> | |
<xs:element name="reason" type="tns:reasonType"/> | |
</xs:sequence> | |
</xs:complexType> | |
</xs:schema> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment