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 ax...@ws.apache.org on 2004/10/05 14:20:32 UTC

[jira] Commented: (AXIS-1385) Defined endpointUrl will not be used inlist of deployed services

The following comment has been added to this issue:

     Author: Jayachandra Sekhara Rao Sunkara
    Created: Tue, 5 Oct 2004 5:19 AM
       Body:
I coded a patch for this.
As rightly pointed out by Peter, there is some amount of hardcoding done in reportAvailableServices() method. Because of this hardcoding even if the deployment of the service (fooService) is done using a <endpointURL> tag at location other than "/axis/services/" while reporting list of deployed services Axis shown 'wsdl' link is pointing to http://.../axis/services/fooService?wsdl . I tried to look into the service description of each service and figure out the endpointURL of service and use it in the anchor tag href attribute value. In situations when <endpointURL> tag is null (i.e. user didn't use it in his deploy.wsdd) the defaultBaseURL .../axis/service/... would be used.
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXIS-1385?page=comments#action_53710

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-1385

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1385
    Summary: Defined endpointUrl will not be used inlist of deployed services
       Type: Bug

     Status: Unassigned
   Priority: Minor

    Project: Axis
 Components: 
             Basic Architecture
   Versions:
             1.2 Beta

   Assignee: 
   Reporter: Peter MH

    Created: Wed, 9 Jun 2004 2:41 AM
    Updated: Tue, 5 Oct 2004 5:19 AM
Environment: java full version "1.4.1_05-b01", Tomcat 5.0.25

Description:
I have a service where I define in deploy.wsdd a special endpointUrl (http://..../axis/protected/...). In the list of deployed services my service appears but with the Axis standard baseUrl (../axis/services). This is because in AxisServlet.repoprtAvailableServices() in line 455
        String baseURL = getWebappBase(request)+"/services/";
the baseUrl will be assumed to be valid for all services. The configuration of the services will not be checked.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira