Hi Dims,
I am not able to comment on the JIRA as it is inaccessible and hence
have decided to take this up over the ML.
I've looked into the JIRA (have attached below from the archives)
and have a couple of questions : -
- Are you particular about bringing in the MappingSet, Mapping
and Mapper implementations of Axis or did you cite that just to
better explain how this map must be loaded from a file. Right now
I have assumed the latter and have an implementation that can
pull off this mapping info from an xml stream and populate a map.
- Looking at Java2WSDLTask, I wonder if we should actually use the
Java2WSDLBuilder there instead of Java2WSDLCodegenEngine to interface
with Java2WSDL. Is there some reason for this, which I am missing out here?
Thanks
- Venkat
Java2WSDL Task - missing options available in command line
----------------------------------------------------------
Key: AXIS2-1411
URL: http://issues.apache.org/jira/browse/AXIS2-1411
Project: Apache Axis 2.0 (Axis2)
Issue Type: Bug
Components: Tools
Reporter: Davanum Srinivas
The Following options in the command line are not available in the Java2WSDLTask
-st <binding style> : style for the WSDL
-u <binding use> : use for the WSDL
-l <soap address> : address of the port for the WSDL
-nsg <generator class name> : fully qualified name of the class that implements \
NamespaceGenerator
-p2n [<java package>,<namespace] [<java package>,<namespace]... : java package to \
namespace mapping for argument and return types... to assign all types to \
a single namespace : -p2n [all , <namespace>] ...
-efd <qualified/unqualified> : Setting for elementFormDefault (defaults to qualified)
-afd <qualified/unqualified> : Setting for attributeFormDefault (defaults to \
qualified)
-xc <extra class> : Extra class for which schematype must be generated. \
Use as : -xc class1 -xc class2 ...
Also, Please use code from Axis 1.X for the mapping part \
(NamespaceMapping.java/MappingSet.java/Mapper.java)
http://svn.apache.org/viewvc/webservices/axis/trunk/java/tools/org/apache/axis/tools/a \
nt/wsdl/
So that the users can specify the mapping like this
<mapping namespace="
http://xml.apache.org/xml-soap"
package="javax.activation"></mapping>
thanks,
dims