Hi,

Please see comment below for #5

>> 5) The Java2WSDL flag "-p2n" doesn't work.  This is the Java
>> executable, not the ant task.  However, the ant task does work (using
>> the mapping sub tag).

Basically, running te Java2WSDL as an application, passing the
parameter -p2n with the mapping of java package comma typedef name
space.
The code would run, but when I check the type def namespace, it is not
the one from -p2n mapping.


On Mon, Mar 1, 2010 at 5:34 PM, Andreas Veithen
<[email protected]> wrote:
> 1) Here java.net is to be blamed. They broke several projects by
> moving their Maven repository. Apparently they did other bad things
> like that in the past (such as replacing an already released artifact
> by a different one), so that e.g. the CXF project has chosen to copy
> the artifacts they need to another repository and to remove the
> java.net repository from their POMs. Probably we will end up doing the
> same. Unfortunately we cannot fix any already released Axis2 version.
>
> 2) The Axis projects have been moved out of Apache Web Services and
> promoted to a top level project. The repository has already been moved
> [1], but the site has not yet been updated.
>
> 3,4,6) See comments in the corresponding JIRA issues.
>
> 5) This requires more information.
>
> Andreas
>
> [1] https://svn.apache.org/repos/asf/axis/axis2/java/
>
> On Mon, Mar 1, 2010 at 20:14, Nan Null <[email protected]> wrote:
>> I had a bad day with Axis.  Usually, Apache projects are very high
>> quality and I don't encounter issues like these.  I hope that the
>> developers listens and fix it accordingly.
>>
>> So, let's go to the issue.
>>
>> 1) Building version 1.5.1 doesn't work.
>>
>> It gave me some weird maven area about missing/invalid Java class.
>>
>> This turns out to be Axis's issue.  The build (pom.xml) file points to
>> a wrong/obsolete URL.  There is a tracker for this.  However, it
>> wasn't easy to find it.
>>
>> https://issues.apache.org/jira/browse/AXIS2-4549
>>
>> I am not sure because of my familiarity, but I think it's due to
>> Maven.  I know Maven is great, but this kind of Internet dependency is
>> really a limitation.  For example, the site can be down, and you can't
>> build.  There are so many sites, so this definitely increases the
>> possibility.  It's not as easy as download, and build.
>>
>> Probably there should be a off line build download for Axis?
>>
>> 2) The svn repository doesn't exist.
>>
>> What's the point of open source, if the real time source is not
>> available?  At least the website doesn't point to the correct
>> location:
>>
>> At the bottom of the page:  http://ws.apache.org/axis2/, there is a link:
>>
>> http://svn.apache.org/viewvc/webservices/axis2/trunk/?root=Apache-SVN
>>
>> Going there, I don't see any source.  Empty directory.
>>
>> 3) extraClasses flag for Java2WSDLTask is not working at all in ant
>>
>> 4) The above flag, even after fixing ant (that is ant would accept the
>> attribute), it doesn't work at all for generating code.
>>
>> 5) The Java2WSDL flag "-p2n" doesn't work.  This is the Java
>> executable, not the ant task.  However, the ant task does work (using
>> the mapping sub tag).
>>
>> 6) The generated code has some weird code like this:
>>
>> if (value == null) {
>>   localValueTracker = true;
>> } else {
>>   localValueTracker = true;
>> }
>>
>> This happens to many field setters, not just one or two.
>>
>> For those saying design should be by contract, and Java2WSDL should be
>> used.  This is a different argument, but I would like to say that with
>> annotation, web services goes from a method any way.  Further more, if
>> the WSDL are produced correctly, consistently, and in standard
>> conformation way, it should not be any difference.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to