What do you mean the same address ? CXF publishes the service with the following pattern address : http://localhost:port/mycontext/services/fareservice. Look at this link for details : http://cxf.apache.org/docs/servlet-transport.html
Cheers Jim Ma On Sun, Dec 13, 2009 at 1:05 AM, Christopher Cheng <[email protected]> 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? >
