[jboss-jira] [JBoss JIRA] (WFLY-5541) Webservice subsystem abuses attribute values for error handling
Brian Stansberry (JIRA)
issues at jboss.org
Mon Oct 19 09:58:00 EDT 2015
[ https://issues.jboss.org/browse/WFLY-5541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119484#comment-13119484 ]
Brian Stansberry commented on WFLY-5541:
----------------------------------------
Please see the description of https://issues.jboss.org/browse/WFCORE-831 for how metrics should be handled in the case where runtime services are not available. Either myself or [~kabirkhan] can explain if anything is unclear.
> 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