javaee / metro-jaxws-commons

Metro has been contributed to Eclipse Foundation. This repository is for legacy review only. Please refer to the Eclipse EE4J Metro project for the very latest
https://eclipse-ee4j.github.io/metro-wsit/
Other
10 stars 9 forks source link

REPLACE_WITH_ACTUAL_URL not replaced when generating from local wsdl file #31

Closed glassfishrobot closed 13 years ago

glassfishrobot commented 15 years ago

wsgen generates a wsdl containing REPLACE_WITH_ACTUAL_URL as soap address. When this wsdl is used by wsimport, the generated client code does not work because it uses that address

What is the recommended practice to handle this? If there is none, can we have a plugin argument that actually replaces that string by a URL that can be given in a profile?

Environment

Operating System: All Platform: All

Affected Versions

[current]

glassfishrobot commented 15 years ago

Reported by dschulten@java.net

glassfishrobot commented 13 years ago

@lukasj said: This is expected behaviour. REPLACE_WITH_ACTUAL_URL value is replaced by the server during deployment time. Wsimport should then be run against wsdl of deployed service.

There's no way to force wsgen to use some user-defined URL here but what you can do instead is to pass the URL of the running service to wsimport in "-wsdllocation" option

glassfishrobot commented 11 years ago

@lukasj said: closing old and already fixed issues

glassfishrobot commented 7 years ago

This issue was imported from java.net JIRA JAX_WS_COMMONS-31

glassfishrobot commented 13 years ago

Marked as works as designed on Tuesday, October 11th 2011, 2:32:45 am