Skip to content

Instantly share code, notes, and snippets.

@nialdarbey
Created November 6, 2012 21:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nialdarbey/4027745 to your computer and use it in GitHub Desktop.
Save nialdarbey/4027745 to your computer and use it in GitHub Desktop.
HotelMessage.xsd
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns:mod="http://www.mule-health.com/SOA/model/1.0" xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.mule-health.com/SOA/message/1.0" xmlns:tns="http://www.mule-health.com/SOA/message/1.0" elementFormDefault="unqualified">
<import namespace="http://www.mule-health.com/SOA/model/1.0" schemaLocation="SOA-Model-1.0.xsd" />
...
<element name="admitSubjectResponse">
<complexType>
<choice>
<sequence>
<element ref="mod:Episode" />
<element ref="mod:Bill" />
</sequence>
<element ref="mod:InsuranceCoverStatus" />
</choice>
</complexType>
</element>
...
<element name="createEpisodeResponse">
<complexType>
<sequence>
<element ref="mod:Episode" />
</sequence>
</complexType>
</element>
...
<element name="createBill">
<complexType>
<sequence>
<element ref="mod:Episode" />
<element ref="mod:InsuranceCaseNumber" />
</sequence>
</complexType>
</element>
<element name="createBillResponse">
<complexType>
<sequence>
<element ref="mod:Bill" />
</sequence>
</complexType>
</element>
...
</schema>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment