0

able to import all the wsdl files with Jakarta imports, but getting issues when testing the ending where it internally calls wsdl files, getting error com.sun.xml.ws.streaming.XMLstreamingWxception: XML reader error: Attribute limit (500) exceeded, How to fix this?

1
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. Commented May 15 at 19:48

1 Answer 1

0

Error occurs because xmlparser has its own limit of attributes in xml body.

To solve this problem you can increase value by setting parameter value using :

System.setProperty("com.sun.xml.ws.xmlstream.attributeLimit", "1000");

or set this value in application.properties file:

com.sun.xml.ws.xmlstream.attributeLimit=1000
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.