每一 Web 服务端点通过提供端点实施的部署公开。每个端点可以作为部署资源查询。每个 Web 服务端点指定一个 Web 上下文和 WSDL URL。您可以使用管理 CLI 或管理控制台访问这些运行时信息。
/deployment="jaxws-samples-handlerchain.war"/subsystem=webservices/endpoint="jaxws-samples-handlerchain:TestService":read-resource(include-runtime=true)
{
"outcome" => "success",
"result" => {
"average-processing-time" => 23L,
"class" => "org.jboss.test.ws.jaxws.samples.handlerchain.EndpointImpl",
"context" => "jaxws-samples-handlerchain",
"fault-count" => 0L,
"max-processing-time" => 23L,
"min-processing-time" => 23L,
"name" => "TestService",
"request-count" => 1L,
"response-count" => 1L,
"total-processing-time" => 23L,
"type" => "JAXWS_JSE",
"wsdl-url" => "http://localhost:8080/jaxws-samples-handlerchain?wsdl"
}
}
/deployment="jaxws-samples-handlerchain.war"/subsystem=webservices/endpoint="jaxws-samples-handlerchain:TestService":read-resource(include-runtime=true)
{
"outcome" => "success",
"result" => {
"average-processing-time" => 23L,
"class" => "org.jboss.test.ws.jaxws.samples.handlerchain.EndpointImpl",
"context" => "jaxws-samples-handlerchain",
"fault-count" => 0L,
"max-processing-time" => 23L,
"min-processing-time" => 23L,
"name" => "TestService",
"request-count" => 1L,
"response-count" => 1L,
"total-processing-time" => 23L,
"type" => "JAXWS_JSE",
"wsdl-url" => "http://localhost:8080/jaxws-samples-handlerchain?wsdl"
}
}
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow