Hello.
I
think you're talking about what i've reported few weeks ago in the JIRA
1987.
The
only workaround i know and use is to add the classpath dependancies in the path
of the java2wsdl/wsdl2java taskdef. It works when these task are used once in a
script, but is a bigger issue when they are used for multiple services with
distinct classpaths...
If
someone from Apache (Dims perhaps) has news about that... welcome
!
--
Ephemeris Lappis
-----Original Message-----hy!!!
From: Harald Pollak [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 21, 2005 1:52 PM
To: [email protected]
Subject: complextype in ant task ( java2wsdl )
i have troubles using complextypes in java2wsdl-tasks
here is the ant build file:
<target name="Java -> WSDL (Sms)"
description="Generates the WSDL file from Sms.java">
<java2wsdl
output="${local.wsdl}"
location="http://${target.server}:${target.port}/axis/services/WS-Test"
namespace="urn:sms"
classname="at.co.ksg.ws_test.WSTest_org"
style="wrapped"
serviceelementname="WSTest"
>
< classpath refid="bin.dir">
<complexType
classname="at.my.firm.WSType"
namespace="urn:ws_test.ksg.co.at"
/>
</java2wsdl>
</target>
the classpath is ignored ( when I remove complextype - evrythings ok )
has anyone a hint how to make it?
Harry
