https://jax-ws.dev.java.net/issues/show_bug.cgi?id=543 Issue #|543
Summary|wsimport ant task doesn't accept multibyte characters
|in path
Component|jax-ws
Version|2.1.2
Platform|All
OS/Version|All
URL|
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P2
Subcomponent|wsimport
Assigned to|issues@jax-ws
Reported by|mkuchtiak
------- Additional comments from
mkuchtiak@... Wed Mar 26 16:54:30 +0000 2008 -------
To reproduce the issue :
1.
Create a Netbeans (Java) project in a directory containing multibyte (Japanese)
character.
2. create a Web Service client in such a project.
In Netbeans we generate the following target for wsimport task (sample) :
<target name="wsimport-client-SearchWS.asmx"
depends="wsimport-init,wsimport-client-check-SearchWS.asmx"
unless="wsimport-client-SearchWS.asmx.notRequired">
<wsimport fork="true" xendorsed="true"
sourcedestdir="${build.generated.dir}/wsimport/client" extension="true"
destdir="C:\Users\jp154641\Documents\メリカで経営してい\JavaApplication3\
build/wsimport/binaries"
wsdl="${basedir}/xml-resources/web-service-references/SearchWS.asmx/wsdl/www.esynaps.com/WebServices/SearchWS.asmx.wsdl"
wsdlLocation="
http://www.esynaps.com/WebServices/SearchWS.asmx?WSDL"
catalog="catalog.xml">
<jvmarg value="-Djava.endorsed.dirs=${jaxws.endorsed.dir}"/>
</wsimport>
<copy todir="${build.classes.dir}">
<fileset dir="${build.generated.dir}/wsimport/binaries"
includes="**/*.xml"/>
</copy>
</target>
Look especially at destdir attribute. Originally there was a value:
destdir="${build.generated.dir}/wsimport/binaries"
This is an error message we get running that target:
wsimport-client-SearchWS.asmx:
Consider using <depends>/<produces> so that wsimport won't do unnecessary
compilation
directory not found:
C:\Users\jp154641\Documents\?????????\JavaApplication3\build\wsimport\binaries
The issue is also valid for sourcedestdir and wsdl attributes.
We even tried to specify path using the ${basedir} property - no success.
---------------------------------------------------------------------
To unsubscribe, e-mail:
issues-unsubscribe@...
For additional commands, e-mail:
issues-help@...