Your schema is of the SOAP-ENC: Array type defined in the xmlns: SOAP-ENC = "http://schemas.xmlsoap.org/soap/encoding/" schema, but this schema is not included in wsdl.
I had a similar problem and I had to use a directory to tell jaxb / xjc where to find the schema.
Go to http://schemas.xmlsoap.org/soap/encoding/ and save as soapenc.xsd
Then create a text file with the following contents
PUBLIC "http://schemas.xmlsoap.org/soap/encoding/" "soapenc.xsd"
Then pass this file to xjc as a directory file
Update: if you are on maven, this is how it will all be with you.
put the schema, soapenc.xsd and catalog.cat (plain text file) in src / main / resources
Then tell the jaxb plugin to pass the directory to xjc
<plugin> <groupId>org.jvnet.jaxb2.maven2</groupId> <artifactId>maven-jaxb2-plugin</artifactId> <executions> <execution> <id>wsdl-generate</id> <configuration> <schemaIncludes> <include>*.wsdl</include> </schemaIncludes> <catalog>${project.basedir}/src/main/resources/catalog.cat</catalog> </configuration> <goals> <goal>generate</goal> </goals> </execution> </executions> </plugin>
dan carter
source share