You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Suneet Shah <su...@gmail.com> on 2008/10/02 01:29:54 UTC

JAX-WS and Refering to a Spring Object

Hello:

I have set of Spring objects in project that are working well and tested. I
would like to expose these as services. How would I make reference to these
objects?
For example, if I have a service:

    <jaxws:endpoint id="organizationDataService"
        implementor="#organizationDataServiceImpl"
        wsdlLocation="WEB-INF/wsdl/OrganizationDataService.wsdl"
address="/OrganizationDataService" >
    </jaxws:endpoint>

but in my POJO project, I have a the following

    <bean id="orgManager"
class="org.idm.srvc.org.service.OrganizationDataServiceImpl" >
        <property name="orgDao" ref="orgDAO" />
        <property name="orgAttrDao" ref="orgAttrDAO" />
    </bean>

Normally in spring I can refer to another object using "ref". How would it
work here?

thanks

Re: JAX-WS and Refering to a Spring Object

Posted by Suneet Shah <su...@gmail.com>.
Please disregard. I found the problem.



On Wed, Oct 1, 2008 at 7:29 PM, Suneet Shah <su...@gmail.com>wrote:

> Hello:
>
> I have set of Spring objects in project that are working well and tested. I
> would like to expose these as services. How would I make reference to these
> objects?
> For example, if I have a service:
>
>     <jaxws:endpoint id="organizationDataService"
>         implementor="#organizationDataServiceImpl"
>         wsdlLocation="WEB-INF/wsdl/OrganizationDataService.wsdl"
> address="/OrganizationDataService" >
>     </jaxws:endpoint>
>
> but in my POJO project, I have a the following
>
>     <bean id="orgManager"
> class="org.idm.srvc.org.service.OrganizationDataServiceImpl" >
>         <property name="orgDao" ref="orgDAO" />
>         <property name="orgAttrDao" ref="orgAttrDAO" />
>     </bean>
>
> Normally in spring I can refer to another object using "ref". How would it
> work here?
>
> thanks
>