You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Julio Arias <ju...@rbxglobal.com> on 2007/08/01 00:23:23 UTC

Re: Two Endpoints w/ Same Interface

Hi Chris -

Go ahead and inspect the code, this happen to me once but it was my  
mistake I was using the same impl bean, but your example should work  
fine.

On Jul 30, 2007, at 6:25 AM, Christopher Moesel wrote:

> Yes, I am specifying the following parameters as annotations on my  
> implementation:
>
> name, serviceName, portName, targetNamespace, wsdlLocation, and  
> endpointInterface.
>
> If no one sees anything immediately wrong with it, I can dig into  
> the CXF code to see what's going on-- I just thought I'd ask in  
> case someone had seen this before.
>
> -Chris
>
> -----Original Message-----
> From: Julio Arias [mailto:julio.arias@rbxglobal.com]
> Sent: Friday, July 27, 2007 9:02 PM
> To: cxf-user@incubator.apache.org
> Subject: Re: Two Endpoints w/ Same Interface
>
> Hi Christopher -
>
> Are you specifying your service name and port on your @WebService
> annotation?
>
> On Jul 27, 2007, at 4:52 PM, Christopher Moesel wrote:
>
>> <bean id="liveDAO" class="com.myco.LiveDAO" />
>>
>> <bean id="liveWebService" class="com.myco.WebServiceImpl">
>>   <property name="dao" ref="liveDAO" />
>> </bean>
>>
>> <jaxws:endpoint
>>   id="liveWebServiceEndpoint"
>>   implementor="#liveWebService"
>>   wsdlLocation="webservice.wsdl"
>>   address="/MyCoWebService" />
>>
>> <bean id="mockDAO" class="com.myco.MockDAO" />
>>
>> <bean id="mockWebService" class="com.myco.WebServiceImpl">
>>   <property name="dao" ref="mockDAO" />
>> </bean>
>>
>> <jaxws:endpoint
>>   id="mockWebServiceEndpoint"
>>   implementor="#mockWebService"
>>   wsdlLocation="webservice.wsdl"
>>   address="/MockMyCoWebService" />
>
>
>
>
> Julio Arias
> Java Developer
> Roundbox Global : enterprise : technology : genius
> ---------------------------------------------------------------------
> Avenida 11 y Calle 7-9, Barrio Amón, San Jose, Costa Rica
> tel: 404.567.5000 ext. 2001 | cell: 11.506.849.5981
> email: julio.arias@rbxglobal.com | www.rbxglobal.com
> ---------------------------------------------------------------------
>




Julio Arias
Java Developer
Roundbox Global : enterprise : technology : genius
---------------------------------------------------------------------
Avenida 11 y Calle 7-9, Barrio Amón, San Jose, Costa Rica
tel: 404.567.5000 ext. 2001 | cell: 11.506.849.5981
email: julio.arias@rbxglobal.com | www.rbxglobal.com
---------------------------------------------------------------------