我在Spring的配置文件里配置了webservice的客户端。
http://10.128.3.121:8080/wggbi/ws/ws/WGGReportService?wsdl
http://action.webapp.bi.mpc.com/
com.mpc.testWebService.test.WsService
WGGReportImplService
org.apache.axis.client.ServiceFactory
需要调用他的一个方法,参数是一个实体对象,实现的时候老是报出:
java.io.IOException: No serializer found for class com.mpc.testWebService.test.biQtlD in registry org.apache.axis.encoding.TypeMappingDelegate@775121
请指点下,怎样序列化这个实体,使之能与wsdl上的biQtlD 类对应。谢谢了
类似:
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
qname="ns1:book"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
type="java:tests.book"
xmlns:ns1="http://127.0.0.1:8080/axis/services/mShop"/>