axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sagara Gunathunga (Commented) (JIRA)" <>
Subject [jira] [Commented] (AXIS2-5157) Able to access wsdl even if the "WSDL" is in uppercase.
Date Mon, 10 Oct 2011 04:18:30 GMT


Sagara Gunathunga  commented on AXIS2-5157:


I noticed your patch is based  on adding "WSDL"  in several places , what if someone ask to
support "Wsdl" in future ?  My idea is adding more string entries here is not the ideal solution
instead we need to redesign this logic.   

At the moment it uses uri.endsWith("?type") to identify meta data requests such wsdl, wsdl2,
xsd etc. Here based on first occurrence of '?' character you can retrieve query portion of
the uri and then you can use equalsIgnoreCase() method to identify mata data requests. 
> Able to access wsdl even if the "WSDL" is in uppercase.
> -------------------------------------------------------
>                 Key: AXIS2-5157
>                 URL:
>             Project: Axis2
>          Issue Type: Improvement
>          Components: transports
>    Affects Versions: 1.7.0
>            Reporter: Shameera Rathnayaka
>            Assignee: Shameera Rathnayaka
>            Priority: Minor
>             Fix For: 1.7.0
>         Attachments: AXIS2-5157.patch
> In Axis 1, we could access a WSDL even if the "WSDL" is in uppercase. But in Axis 2,
we cannot access WSDL with upper case, It gives the following response in the browser. 
> <soapenv:Reason><soapenv:Text xml:lang="en-US">The endpoint reference (EPR)
for the Operation not found is /axis2/services/<service_name>?WSDL and the WSA Action
= null. If this EPR was previously reachable, please contact the server administrator.</soapenv:Text></soapenv:Reason>

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message