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

Key: XFIRE-78
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Dan Diephouse
Reporter: Brian Bonner
Votes: 0
Watchers: 0
Operations

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

http://host/pathToService?wsdl will not return WSDL on IBM HTTP Server on AS/400

Created: 31/May/05 02:44 PM   Updated: 01/Jun/05 07:19 PM
Component/s: Core
Affects Version/s: 1.0-M4
Fix Version/s: 1.0-M5

Time Tracking:
Not Specified

File Attachments: 1. Text File XFireServletControllerPatch.txt (2 kb)
2. Text File XFireServletTestPatch.txt (1 kb)

Environment: IBM HttpServer (Apache) probably other apache servers as well


 Description  « Hide
Issuing GET request for wsdl using http://host/pathToService?wsdl will not return WSDL document when run on IBM Http Server (Apache).

Created a patch to XFireServletController to check for ?wsdl using getQueryString vs. getParameter. This request is also now not case sensitive.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Brian Bonner - 31/May/05 02:45 PM
Added updated TestCase

Brian Bonner - 31/May/05 03:06 PM
Created attached patch.

Ralf Schaeftlein - 01/Jun/05 05:33 PM
with this fix you avoid getting the service invoked!

was:

if (request.getQueryString() == null ||
request.getQueryString().trim().equalsIgnoreCase("wsdl"))

better:

if (request.getQueryString() != null &&
request.getQueryString().trim().equalsIgnoreCase("wsdl"))

because the service is normally invoked by a url without a querystring.


Brian Bonner - 01/Jun/05 07:19 PM
Ralf, you're correct.