Array of objects[] as an incoming parameter

Are you missing a feature? Request it's implementation here.
Natalia24545
Posts: 1

Array of objects[] as an incoming parameter

Wed Mar 09, 2016 10:58 am

Is it possible to list amongst incoming parameters an array of objects in SOAP 1.1?

When I invoke the method conteining incoming parameters of "order_type" I get SOAP ERROR: encoding vaiolation.

The incoming parameters of the method are described like this:

Code: Select all

<complexType name="order_type">
<sequence>
<element name="department" type="string"/>
< ... >
<element name="guest" type="s:guest_array_type"/>
<element name="route" type="s:route_array_type"/>
< ... >
<element name="baby_car_seat" type="s:baby_car_seat_type"/>
</sequence>
</complexType>

<complexType name="guest_type">
<sequence>
<element name="guest_name" type="string"/>
<element name="guest_surname" type="string"/>
<element name="guest_phone" type="string"/>
</sequence>
</complexType>

<complexType name="guest_array_type">
<sequence>
<element name="guest_array" type="s:guest_type" minOccurs="1" maxOccurs="unbounded"/>
</sequence>
</complexType>

<complexType name="route_type">
<sequence>
<element name="address" type="string"/>
<element name="longitude" type="double"/>
<element name="latitude" type="double"/>
<element name="flight" type="string"/>
</sequence>
</complexType>

<complexType name="route_array_type">
<sequence>
<element name="route_array" type="s:route_type" minOccurs="2" maxOccurs="unbounded"/>
</sequence>
</complexType>

Please write soon

Thanks,
Natalia
Radu
Posts: 5582

Re: Array of objects[] as an incoming parameter

Wed Mar 09, 2016 2:39 pm

Hi Natalia,

This is a forum related to Oxygen XML Editor. Is your question related to Oxygen, could you give me more details?

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Return to “Feature Request”

Who is online

Users browsing this forum: No registered users and 0 guests