History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: XFIRE-74
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Dan Diephouse
Reporter: Mark Ensign
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
XFire

Using upper case WSDL parameter causes an exception in the XFireServletController

Created: 09/May/05 11:40 AM   Updated: 31/May/05 02:46 PM
Component/s: Core
Affects Version/s: 1.0-M4
Fix Version/s: 1.0-M5

Time Tracking:
Not Specified


 Description  « Hide
The XFireServletController currently does not handle requests for WSDL if the parameter is not lowercase.

Example:

http://mycompany.com/services/WebServiceOne?wsdl // Works
http://mycompany.com/services/WebServiceOne?WSDL // Throws an exception

See line 100 in http://cvs.xfire.codehaus.org/viewrep/xfire/xfire/xfire-core/src/main/org/codehaus/xfire/transport/http/XFireServletController.java?r=1.13

I noticed while testing, because AXIS generates a test case using a captial parameter ("?WSDL") which caused an exception in the XFireServletController.

This is probably no big deal, but it wouldn't hurt to check for both a lower & upper case parameter.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Brian Bonner - 31/May/05 02:37 PM
When submitting a request from a browser through the IBM HTTP Server (Apache), I noticed that ?wsdl would not return a proper response. However, ?wsdl=true worked fine. Attached a patch to the controller to look at the QUERY_STRING of the request for "wsdl".

Also attached an updated test case to workaround a shortcoming in HttpUnit.