I have an application where I want to use JaxWsPortProxyFactoryBean to create a JaxWSPort for me so I can talk to a web service. The problem is that the address of the webservice is not known when the application is starting up, so I cannot hardcode this in the spring xml file. I can configure the JaxWsPortProxyFactoryBean programmatically, but then when I call getObject(), it returns to me a proxy and not an object that implements my business interface. I am sure this has got to be a common problem in spring, but I don't know how to solve it. Thanks.