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:[EMAIL PROTECTED] 
Sent: Friday, July 27, 2007 9:02 PM
To: [email protected]
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: [EMAIL PROTECTED] | www.rbxglobal.com
---------------------------------------------------------------------

Reply via email to