Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsCallisto WTP: create web service including other types
https://www.eclipse.org/forums/index.php/mv/msg/55700/176958/#msg_176958
I have a class uses external Apache classes (from the package
org.apache.axis.types). For example:
public Year echo_gYear(Year theYear){
return theYear;
}
When trying to create a web service from this class, I get an error saying
that the class Duration is refered but not defined:
IWAB0399E Error in generating Java from WSDL: java.io.IOException: Type {http://types.axis.apache.org}Year is referenced but not defined.
I'm trying to create doc-literal style wsdl.
axis.jar is located in the web-inf/lib and is in the build path of the
project - how can I make the service to be creating with these types?
Thanks!!
Hana]]>Hana Giat2006-08-14T14:40:43-00:00Re: Callisto WTP: create web service including other types
https://www.eclipse.org/forums/index.php/mv/msg/55700/177075/#msg_177075
I solved the problem by building the service top-down, instead of bottom
up, and it works.
It seems like the WSDL2Java knows to map xsd types to java types (thus
successfully created the web service skeleton classes) but java2WSDL
cannot map Axis java types to xsd types.
Ok, after all it works.
Is it possible to add custom mapping to change it, thus I can Java2WSDL
classes with Axis types?
Thanks!!
Hana]]>Hana Giat2006-08-16T06:42:09-00:00