Skip to content

Instantly share code, notes, and snippets.

@MafaldaLandeiro
Last active March 10, 2016 18:32
Show Gist options
  • Select an option

  • Save MafaldaLandeiro/b5339d42bf6c7b3b0d95 to your computer and use it in GitHub Desktop.

Select an option

Save MafaldaLandeiro/b5339d42bf6c7b3b0d95 to your computer and use it in GitHub Desktop.
Web service domain definition
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.example.org/greetings" xmlns:tns="http://www.example.org/greetings"
elementFormDefault="qualified">
<xs:element name="getGreetingRequest">
<xs:complexType>
<xs:sequence>
<xs:element name="name" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getGreetingResponse">
<xs:complexType>
<xs:sequence>
<xs:element name="greeting" type="tns:greeting" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType name="greeting">
<xs:sequence>
<xs:element name="date" type="xs:string" />
<xs:element name="content" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:schema>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment