Am Mittwoch, den 24.10.2007, 08:38 -0500 schrieb Asleson, Ryan: > Hello, > > I'm a first time user of CXF. I've used other web service tools in the > past and am now looking at using CXF. I have a series of questions that > I hope somebody can answer for me: > > 1. I used the WSDL2Java tool to generate a web service client from a > WSDL. I noticed that none of the generated code contains the web > service endpoint URL. Where does this come from? Am I supposed to > supply it programmatically at runtime? If so, how? > >
Besides Willem's earlier answers, #4 in my notes below was what I was able to determine: http://www.jroller.com/gmazza/date/20071019#notes > 2. Related to #1, is there a way to define, programmatically, the web > service endpoint URL? We are a web service consumer, but the web > service provider has a testing and a production environment. I need to > be able to specify, at runtime, the endpoint to use, rather than having > to specify it at compile time. Like many organizations, we promote code > through various testing environments to a production environment, and > I'd hate to have to specify a web service endpoint URL at compile time. >
