-
Notifications
You must be signed in to change notification settings - Fork 0
/
Styles.txt
62 lines (45 loc) · 1.38 KB
/
Styles.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
DOCUMENT/LITERAL
<types>
<schema>
<element name="xElement" type="xsd:int"/>
<element name="yElement" type="xsd:float"/>
</schema>
</types>
<message name="myMethodRequest">
<part name="x" element="xElement"/>
<part name="y" element="yElement"/>
</message>
<message name="empty"/>
Si es "document" y "literal" se envía:
<xElement>5</xElement>
<yElement>5.0</yElement>
-------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------
DOCUMENT/LITERAL Wrapped
<types>
<schema>
<element name="myMethod">
<complexType>
<sequence>
<element name="x" type="xsd:int"/>
<element name="y" type="xsd:float"/>
</sequence>
</complexType>
</element>
</schema>
</types>
<message name="myMethodRequest">
<part name="parameters" element="myMethod"/>
</message>
<portType name="PT">
<operation name="myMethod">
<input message="myMethodRequest"/>
<output message="empty"/>
</operation>
</portType>
Si es "document" y "literal" se envía:
<myMethod>
<x>5</x>
<y>5.0</y>
</myMethod>
La particularidad es que el element se llama igual que la operation