|
|
@ -1,24 +1,16 @@
|
|
|
|
package com.ann.demo.controller;
|
|
|
|
package com.ann.demo.controller;
|
|
|
|
|
|
|
|
|
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
|
|
|
|
|
import com.alibaba.fastjson.serializer.SerializerFeature;
|
|
|
|
|
|
|
|
import com.ann.demo.entity.constant.AliasName;
|
|
|
|
|
|
|
|
import com.ann.demo.entity.constant.InterfaceName;
|
|
|
|
import com.ann.demo.entity.constant.InterfaceName;
|
|
|
|
import com.ann.demo.entity.filing.MessageSubordinate;
|
|
|
|
|
|
|
|
import com.ann.demo.entity.filing.dto.MessageDto;
|
|
|
|
|
|
|
|
import com.ann.demo.entity.filing.dto.PatientMainDto;
|
|
|
|
|
|
|
|
import com.ann.demo.service.AnalysisService;
|
|
|
|
import com.ann.demo.service.AnalysisService;
|
|
|
|
import com.ann.demo.service.CollectCheckService;
|
|
|
|
import com.ann.demo.service.CollectCheckService;
|
|
|
|
import com.ann.demo.utils.XMLUtils;
|
|
|
|
import com.ann.demo.service.JAXDynamicClientFactory;
|
|
|
|
import org.apache.cxf.endpoint.Client;
|
|
|
|
import org.apache.cxf.endpoint.Client;
|
|
|
|
import org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory;
|
|
|
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
|
|
|
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
import java.util.Date;
|
|
|
|
|
|
|
|
import java.util.Objects;
|
|
|
|
import java.util.Objects;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
@ -43,7 +35,7 @@ public class TestController {
|
|
|
|
/*@ResponseBody*/
|
|
|
|
/*@ResponseBody*/
|
|
|
|
@RequestMapping("/haha")
|
|
|
|
@RequestMapping("/haha")
|
|
|
|
public String cc(InterfaceForm interfaceForm) {
|
|
|
|
public String cc(InterfaceForm interfaceForm) {
|
|
|
|
JaxWsDynamicClientFactory dcf = JaxWsDynamicClientFactory.newInstance();
|
|
|
|
JAXDynamicClientFactory dcf = JAXDynamicClientFactory.newInstance();
|
|
|
|
Client client = dcf.createClient(interfaceForm.getUrl());
|
|
|
|
Client client = dcf.createClient(interfaceForm.getUrl());
|
|
|
|
Object[] objects = new Object[0];
|
|
|
|
Object[] objects = new Object[0];
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|