10,606
社区成员
发帖
与我相关
我的任务
分享
package com.gpic.xfire.impl;
import javax.annotation.Resource;
import javax.jws.WebService;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
import com.gpic.underwrite.ExecutionService;
import com.gpic.xfire.GpicService;
@Service
@WebService(serviceName = "gpicService" , endpointInterface = "com.gpic.xfire.GpicService")
public class GpicServiceImpl implements GpicService{
@Resource
ExecutionService executionService;
public String proposalValidationString(String data) throws Exception {
if(data == null || "".equals(data)) {
return "XML错误";
}
String resultXML = executionService.underwrite(data);
return resultXML;
}
}
package com.gpic.xfire.impl;
import javax.annotation.Resource;
import javax.jws.WebService;
import com.gpic.underwrite.ExecutionService;
import com.gpic.xfire.GpicService;
@WebService(serviceName = "gpicService" , endpointInterface = "com.gpic.xfire.GpicService")
public class GpicServiceImpl implements GpicService{
@Resource
ExecutionService executionService;
public String proposalValidationString(String data) throws Exception {
if(data == null || "".equals(data)) {
return "XML错误";
}
System.out.println("executionService:"+executionService);
String resultXML = executionService.underwrite(data);
return resultXML;
}
}