Hello,

since 2 days i try to generate client stubs from https://api.betfair.com/exchange/v3/BFExchangeService.wsdl.
the problem are the generated ArrayOf<Type> classes.
How can i configure wsdl2java, that these array types generated/mapped to real java arrays like type[] and not a single arrayOf<Type>-class?

Example (from wsdl above):

<xsd:complexType name="PlaceBetsReq">
   <xsd:complexContent>
       <xsd:extension base="types:APIRequest">
           <xsd:sequence>
<xsd:element name="bets" nillable="true" type="types:ArrayOfPlaceBets"/>
           </xsd:sequence>
       </xsd:extension>
   </xsd:complexContent>
</xsd:complexType>
-------------------------------------------------------------------------------------------
<xsd:complexType name="ArrayOfPlaceBets">
   <xsd:sequence>
<xsd:element form="qualified" maxOccurs="unbounded" name="PlaceBets" nillable="true" type="types:PlaceBets"/>
   </xsd:sequence>
</xsd:complexType>


this class 'PlaceBetsReq' takes an array of PlaceBets but wsdl2java generates a class 'ArrayOfPlaceBets' but i need PlaceBets[].
i axis 1.4 is see it works, but not at me with xfire.

may be someone can give my some tips or better a solution.

sven


Reply via email to