Created
December 14, 2010 11:39
-
-
Save anonymous/740303 to your computer and use it in GitHub Desktop.
Operation Schema
This file contains hidden or 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 id="Operation" targetNamespace="http://my.ebXML.schema.com" | |
elementFormDefault="qualified" xmlns="http://my.ebXML.schema.com" | |
xmlns:payload="http://payload.company.com" xmlns:xs="http://www.w3.org/2001/XMLSchema"> | |
<xs:import namespace="http://payload.company.com" schemaLocation="Payload.xsd"/> | |
<xs:element name="DoSomething" type="DoSomethingType"/> | |
<xs:complexType name="DoSomethingType"> | |
<xs:sequence> | |
<xs:element name="AnObject" type="payload:PayloadType"/> | |
</xs:sequence> | |
</xs:complexType> | |
<xs:element name="AcknowledgementResponse" type="AcknowledgementResponseType"/> | |
<xs:complexType name="AcknowledgementResponseType"> | |
<xs:sequence> | |
<xs:element name="ResponseObject" type="payload:ResponseType"/> | |
</xs:sequence> | |
</xs:complexType> | |
</xs:schema> |
This file contains hidden or 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 id="Payload" targetNamespace="http://payload.company.com" | |
elementFormDefault="qualified" xmlns="http://payload.company.com" | |
xmlns:xs="http://www.w3.org/2001/XMLSchema" > | |
<xs:complexType name="PayloadType"> | |
<xs:sequence> | |
<xs:element name="ImportantValue" type="xs:integer"/> | |
</xs:sequence> | |
</xs:complexType> | |
<xs:complexType name="ResponseType"> | |
<xs:sequence> | |
<xs:element name="Ok" type="xs:boolean"/> | |
</xs:sequence> | |
</xs:complexType> | |
</xs:schema> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment