Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Callisto WTP: create web service including other types
Callisto WTP: create web service including other types [message #176958] Mon, 14 August 2006 14:40 Go to next message
Hana Giat is currently offline Hana GiatFriend
Messages: 13
Registered: July 2009
Junior Member
Hi.
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
Re: Callisto WTP: create web service including other types [message #177075 is a reply to message #176958] Wed, 16 August 2006 06:42 Go to previous message
Hana Giat is currently offline Hana GiatFriend
Messages: 13
Registered: July 2009
Junior Member
Hi.
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
Previous Topic:Dali/WTP/DTP integration roadmap.
Next Topic:TagLibs ??????
Goto Forum:
  


Current Time: Thu Nov 27 16:18:52 GMT 2014

Powered by FUDForum. Page generated in 0.03154 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software