I'm a bit confused.    You have defined clients which are used to invoke 
services running on servers, yet your question is about defining them in the 
cxf-servlet which is for setting up servers.    Thus, I'm confused about what 
you are trying to do.    Normally, the cxf-servlet would contain 
jaxws:endpoint things for defining services.


Dan


On Sat December 12 2009 12:05:02 pm Christopher Cheng wrote:
> I have implemented 2 clients with the same address, but different port
>  names
> 
>     <jaxws:client name="{
> http://webservices.mycompany.com/websvc}FarePortType";
>         createdFromAPI="true">
>         <jaxws:dataBinding>
>          <bean class="org.apache.cxf.xmlbeans.XmlBeansDataBinding"/>
>         </jaxws:dataBinding>
>     </jaxws:client>
>     <jaxws:client name="{
> http://webservices.mycompany.com/websvc}RulesPortType";
>         createdFromAPI="true">
>         <jaxws:dataBinding>
>          <bean class="org.apache.cxf.xmlbeans.XmlBeansDataBinding"/>
>         </jaxws:dataBinding>
>     </jaxws:client>
> 
> How could I define them in file cxf-servlet.xml of the server?
> 

-- 
Daniel Kulp
[email protected]
http://www.dankulp.com/blog

Reply via email to