It's the client port which defined in the wsdl, if you didn't change the way to specify the client port.

James


Hycel Taylor wrote:
Hello,

Using the simple server example, I would like to monitor web service request
and responses using  tcpmon.  The tcpmon application  needs to know three
things in order add a listener:

   - target hostname: 127.0.0.1
   - target Port #: 9000
   - Listen Port#: ?

How may I determine what port number cxf is using in its default
configuration?

protected Server() throws Exception {
    // START SNIPPET: publish
    System.out.println("Starting Server");

    HelloWorldImpl implementor = new HelloWorldImpl();
    String address = "http://localhost:9000/helloWorld";;
    Endpoint.publish(address, implementor);
    // END SNIPPET: publish
  }

Thanks,
Hycel

Reply via email to