[jboss-jira] [JBoss JIRA] (WFLY-5541) Webservice subsystem abuses attribute values for error handling
Heiko Braun (JIRA)
issues at jboss.org
Mon Oct 19 06:42:00 EDT 2015
Heiko Braun created WFLY-5541:
---------------------------------
Summary: Webservice subsystem abuses attribute values for error handling
Key: WFLY-5541
URL: https://issues.jboss.org/browse/WFLY-5541
Project: WildFly
Issue Type: Bug
Components: Web Services
Reporter: Heiko Braun
Assignee: Alessio Soldano
See for instance attribute request-count. It's of type integer but reports an error message (when statistics not enabled). Please use the DMR headers to indicate failed operations. This is a bad hack.
{noformat}
[standalone at localhost:9990 /] /deployment=jboss-helloworld-ws.war/subsystem=webservices/endpoint=*:read-resource(include-runtime=true)
{
"outcome" => "success",
"result" => [{
"address" => [
("deployment" => "jboss-helloworld-ws.war"),
("subsystem" => "webservices"),
("endpoint" => "jboss-helloworld-ws%3Aorg.jboss.as.quickstarts.wshelloworld.HelloWorldServiceImpl")
],
"outcome" => "success",
"result" => {
"average-processing-time" => "WFLYWS0037: No metrics available",
"class" => "org.jboss.as.quickstarts.wshelloworld.HelloWorldServiceImpl",
"context" => "jboss-helloworld-ws",
"fault-count" => "WFLYWS0037: No metrics available",
"max-processing-time" => "WFLYWS0037: No metrics available",
"min-processing-time" => "WFLYWS0037: No metrics available",
"name" => "org.jboss.as.quickstarts.wshelloworld.HelloWorldServiceImpl",
"request-count" => "WFLYWS0037: No metrics available",
"response-count" => "WFLYWS0037: No metrics available",
"total-processing-time" => "WFLYWS0037: No metrics available",
"type" => "JAXWS_JSE",
"wsdl-url" => "http://localhost:8080/jboss-helloworld-ws/HelloWorldService?wsdl"
}
}],
"response-headers" => {"process-state" => "reload-required"}
}
{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list