You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Willem Jiang <ni...@iona.com> on 2007/10/09 03:54:02 UTC

Re: deploy webservices

Hi,

You can't reuse the service factory for two jaxws endpoints.
When the service factory create the endpoint, it will not create a new 
service model if the service factory's model is already there. 

You need create a new service factory for endpoint to use.

Willem.

Olvera Segura Jaime Ivan wrote:
> Hi i have a little problem
>
>
> I have to publish to webservices, i´m using aegis and 2.0.1 release, the problem is that a only see one wsdl definition, I only get the first one for both, is there something wrong in configuration??
>
> this is my spring.xml:
>
> Thanks in advance
>
>
> <jaxws:endpoint
>
> 	id="publicador"
>
> 	implementor="#publicadorWebService"
>
> 	address="/servicio">
> 	 <jaxws:properties>
>       <entry key="mtom-enabled" value="true"/>
>     </jaxws:properties>
>
>      <jaxws:serviceFactory>
>    	<ref bean='jaxws-and-aegis-service-factory' />
>   	</jaxws:serviceFactory>
> 	</jaxws:endpoint>
>
>
>
> 	<jaxws:endpoint
>
> 	id="operabasepublicador"
>
> 	implementor="#operaBaseWebService"
>
> 	address="/operabase">	 
>
>      <jaxws:serviceFactory>
>    	<ref bean='jaxws-and-aegis-service-factory' />
>   	</jaxws:serviceFactory>
> 	</jaxws:endpoint>
>
>
>
> .
>
>