I have a
SOAPClient action. The request object is created in method
createRequest() of the
The schema contains a complex type such as the one below:
<s:complexType name="AddObjectData"> <s:sequence> <s:choice minOccurs="0" maxOccurs="unbounded"> <s:element minOccurs="0" maxOccurs="1" name="BoolVal" type="tns:BoolVal" /> <s:element minOccurs="0" maxOccurs="1" name="SingleVal" type="tns:SingleVal" />
Object is set as follows:
then a single element
<v1:StringVal> appears in request which is OK so far.
But as the request has to be sent with 2
StringVal elements, the request object is created as follows:
Then no single
<v1:StringVal> element appears in request.
Why aren't the object elements of object list
longIntValOrStringValOrCurrencyVal not added to request?
longIntValOrStringValOrCurrencyVal was generated by
wsdl2java from the given schema.
- Red Hat JBoss SOA Platform 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.