On Tuesday 07 September 2010 9:26:27 pm bord wrote:
> i imagine the subject is a simple beginner question but i cannot find the
> answer.
> when i use java2ws the port number gets assigned to 9090.
> i checked the entire samples directory and in build.xml i encountered 9000
> for port number.
> 
> i would like to think that the documentation for CXF mentions this but that
> i'm too new to CXF to be able to find it.
> 
> cheers
> bord 

Seems to be burned into the code:

public static final String DEFAULT_ADDRESS = "http://localhost:9090";;


String address = ToolConstants.DEFAULT_ADDRESS + "/" 
   + endpointInfo.getName().getLocalPart();

The only way to override it is to use the -address flag on the java2ws command 
line.

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

Reply via email to