[
https://issues.jboss.org/browse/ARQ-322?page=com.atlassian.jira.plugin.sy...
]
Dan Allen commented on ARQ-322:
-------------------------------
Aha!!!
The REST API no longer allows you to request XML as a response type. If you change the
"accepts" from MediaType.APPLICATION_XML to MediaType.APPLICATION_JSON,
you'll see that it's trying to return this string:
{"message":"","command":"server","exit_code":"SUCCESS","extraProperties":{"commands":[],"methods":[{"name":"GET"},{}],"childResources":{"server":"http:\/\/localhost:4848\/management\/domain\/servers\/server\/server"}}}
Can you gut out the XML parsing and replace with JSON parsing? Then we'll be in good
shape.
Btw, I'm pretty sure the admin REST API has always support JSON responses. For some
reason, Jason picked XML when we wrote the first prototype.
Implement a GlassFish 3.1 managed container adapter
---------------------------------------------------
Key: ARQ-322
URL:
https://issues.jboss.org/browse/ARQ-322
Project: Arquillian
Issue Type: Feature Request
Components: GlassFish Containers
Affects Versions: glassfish_1.0.0.CR2
Reporter: Dan Allen
Assignee: Vineet Reynolds
To round out the GlassFish support, we need a managed container adapter (see the JBoss AS
managed container).
--
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