You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by jim ma <ma...@gmail.com> on 2009/12/14 04:53:05 UTC
Re: how to define jaxws:endpoint with same address but multiple
ports?
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
<ch...@gmail.com> 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?
>