You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2004/02/25 09:20:45 UTC

DO NOT REPLY [Bug 27210] New: - Generated wsdl links to Axis services in SimpleAxisServer are invalid

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27210>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27210

Generated wsdl links to Axis services in SimpleAxisServer are invalid

           Summary: Generated wsdl links to Axis services in
                    SimpleAxisServer are invalid
           Product: Axis
           Version: current (nightly)
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Basic Architecture
        AssignedTo: axis-dev@ws.apache.org
        ReportedBy: gawor@mcs.anl.gov


When the SimpleAxisServer generates a page containing a list of all the 
deployed services the wsdl links are invalid. They point to /services/<service>?
wsdl but should to /axis/services/<service>?wsdl.

It's a problem in SimpleAxisWorker.java:

                String filePart = fileName.toString();
                if (filePart.startsWith("axis/services/")) {
                    msgContext.setTargetService(filePart.substring(14));
                }

vs.

                           sb.append(" <a href=\"services/");
                           sb.append(sd.getName());

Probably a nice constant should be defined for this.