Is there a way to modify the hostname that appears in the WSDL's
soap:address location?

I've been using a version of CXF built off of svn revision 551746 and it
appears that CXF determines what hostname to show based the HTTP headers (if
I request http://localhost:10000/MyService?wsdl, the WSDL shows the
soap:address location as localhost, but if I request
http://my.hostname.com:10000/MyService?wsdl
then I get my.hostname.com).

After upgrading to version 2.0.2, we're seeing the soap:address location
always set to "localhost".  In my CXF setup code I'm setting the address of
the JaxWsServerFactoryBean to "http://localhost:10000/MyService";.  Maybe
there's another way to set the address to a specific port and location
without specifying an explicit hostname so it can default to the machine's
fully-qualified domain name?

Any idea what could have changed or how to configure this?

Thanks,
Mike

-- 
Michael Matczynski
e: [EMAIL PROTECTED]
c: 617-388-4606
w: www.zingtech.com
w: www.catchwine.com

Reply via email to