Eclipse Generated Web Service Client Extremely Slow

后端 未结 4 422
时光说笑
时光说笑 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 05:01

    1) Verify that the C# and Java clients are sending exactly the same requests to the server. If you're using Jetty, turning on request logging would probably give you the data that you need.

    2) Once the SAX parser starts running on the client, it's going to make callbacks that will wind up -- directly or indirectly -- invoking methods in your generated client. You should be able to set breakpoints at the beginning and end (and/or returns) of the generated client methods, and use these to determine where the delay[s] happen[s].

    (BTW, in the SAX API, URLs such as http://xml.org/sax/properties/lexical-handler are used locally to identify property names; nothing is going to look for anything at that address. See http://xerces.apache.org/xerces2-j/properties.html for more info.)

提交回复
热议问题