[ http://issues.apache.org/jira/browse/AXIS-1987?page=all ]
Ephemeris Lappis updated AXIS-1987:
-----------------------------------
Attachment: WS-for-J2me05-Jonas.zip
ZIP with a sample project.
> JAVA2WSDL ant task with document/literal style ignore classpath element for
> dependancies
> ----------------------------------------------------------------------------------------
>
> Key: AXIS-1987
> URL: http://issues.apache.org/jira/browse/AXIS-1987
> Project: Axis
> Type: Bug
> Components: WSDL processing
> Versions: 1.2
> Reporter: Ephemeris Lappis
> Attachments: WS-for-J2me05-Jonas.zip
>
> This issue is a duplicate of the old 1734 that has been closed.
> The ant task java2wsdl doesn't take into account the inner classpath to find
> dependant classes for complex types mapping. As a work-around, the build
> script must include the project's classes directory to the task defefinition
> classpath.
> Note that when a simple service with no dependant class such as beans or
> exceptions is processed, the task effectively finds the main service class
> using the inner classpath.
> The attached zip is a full project with its the build.xml. The taskdef
> explicitly add the project's compiled classes to the java2wsdl classpath to
> force the complex type mapping resolution. This is not correct, since a same
> taskdef may be used to process many services using distinct directories. Each
> target using the java2wsdl should be free to specify its own classpath.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira