-
1. Re: Generating mapping file and WSDL file
kanno Dec 9, 2004 5:59 PM (in response to jason.greene)Actually, it is a bug in the ant task... for some reason, it's putting the parameters out of order. I took the output and reordered the parameters, then it worked just fine. Does anyone know if there's a bug tracking system for the wscompile anttask?
-
3. Re: Generating mapping file and WSDL file
md5georg Feb 3, 2005 9:40 AM (in response to jason.greene)Ok... there is a bug reported now.... but they say they have three weeks of internal review before it goes public.
/Georg
************************************************
Your report has been assigned an internal review ID of: 389060
This review ID is NOT visible on the "Java Developer Connection" (JDC).
We greatly appreciate your interest in improving the quality
of Java(tm) Technology from Sun Microsystems.
Please be aware that the large volume of reports we receive
sometimes prevents us from responding individually to each
message.
We currently have a three week response time for responding to
Bug Reports. If the information is determined to be a new bug,
or a duplicate of a known bug, you will receive a followup email
containing a seven digit bug number. You may search for this bug
number on the "Java Developer Connection" (JDC) at this URL:
http://developer.java.sun.com/developer/bugParade/index.html.
If you just reported an issue that could have a major
impact on your project and you require a response,
please consider purchasing one of the support offerings
at this URL:
http://java.sun.com/support/index.html
---------------------------------------------------------------
dateCreated: Thu Feb 03 06:59:42 MST 2005
type: bug
cust_name: Georg Hallingstr�¶m
cust_email: georg@syrensoftware.se
jdcid:
status: Waiting
category: jwsdp
subcategory: tools
release: 1.4
hardware: x86
OSversion: win_xp
priority: 4
synopsis: The ant task for wscompile does not respect the -mapping parameter correctly
description: FULL PRODUCT VERSION :
java version "1.4.2_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-b05)
Java HotSpot(TM) Client VM (build 1.4.2_07-b05, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Windows XP Pro
A DESCRIPTION OF THE PROBLEM :
Running the ant wscompile task utilizing the "mapping" parameter fails with the error message:
[wscompile] error: -mapping is an invalid option or argument
[wscompile] Usage: wscompile [options] configuration_file
[wscompile] Use "wscompile -help" for a detailed description of options.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The task should create a type mapping file.
ACTUAL -
An error message
ERROR MESSAGES/STACK TRACES THAT OCCUR :
[wscompile] error: -mapping is an invalid option or argument
[wscompile] Usage: wscompile [options] configuration_file
[wscompile] Use "wscompile -help" for a detailed description of options.
REPRODUCIBILITY :
This bug can be reproduced always.
workaround: -
4. Re: Generating mapping file and WSDL file
jspaeth Mar 3, 2005 5:52 PM (in response to jason.greene)Has anybody yet received a response from sun on this issue?
-
5. Re: Generating mapping file and WSDL file
md5georg Mar 7, 2005 8:10 AM (in response to jason.greene)Nop, no response yet.
But there are a number of other bug reports regarding the '-mapping' functionality. See:
http://bugs.sun.com/bugdatabase/search.do?process=1&category=&subcategory=&bugStatus=&type=&keyword=wscompile&maxResults=10&startIndex=1&sortBy=date
Best regards,
Georg -
6. Re: Generating mapping file and WSDL file
jtroxel Mar 17, 2005 6:41 PM (in response to jason.greene)I found this:
http://forum.java.sun.com/thread.jspa?threadID=592994&tstart=0
Dangedest thing, but fork="true" in the wscompile tag makes the error go away.
- John