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 MUHAMMAD IQBAL <iq...@hotmail.com> on 2006/08/23 22:03:38 UTC

Migrate from Axis1 to Axis2

Hi,

Can any one help me in migrating from Axis1 to Axis2. I already have an 
application developed using Axis1, i want this application to be migrated to 
Axis2.

Any idea?

Thanks in advance.

Muhammad Iqbal



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


[Axis2]: Error while starting the server

Posted by Syam Prasad <sy...@segsoftware.com>.
Hi,

Can any body help me with the following error. It is happening while
starting the server.

ERROR - DeploymentEngine.doDeploy(628) [main] | Invalid service  system due
to Invalid service META-INF directory not found; nested exception is: 
	org.apache.axis2.deployment.DeploymentException: Invalid service
META-INF directory not found
org.apache.axis2.deployment.DeploymentException: Invalid service META-INF
directory not found; nested exception is: 
	org.apache.axis2.deployment.DeploymentException: Invalid service
META-INF directory not found

The error message is obvious but I have the directory structure defined like

---webapp
            \---WEB-INF
                |   web.xml
                |
                \---services
                    \---MyService
                        \---META-INF
                                |	services.xml

Still it is throwing error. Your help is appreciated.

Thanks in advance,
Syam


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Migrate from Axis1 to Axis2

Posted by robert lazarski <ro...@gmail.com>.
Just to add to what Anne said, there is a migration guide:

http://ws.apache.org/axis2/1_0/migration.html

HTH,
Robert
http://www.braziloutsource.com/

On 8/23/06, Anne Thomas Manes <at...@gmail.com> wrote:
> What style is your existing service? RPC/encoded, RPC/literal, wrapped
> document/literal, or unwrapped document/literal?
>
> If it's RPC/literal or unwrapped document/literal, you should be able
> to take the WSDL, run WSDL2Java, generate a new server skeleton and an
> ADB or XMLBeans data binding, and just plug in your server code.
>
> If you use wrapped document/literal, you do the same thing, but you
> will need to make a small change to your server code so that it
> accepts a bean containing your parameters rather than the unwrapped
> parameters.
>
> If you use rpc/encoded, then you must first edit the WSDL and convert
> it to either RPC/literal or unwrapped document/literal. Then run
> WSDL2Java, and adapt your server code to the new style.
>
> Anne
>
> On 8/23/06, MUHAMMAD IQBAL <iq...@hotmail.com> wrote:
> > Hi,
> >
> > Can any one help me in migrating from Axis1 to Axis2. I already have an
> > application developed using Axis1, i want this application to be migrated to
> > Axis2.
> >
> > Any idea?
> >
> > Thanks in advance.
> >
> > Muhammad Iqbal
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Migrate from Axis1 to Axis2

Posted by Anne Thomas Manes <at...@gmail.com>.
What style is your existing service? RPC/encoded, RPC/literal, wrapped
document/literal, or unwrapped document/literal?

If it's RPC/literal or unwrapped document/literal, you should be able
to take the WSDL, run WSDL2Java, generate a new server skeleton and an
ADB or XMLBeans data binding, and just plug in your server code.

If you use wrapped document/literal, you do the same thing, but you
will need to make a small change to your server code so that it
accepts a bean containing your parameters rather than the unwrapped
parameters.

If you use rpc/encoded, then you must first edit the WSDL and convert
it to either RPC/literal or unwrapped document/literal. Then run
WSDL2Java, and adapt your server code to the new style.

Anne

On 8/23/06, MUHAMMAD IQBAL <iq...@hotmail.com> wrote:
> Hi,
>
> Can any one help me in migrating from Axis1 to Axis2. I already have an
> application developed using Axis1, i want this application to be migrated to
> Axis2.
>
> Any idea?
>
> Thanks in advance.
>
> Muhammad Iqbal
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org