To solve this problem, turn off the field verification function
1. Spring framework:
Add the following configuration in the configuration file
<cxf:properties>
<entry key="set-jaxb-validation-event-handler" value="false"/>
</cxf:properties>
2. Springboot framework:
Add @ endpointproperties annotation on WebService implementation class
@WebService(
targetNamespace = "http://ws.test.com/",
serviceName = "demoWebService",
endpointInterface = "com.test.ws.DemoWebService")
@EndpointProperties({@EndpointProperty(key = "set-jaxb-validation-event-handler", value ="false")})
@Configuration
public class FaultOrderWebServiceImpl implements DemoWebService {
}
Read More:
- The value of adding two fields of MySQL
- Solution of flash screen caused by OpenGL in MFC environment
- Caused by: java.net.SocketException : connection reset or caused by: java.sql.SQLRecoverableException solve
- Solution to “internal error 2738” reported by Cisco * * client installation
- The solution of flicker and no refresh caused by OpenGL + MFC
- Solution to page scroll bar failure caused by opening secondary spring frame in Ant Design modal form
- Three ways of adding cookie by scratch
- Encapsulation of adding, deleting and modifying database by JDBC
- Adding prefixes to file names in batch by shell under mac
- Error reported by nodejs server of CentOS system: solution to cannot find module ‘jQuery’
- Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing a block collection
- Solution of 500 internal server error reported by [SVN] TortoiseSVN
- JQuery is a solution to the disappearance of listening events after adding elements with append
- Caused by: com.android.builder.dexing.DexArchiveBuilderException: Failed to process D:\….\0.jar
- Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException
- Exception on start hive: caused by: java.net.noroutetohostexception: no route to host
- Error message caused by browser plug-in
- Solution to error reporting in Java @ override
- Permission denied error: unable to index file .vs/Trip2015/v15/Server/sqlite3/db.lock fatal: adding
- Solutions to the problem of using sudo caused by Ubuntu’s wrong modification of sudoers