Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

wsdl2java - arrays not created

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: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) {

What am I missing?
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic