You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Strembski, Christoph (ESN-Bochum)" <st...@esn-realis.de> on 2008/04/04 13:38:30 UTC

Migrating Project form axis 1.4 to axis2

Hi,

 

im currently trying to migrate an existing project from axis to axis2.
That means I will run the contract first approach because the interface
must not be changed. What I really want to do is to run a "code and
contract first" approach.

 

When I try to use wsdl2java I get disappointing results.  I'm trying to
deploy a doc/lit Service on POJOs. But either one does not work: 

-          Keeping my POJOs, by using custom MessageRecievers

-          Having doc/lit WebServices

 

The next-best possible approach is to use wsdl2java with mappings
(namespace settings don't match java classes) with the -em option and an
xml based mapping file.  That makes any object generated with its own
marshalling and unmarshalling methods. The generated sources are quite
different from the actual structure. This means I'll have to tweak the
mapping and the generated sources to meet the desired structure. This is
a terrible job to do, which will take ages.

 

Is there any support say "axis to axis2" migration tool? Does anyone
have experience in migrating existing pojo doc/lit WebServices to axis2
using custom mappings? Do I make any mistake by design?

 

Any help is appreciated

Christoph Strembski