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 Answer
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