2 questions on Java2WSDL.

2-1. Source path
 I use "mvn -Peclipse eclipse:eclipse" to generate .classpath for Eclipse.
 The source path is incomplete, therefore not only can't the project
compile, but also does the Test Case generate empty WSDL portType. (WSDL
content is not checked)
 How to make this into .classpath please:
   <classpathentry kind="src" path="target/sdo-source"/>

2-2. SDO integration
 A Java class may be a static SDO. Not only may SDO have XSD info, but also
could SDO know XSD location.
 What do you think to enable all these options:
 1. Option -importSchema: If XSD location is available, generate WSDL to
import that.
     Axis(2) supports option "-C, --importSchema" (
http://ws.apache.org/axis/java/reference.html#Java2WSDLReference)
 2. Option -importSDO: If XSD into is available, generate XSD using SDO and
generate WSDL using Axis(2) to import that
 3. Option -inlineSDO: If XSD info is available, generate WSDL using
Axis(2) with inline schema from SDO

--

Yang ZHONG

Reply via email to