Problems related to eclipse web service calling (3)

Source: Internet
Author: User

In the afternoon, I asked Wang Yonggang to write "wscaller: General Web service client and test tool" for a test, which also encountered the same problem. It does not appear that the problem lies in the processing of web service calls. Starting with saxparseexception, the solution is found temporarily.

Originally due to Java's extended entity restrictions, the default value is 64 KB. You need to manually modify JVM parameters.

1. In eclipse, right-click the project and choose "Run... ";
2. Select" arguments "in the configuration window, and enter" -dentityexpansionlimit = 100000 ", return the result after successful running.


3. Although the problem is solved temporarily, when the returned data volume is increased, Program reports a memory overflow error. However, when a. Net client is used to access the Web service, larger data can be returned normally. In this regard, Java is indeed not as convenient as. net. If anyone knows the reason, please give me some advice.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.