Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.2.1
-
None
-
None
-
Apache Tomcat 5.5.9 on WinXP Professional SP2, Suse linux 9.1 and Suse linux 9.3
Description
If a hand written wsdl file is deployed with the <wsdlFile>/MyService.wsdl</wsdlFile> element in the wsdd file for a service, axis sometimes changes the <soap:address location="......"/> element of the wsdl file.
For example, I have a service is a deployed at http://mips.gsf.de/ws/biorsws/services/BiorsAdvancedQueryDocStyle (the name of the webapp is "biorsws"), and with this address specified in the wsdl I have written. When requesting the wsdl with http://mips.gsf.de/ws/biorsws/services/BiorsAdvancedQueryDocStyle?wsdl , Axis will modify the wsdl file, replacing the "mips.gsf.de/ws" with the name and port number of the machine on which the service is deployed, and returning a wsdl with address http://machine_name:8080/biorsws/services/BiorsAdvancedQueryDocStyle.
This is not a problem when internal clients are generated based on the wsdl, as the machine name is recognised by clients, but external clients, which will not recognise the machine name cannot be correctly generated based on the modified wsdl.
Some users have stated that this modification of the wsdl file by axis is useful for their projects, but in other cases it is a problem. It would therefore be desirable to be able to specify whether a hand written wsdl file deployed via the wsdd should not be modified by axis or whether is should be returned exactly as written.