Change default schemaLocation of wsdl when deploying a web service

Hi,

When I deploy a web service, and then view the schemaLocation attribute of the wsdl, it points to a file with the machine name and not the url for my server. I have tried changing in config files all of the instances that point to my machine name instead of my url. This has not changed what gets set for schemaLocation when I deploy the web service. I also tried creating a new virtual server but I am unsure what value to put for the hostName. I tried my url and that did not seem to work. Does anyone have any ideas of to change the value that gets written to schemaLocation attribute when deploying a web service?

Could anyone point me to documentation for changing a domains' hostName or in other words, the url used to access it? I know when I point my browser to my server's url instead of the machine name for the admin console, things seem to work. But then I run into problems such as above, where certain urls do not get set properly.

If there is a way to set this when installing Sun ONE AS through the wizard, please let me know because I have not added much to my install and could reinstall the software.

Thanks,

Scott

[1176 byte] By [scottpeza] at [2007-11-27 0:59:23]
# 1

I am having this same problem. I don't understand how the app server has been out for a year and there isn't more information about this. I have tried everything I can think of to solve this problem. And I have searched endlessly and posted on all of the forums. I have not received a response on any of them and I cannot find a solution myself. This is very frustrating as the architecture needed to be finalized last Monday and I didn't discover this problem until last friday and now I can't find a solution.

Some of the boxes return a schemaLocation="http://localhost.locadomain" and others return an domain name that can't be found. In anycase they should return the information provided in the request. This is how sjsas 9.1b2 works, but since its beta I can't recommend it yet (although I'd like to).

I really wish some one could answer this (seemingly) simple problem.

Thanks very much,

Geoff

gcruscoea at 2007-7-11 23:33:41 > top of Java-index,Application & Integration Servers,Application Servers...