[
https://issues.jboss.org/browse/JBIDE-10947?page=com.atlassian.jira.plugi...
]
Brian Fitzpatrick updated JBIDE-10947:
--------------------------------------
Comment: was deleted
(was: Ok, just found and fixed the bug. My Regex way of testing for valid XML didn't
work in all cases. I've replaced that by simply trying to parse it - if it passes,
then we're good to go and can format it as XML. If not, JSON.
Checked in the fix to trunk for CR1)
Auto-detect and format JSON & XML in WS tester
----------------------------------------------
Key: JBIDE-10947
URL:
https://issues.jboss.org/browse/JBIDE-10947
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: Webservices
Affects Versions: 3.3.0.M5
Reporter: Jonathan Fuerth
Assignee: Brian Fitzpatrick
Labels: new_and_noteworthy
Fix For: 3.3.0.CR1
Attachments: jbide-10947-JSON.jpg, jbide-10947-XML.jpg, xml_output.png
Original Estimate: 0 minutes
Remaining Estimate: 0 minutes
When testing a web service, often the response data will be in JSON or XML format. It
would be great if these could be auto-detected, syntax coloured, and (optionally?)
reformatted and indented.
Otherwise, I'm always going to have to copy the response data and paste it into
jsonlint.com. :)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira