axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sagara Gunathunga (Commented) (JIRA)" <j...@apache.org>
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

    [ https://issues.apache.org/jira/browse/AXIS2-5157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13123884#comment-13123884
] 

Sagara Gunathunga  commented on AXIS2-5157:
-------------------------------------------

Shameera,

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: https://issues.apache.org/jira/browse/AXIS2-5157
>             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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message