Commit | Line | Data |
---|---|---|
114d1c9a | 1 | /****************************************************************************** |
3abe9331 | 2 | * Copyright (c) 2000-2015 Ericsson Telecom AB |
114d1c9a EL |
3 | * All rights reserved. This program and the accompanying materials |
4 | * are made available under the terms of the Eclipse Public License v1.0 | |
5 | * which accompanies this distribution, and is available at | |
6 | * http://www.eclipse.org/legal/epl-v10.html | |
7 | ******************************************************************************/ | |
8 | module soapy_OK { | |
9 | ||
10 | type record ApplicationHeaderContent { | |
11 | integer i | |
12 | } | |
13 | ||
14 | type record of ApplicationHeaderContent SoapHeader; | |
15 | ||
16 | type record SoapBody {} | |
17 | ||
18 | type record SoapEnvelope { | |
19 | //record of ApplicationHeaderContent header optional, | |
20 | SoapHeader header optional, | |
21 | SoapBody body | |
22 | } | |
23 | with { | |
24 | variant "name as 'Envelope'"; | |
25 | ||
26 | variant (header[-]) "untagged"; | |
27 | }; | |
28 | ||
29 | ||
30 | } | |
31 | with { | |
32 | encode "XML"; | |
33 | } |