• Post Reply Bookmark Topic Watch Topic
  • New Topic

wsdl2java - arrays not created  RSS feed

 
Karina Guenther
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using the following ant command:

<axis-wsdl2java debug="false" wraparrays="true" output="${src.gen.dir}" serverside="false" url="${wsdl.file}" verbose="true">
<mapping namespace="${service.namespace}" package="${generated.package.structure}" /></axis-wsdl2java>

the key part of the wsdl is.....
<xs:element minOccurs="0" nillable="true" name="COUNTING_REPORT_LINES">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="COUNTING_REPORT_LINE">


However the resulting java code doesn't accept an array...
public void setCOUNTING_REPORT_LINE(ball_inventory_counting_service_receive_counting_report_request.schemas.ifsworld_com.RECEIVE_COUNTING_REPORT_VIEWCOUNTING_REPORT_LINESCOUNTING_REPORT_LINE COUNTING_REPORT_LINE) {
this.COUNTING_REPORT_LINE = COUNTING_REPORT_LINE;
}

What am I missing?
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!