Generally following data types used to define INPUT/OUTPUT parameters.
Standard Variables :
Name |
Description |
---|---|
string |
String type variable |
integer |
Integer Type Variable |
FixedArray |
General array, Associative is not re-commanded except PHP client. |
Composite Variable:
If required we can define mixed variable that we called composite. We define these variables in below location:
/development/definition/wsdl
There is a common file types.xml. If we define definition there then type will include all WSDL.
To define class specific variable then we have to create a new XML file with the name of that class. For example, testservice.xml. In that case type variables will include in WSDL of testservice class.
See below example of a composite variable definition:
<types>
<complexType name="TestServiceObj">
<all>
<element name="invoice" type="xsd:string" minOccurs="0"/>
<element name="jobs" type="xsd:FixedArray"/>
</all>
</complexType>
</types>
In Above example we created a data type called TestServiceObj that contain two standard data type String and FixedArray