All,
Help would be greatly appreciated, have a ridiculous work deadline and am new to webservices.
I'm starting with a defined XML schema. With the schema, I am able to use autotype to generate
java classes. (autotype entry in bold)
<target name="convertXml">
<autotype schemaFile="facSvc.xsd"
packageName="examples.webservices.basic.javaclass"
destDir="${build}" />
</target>
From there, I can build my service and generate ears, etc. However, when I attempt to use the source2wsdd
ant task (entry in bold below), compilation of RubyAlarmService.java fails because of unresolved symbols (where it references classes in "examples.webservices.basic.javaclass"). My classpath points to the correct directory and I import the right package. When I use
autotype, does packageName not mean, create a package named "examples.webservices.basic.javaclass"??
<target name="wsdl">
<source2wsdd javaSource="${source}/RubyAlarmService.java"
ddFile="${ddFile}"
typesInfo="${build}/types.xml"
serviceURI="/RubyAlarm"
wsdlFile="${wsdlFiles}/RubyAlarm.wsdl" />
</target>
thanks - Dan