On Tuesday 17 August 2010 12:31:59 am Glen Mazza wrote: > Hello, the below page gives a programmatic way of changing the SOAP > client's endpoint URL using BindingProvider.ENDPOINT_ADDRESS_PROPERTY: > > https://cwiki.apache.org/confluence/display/CXF20DOC/Client+HTTP+Transport+ > %28including+SSL+support%29 > > Question: Is there a way to do the same using the cxf.xml file? (XML > configuration). The link above describes a "Host" property that can be > assigned to the Client element -- is that the same thing as > ENDPOINT_ADDRESS_PROPERTY?
No, the "Host"property is just the value stuck in the Host HTTP header. Not needed 99% of the time (or more). In general, you can set the endpoint property of org.apache.cxf.request.uri to the URL you want to hit using the jaxws:properties child element of jaxws:client. I believe that will work. Not 100% sure though. -- Daniel Kulp [email protected] http://dankulp.com/blog
