Eclipse Generated Web Service Client Extremely Slow

后端 未结 4 424
时光说笑
时光说笑 2021-01-12 04:21

A little up front info:

I have a SOAP service (hosted using JAX-WS (Endpoint class), but I don\'t think that is important).

I can connect to and use the web

4条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-12 04:56

    I got the same problem and solved it modifying the http version.

    A simpler way to to that is, inside the stub class, calling the setProperty method on the Call instance:

    _call.setProperty(MessageContext.HTTP_TRANSPORT_VERSION,HTTPConstants.HEADER_PROTOCOL_V11);
    

提交回复
热议问题