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 "Wolters, Oliver" <WT...@ProCom.de> on 2006/05/17 12:34:55 UTC
[Axis2] How To change the Provider in Axis2?
Hi All,
I have an existing System with CORBA-Interfaces that I want to publish as Web Services without to do any coding when the interfaces change. In Axis 1.X I've done the that by extending the existing RPC-Provider and overwrite the makeNewServiceObject( )-methode so that it looks up the references to the implementation of the services in a CORBA-NamingService (like the CORBAProvider does). That only works for the first interface, but the references to the other interfaces (services) are retrieved from our system by calling factory-methods. So I had to rewrite the Provider to receive the references to the first interface from the NamingService and to all other service implementations from a call to a factory method. The references to the services are stored in the SessionContext. This all works fine. But now I want to migrate to Axis2 and I can't find any documantation how to migrate the Custum Provider that is neccessary for me.
Thanks for any help.
Oliver Wolters
--
ProCom Systemhaus und
Ingenieurunternehmen GmbH
Luisenstr. 41 - D-52070 Aachen
Tel. +49 241 51804-181
Fax +49 241 51804-30
http://www.procom.de
mailto:wt@procom.de
Re: [Axis2] How To change the Provider in Axis2?
Posted by Davanum Srinivas <da...@gmail.com>.
Please see RPCMessageReceiver in codegen maven module
On 5/17/06, Wolters, Oliver <WT...@procom.de> wrote:
>
>
>
> Hi All,
>
> I have an existing System with CORBA-Interfaces that I want to publish as
> Web Services without to do any coding when the interfaces change. In Axis
> 1.X I've done the that by extending the existing RPC-Provider and overwrite
> the makeNewServiceObject( )-methode so that it looks up the references to
> the implementation of the services in a CORBA-NamingService (like the
> CORBAProvider does). That only works for the first interface, but the
> references to the other interfaces (services) are retrieved from our system
> by calling factory-methods. So I had to rewrite the Provider to receive the
> references to the first interface from the NamingService and to all other
> service implementations from a call to a factory method. The references to
> the services are stored in the SessionContext. This all works fine. But now
> I want to migrate to Axis2 and I can't find any documantation how to migrate
> the Custum Provider that is neccessary for me.
>
> Thanks for any help.
>
> Oliver Wolters
>
> --
> ProCom Systemhaus und
> Ingenieurunternehmen GmbH
> Luisenstr. 41 - D-52070 Aachen
>
> Tel. ჽ 241 51804-181
> Fax ჽ 241 51804-30
> http://www.procom.de
> mailto:wt@procom.de
>
--
Davanum Srinivas : http://wso2.com/blogs/