Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I eventually decided to use the 'xmlbeans' data binding format for the Outputted Generated Java classes representing the WSDL operations. </p> <p>It seems that the Axis2 data binding (ADB) does not handle WSDL with multiple Complex Types ( which are, when translated to Java code, return Java Objects) especially if they are configured with XMLSchema attributes <code>maxOccurs='unbounded'</code> .</p> <p>When the output is generated when using ADB it seems that a separate Object_x ( where x is an integer ranging from 1..n) is created for every Complex Type called Object which would require different properties depending on the Operation requirements as defined in the WSDL document. The Object_x would be placed in the same package as the other objects generated by wsdl2java. The sent SOAP request then contains a <code>type=Object_x</code> XSD Attribute accompanying the translation of the Object to the SOAP request as shown in the initial question.</p> <p>When the output is generated when using xmlbeans, a package.Object class is generated by wsdl2java where the package is the name of the Operation while the Object is the Complex type and it seems that xmlbeans disregards the <code>maxOccurs='unbounded'</code> attribute and the sent SOAP request does not have any type paramters placed in it.</p> <p>Well this was how I solved this problem. I have sent in a bug report to the Axis2 development team but I will keep following it up to see if there are any resolutions in future versions.</p> <p>Thanks to all who tried.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload