cxf—spring,webservice接口调用问题
this.scmPortalTaskService.tosysnSysAndRoleAndUser(userId,workflowId);this.scmPortalTa...
this.scmPortalTaskService.tosysnSysAndRoleAndUser(userId, workflowId);
this.scmPortalTaskService.syncRoleAndSystem(userId,workflowId);
this.scmPortalTaskService.tobacklog(key, userId, workflowId, title);
这三个接口连续调用,都是以下面的方式调用的
JaxWsDynamicClientFactory factory = JaxWsDynamicClientFactory.newInstance();
Client client1 = factory.createClient("http://192.168.0.1:8088/services/sysroleAndUser?wsdl");
报错
javax.xml.bind.JAXBException: com.gcable.gbm.webservice.server.PutBacklogTOPortal is not known to this context
Caused by: javax.xml.bind.JAXBException: com.gcable.gbm.webservice.server.PutBacklogTOPortal is not known to this context
若只调用一个接口就没错 展开
this.scmPortalTaskService.syncRoleAndSystem(userId,workflowId);
this.scmPortalTaskService.tobacklog(key, userId, workflowId, title);
这三个接口连续调用,都是以下面的方式调用的
JaxWsDynamicClientFactory factory = JaxWsDynamicClientFactory.newInstance();
Client client1 = factory.createClient("http://192.168.0.1:8088/services/sysroleAndUser?wsdl");
报错
javax.xml.bind.JAXBException: com.gcable.gbm.webservice.server.PutBacklogTOPortal is not known to this context
Caused by: javax.xml.bind.JAXBException: com.gcable.gbm.webservice.server.PutBacklogTOPortal is not known to this context
若只调用一个接口就没错 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询