How to get JAX-WS response HTTP status code

前端 未结 2 2048
傲寒
傲寒 2021-01-21 22:56

When calling a JAX-WS endpoint, how can I get the HTTP response code?

In the sample code bellow, when calling the web service at port.getCustomer(customerID);

2条回答
  •  耶瑟儿~
    2021-01-21 23:24

    The below post is similar to your question. Hopefully it should work for you

    https://stackoverflow.com/a/35914837/4896191

提交回复
热议问题