Dev - How-to manage complex-type in SOAP service definitions ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Dev - How-to manage complex-type in SOAP service definitions ?

Yannick Thebault
I have to access to web service in another application defined wth
complex-type. Here is an example :
        <xs:element name="AvailRQ">
                <xs:complexType>
                        <xs:sequence>
                                <xs:element name="POS" type="POS_Type">
                <xs:sequence>
                        <xs:element name="Source" type="SourceType" maxOccurs="5">
                        </xs:element>
                </xs:sequence>
        </xs:element>
                                <xs:element name="OriginDestinationInformation" maxOccurs="5">
                                        <xs:complexType>
                                                <xs:complexContent>
                <xs:choice>
                        <xs:element name="DepartureDateTime" type="dateTime"/>
                        <xs:element name="ArrivalDateTime" type="dateTime"/>
                </xs:choice>
                                        </xs:complexType>
                                </xs:element>

It seems SOAPClientEngine (and service engine) doesn't directly and easily
support complex-type in service definition, right ?
Does it exist a way to use complex-type in SOAP requests or does it exist some
plans to support complex-type ?

Regards

Yannick

--
Yannick Thebault
Consultant
Tél : 06.88.33.64.45
Site projet : http://www.neogia.org/

Société Néréide
Tél : 02.47.50.30.54
Site : http://www.nereide.biz/
 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev